AdrianKriger / osm_LoD1_3DCityModel

LoD1 3D City Model from OpenStreetMap contributions and raster DEM
https://adriankriger.github.io/osm_LoD1_3DCityModel/
MIT License
8 stars 1 forks source link

less .geojson #18

Open AdrianKriger opened 2 years ago

AdrianKriger commented 2 years ago

Going from overpass to a .geojson without the intermediary (original and projected) to the final (would we want to keep one?) might be helpful. Have a look at:

shapes_with_props = osm2geojson.json2shapes(json)
# >> [ { "shape": <Shapely-object>, "properties": {'type': 'relation' | 'node' ...,'tags': { ... },...}}, ... ]

to parse: overpass json -> geopandas -> process -> (final saved) .geojson. So instead of having three / two we'll have one.