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

gdf.geometry.__geo_interface__ #5

Open AdrianKriger opened 2 years ago

AdrianKriger commented 2 years ago

With the Interactive.html to go directly from a gdf to pydeck try:

layer = pydeck.Layer(
    'GeoJsonLayer',
    data=gdf.geometry.__geo_interface__,
    pickable=True,
)
AdrianKriger commented 2 years ago

Does not seem possible with extruded polygons. Districts-> interactiveOnly park layer can.

I'll leave this open.