How to download OSM data around the world? #PyPSA #138
pz-max
started this conversation in
Show and tell
Replies: 1 comment
-
@euronion FYI |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Steps to follow:
config.default.yaml
to ->config.yaml
config.yaml
:The string you need to insert must be according to the osm_data_config.py. You could for instance, add a country "GB" (Great Britan), region "SAR" (Southern Asian Region), continent "europe", or simply the "world".
The more features you list here, the more time the extraction process needs. There are much more features one could download with this script such as listed on OpenStreetMap. Please add a pull request if you tested more features and be a part of our mission.
~<your path>/pypsa-africa
:This will download the above features for your chosen countries according to the rule: download_osm_data
Note: If you run into an error check if the data is downloaded in
pypsa-africa/data/raw`pypsa-africa/notebooks/0_osm_build_network_plot.ipynb
.This jupyter notebook can be improved to be similar to other notebooks such as
build_renewable_profiles.ipynb
oradd_electricity.ipynb
(without "0" at the beginning). Maybe you want to contribute to make it nice? Known issues "#137".Beta Was this translation helpful? Give feedback.
All reactions