Skip to content

Mael-Le-Garrec/opencarbumap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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