OvertureMaps / overturemaps-py

overture-py
MIT License
123 stars 17 forks source link

Use pyogrio #9

Open jwass opened 5 months ago

jwass commented 5 months ago

Look into pyogrio https://pyogrio.readthedocs.io/en/latest/ instead of the custom geometry writing for geojson/geojsonseq

Needs https://github.com/geopandas/pyogrio/pull/346 to be merged.

kylebarron commented 4 months ago

You could try https://geoarrow.org/geoarrow-rs/python/latest/api/core/io/#geoarrow.rust.core.write_geojson, but I haven't tested it on the nested JSON like what overture has.