Skip to content

romankaravia/osm-charging-station-completeness

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Analyzing OSM charging stations

To use:

  1. Set up your PostGIS DB credentials by copying the .env_template to .env and fill out its contents:
cp .env_template .env
vi .env
# Fill out the DB credentials
  1. Install requirements:
pip install -r requirements.txt
  1. Download (& potentially merge) pbfs (you can pass a comma-delimited list of download links:
python main.py compile_pbfs --pbf-urls="https://download.geofabrik.de/europe/luxembourg-latest.osm.pbf"
  1. Create the database
python main.py create_postgis --pbf="data/final.pbf"
  1. Run whatever queries you want (the ones from my OSM blog post are in ./sql)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 30.7%
  • Lua 20.5%
  • Vue 18.5%
  • Shell 13.7%
  • JavaScript 9.5%
  • Dockerfile 5.9%
  • HTML 1.2%