geoarrow / geoarrow-r

Extension types for geospatial data for use with 'Arrow'
http://geoarrow.org/geoarrow-r/
Apache License 2.0
155 stars 6 forks source link

Reading/Writing GeoParquet and GeoParquet schema #48

Open bjyberg opened 5 months ago

bjyberg commented 5 months ago

Hi Dewey,

Thanks for all of your work on this package. We are really stoked to start using it! I was wondering if the package currently has the ability to read/write GeoParquet format. I have been able to read/write parquet files with a geometry from arrow/geoarrow, but on read it seems to ignore the geoparquet metadata, and it doesn't write it when passed to arrow::write_parquet(). Is this the expected behavior and will the GeoParquet spec expected to be supported at some point? This is a feature we are very interested in, and I am very happy to help contribute in any way I can. Please reach out if I can help in anyway. Thanks again for making this package - It is something we've been hoping for for a while!

Cheers, Brayden

paleolimbot commented 5 months ago

I mostly just didn't get there before the first release (but also wanted to make sure that I got this "out there" for the non-GeoParquet use-cases).

Draft PR is here: https://github.com/geoarrow/geoarrow-r/pull/30