After we update to DataFusion 52 ( #703 ), we get access to Arrow 57, where we have the ability to have our geoarrow.wkb arrays be automatically written to Parquet as Geometry/Geography Parquet types (when adding the "geospatial" feature to the parquet dependency).
This automatically writes statistics for Geometry types but not Geography (non point) types. For this, we'll have to use a feature I added that allows us to override the statistics writer with an implementation that does support computing statistics.
https://github.com/apache/arrow-rs/blob/55ff6eb7885f757f2d8637400f223eb84bb6a500/parquet/src/geospatial/accumulator.rs#L49-L65
After we update to DataFusion 52 ( #703 ), we get access to Arrow 57, where we have the ability to have our geoarrow.wkb arrays be automatically written to Parquet as Geometry/Geography Parquet types (when adding the "geospatial" feature to the parquet dependency).
This automatically writes statistics for Geometry types but not Geography (non point) types. For this, we'll have to use a feature I added that allows us to override the statistics writer with an implementation that does support computing statistics.
https://github.com/apache/arrow-rs/blob/55ff6eb7885f757f2d8637400f223eb84bb6a500/parquet/src/geospatial/accumulator.rs#L49-L65