OvertureMaps / overturemaps-py

overture-py
MIT License
137 stars 19 forks source link

overturemaps data to dataframe #29

Closed denironyx closed 3 months ago

denironyx commented 4 months ago

Hi,

I was working with the overturemaps-py project over the weekend and thought a quick start guide for loading the data into a DataFrame would be beneficial for Python users like myself. I was a little bit confused on how to get started until I looked into the codebase.

Here is the link to my script: https://github.com/denironyx/geoapi/blob/main/scripts/overturemaps.ipynb

brad-richardson commented 3 months ago

Hi @denironyx, we now have a wrapper for geopandas, see example notebook here: https://github.com/OvertureMaps/overturemaps-py/blob/main/overturemaps/examples/geopandas_example.ipynb. Does that fit your use case? I think your example actually creates a pyarrow table, not a dataframe.

denironyx commented 3 months ago

yes, it does @brad-richardson! thanks for sharing.