[gdal-dev] config option to directly read zipped .gdb directories with file.zip extension?
    snorris at hillcrestgeo.ca 
    snorris at hillcrestgeo.ca
       
    Mon Feb 10 12:34:47 PST 2025
    
    
  
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
    
    
More information about the gdal-dev
mailing list