Simon,
no, there's no way currently to work around your use case, but I feel we
should do something to support it. Please file an enhancement request at
https://github.com/OSGeo/gdal/issues/new?template=20_feature_request.yml
with the below information
Even
Le 10/02/2025 à 21:34, Simon Norris via gdal-dev a écrit :
Hi,
I'd like to read an OpenFileGDB directly with ogr via /vsicurl//vsizip, but the file
is named <file>.zip
Is there a config option I'm missing that will tell ogr that this is a valid
zipped OpenFileGDB, or do I have to rename the file?
$ ogrinfo
/vsizip//vsicurl/https://maps.kamloops.ca/OpenData/zipfiles/ParksGDB.zip
ERROR 4:
`/vsizip//vsicurl/https://maps.kamloops.ca/OpenData/zipfiles/ParksGDB.zip' not
recognized as being in a supported file format.
ogrinfo failed - unable to open
'/vsizip//vsicurl/https://maps.kamloops.ca/OpenData/zipfiles/ParksGDB.zip'.
$ curl -o Parks.gdb.zip https://maps.kamloops.ca/OpenData/zipfiles/ParksGDB.zip
$ ogrinfo Parks.gdb.zip
INFO: Open of `Parks.gdb.zip'
using driver `OpenFileGDB' successful.
thanks!
Simon
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev