Pieter Roggemans
Pieter Roggemans
I encountered a function in GEOS, [GEOSWKBReader_setFixStructure_r](https://libgeos.org/doxygen/geos__c_8h.html#a6c6c66ac349741cf9d3a3a79c6d6bb6f) that seems to enable fixing such issues when parsing WKB's. Support to use this could be added to shapely. This seems like a...
Now shapely 2.1 has recently been released, the "fix" option can be used in pyogrio as well. PR to document and test this: https://github.com/geopandas/pyogrio/pull/532
New feature in GDAL 3.11 makes this possible: https://gdal.org/en/latest/development/rfc/rfc106_update_metadata.html
I implemented this in https://github.com/geopandas/pyogrio/pull/559 using the DCAP_UPDATE and DCAP_APPEND flags introduced in GDAL 3.11 and 3.12 respectively. I wonder if a "u" (for update) flag would be useful as...
> That could be useful if we properly document what does it mean. Yes, that's a general difficulty as this can be different for different file formats... but indeed important...
> I think in general our "a" append mode maps to DCAP_UPDATE? So not sure if a separate "u" mode would be useful then Yes, as mentioned above there is...
> (parquet probably shouldn't support any of update or append, though. For GeoJSONseq it is "just" adding lines to the file, but for Parquet that is not possible, since the...
You can normally prepend the filename with ["/vsizip/"](https://gdal.org/user/virtual_file_systems.html#vsizip-zip-archives) to use the virtual filesystem feature of GDAL to do the unzipping. I wonder if there is something wrong with the test...
> This file has been part of the test suite for years and worked :'( Hmm... indeed, I can open it without problems in e.g. QGIS, so apparently the "KML"...
I looked at the impact to make the switch in [geofileops](https://github.com/geofileops/geofileops) and even though my tests there aren't meant to be a full coverage at all to all possible incompatibilities...