OSGeo / gdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
https://gdal.org
Other
4.92k stars 2.56k forks source link

ogr2ogr: fix 'ogr2ogr out.parquet in.gpkg/fgb/parquet -t_srs {srs_def}' optimized code path (3.10.0 regression) #11292

Closed rouault closed 3 days ago

rouault commented 4 days ago

Since 3.10.0, reprojecting from GPKG/FlatGeoBuf/Parquet uses the Arrow optimized code path. But the way we dealt with a temporary array was incorrect when writing to Parquet/Arrow ...

Workaround: add --config OGR2OGR_USE_ARROW_API=NO

coveralls commented 4 days ago

Coverage Status

coverage: 73.704% (+0.003%) from 73.701% when pulling e69c6dfc135048bcf2e49b5175e938f1b412a1e6 on rouault:ogr2ogr_reproject_arrow_compat_to_paruet into 9b5cc408ebfe3fa896ce24fe9a93014e99fea974 on OSGeo:master.