Le 14/01/2025 à 19:59, Even Rouault via gdal-dev a écrit :
Actually thinking that there isn't just update, but also pure creation.
2 potential options for that one:
- either just completely remove the Create() implementation of
FileGDB. Slightly backwards incompatible as users will have to change
in their code their "FileGDB" string to "OpenFileGDB"
- or make it just a shim that forwards the call to the OpenFileGDB driver
I've gone through the shim approach for Open(update=1) and Create(). The
OpenFileGDB driver is registered before the FileGDB one, so in update
mode QGIS would already use the OpenFileGDB one. I've also added the
CREATE_MULTIPATCH=YES layer creation option in the OpenFileGDB driver
that was AFAICS the only little piece missing. So all in all nobody
should notice the trick.
Close to 8000 lines of code full of hacks gone in
https://github.com/OSGeo/gdal/pull/11662 (last 2 commits). Hooray!
--
http://www.spatialys.com
My software is free, but my time generally not.
Butcher of all kinds of standards, open or closed formats. At the end, this is
just about bytes.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev