pypsa-meets-earth / pypsa-distribution

GNU General Public License v3.0
10 stars 8 forks source link

Download all buildings regardless of the subfeature #11

Open davide-f opened 1 year ago

davide-f commented 1 year ago

Describe the feature you'd like to see

With earth-osm, we are able to download buildings by type, e.g. buildings - apartments. It would be interesting to download all buildings regarding the subfeature. That however requires improvements in earth-osm, see https://github.com/pypsa-meets-earth/earth-osm/issues/42

TomFer97 commented 1 year ago

Totally agree, I'll try to tackle it in these weeks :)

davide-f commented 6 months ago

Update: this is now possible give the update of earth-osm to v0.2.1. The recommended approach is to:

  1. add a rule "download_buildings" and the corresponding script similar to download_osm_data in pypsa-earth to download all buildings. A sample code to do so can be found here
  2. revise the rule clean_earth_osm_data to load the result of the download buildings and process them

FYI @Margherita-Capitani