Skip to content

Mael-Le-Garrec/opencarbumap

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

opencarbumap

This is a map of french gas station. The color of markers depends of prices. There is one layer per fuel.

Data come from french government open data: https://www.prix-carburants.gouv.fr/rubrique/opendata/. This project uses the daily (jour) file.

Example map

Here is an example map: https://hatrix.fr/maps/opencarbumap/map.html

Install

./download_data.sh
python3 read.py
firefox map.html

Regular data download

Government's database is updated everyday at 5am. Thus, data can be downloaded safely at 5:30am each day:

echo "30 5    * * *   hatrix  cd /path/to/dir/ && sh download_data.sh && python3 read.py" >> /etc/crontab

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published