Closed kylebarron closed 6 months ago
Rebasing should solve the failed CI test.
I did the merge, but i have no domain knowledge about this PR
@kylebarron & @pka please update on this PR's path, if it needs more changes, or should be closed or merged
Closing this because it's been (mostly) implemented in https://github.com/geoarrow/geoarrow-rs, with transitive bindings into geozero.
I started to take a stab at this to resolve https://github.com/georust/geozero/issues/37 but ran into a few issues/questions:
process_geoarrow_feature_chunk
in the geoarrow mod, because the parquet reader's result is automatically geoarrow (of the wkb variant). In theory we could implementGeozeroDatasource
for geoarrow directly as well to convert from an arrow table, but that might be less useful.GeozeroGeometry
in addition toGeozeroDatasource
, becauseGeozeroGeometry
'sprocess_geom
only provides a non-mutable reader, and the parquetFileReader
needed a mutable reference. Or maybe I'm missing something there.Array
trait objects, so we need to do downcasting to get values out. Is it possible to do that downcasting outside of the loop so that we don't have to downcast on every iteration?