Hi,
Trying to read shapefiles from a zip archive, I am running:

GDALDataset::Open('/vsizip//parks-and-recreation-feature-map-d.zip',
GDAL_OF_VECTOR |

                                  GDAL_OF_READONLY |
GDAL_OF_VERBOSE_ERROR | GDAL_OF_SHARED,

                                  NULL, NULL, NULL )


When there is a directory in the zip, I get an error:

Error: `/vsizip//parks-and-recreation-feature-map-d.zip' not
recognized as a supported file format.


When the files are not under a directory in the zip (same files), the
zip file is read with no error.

Attaching 2 files for example.

Is there a way to directly read the files from the archive with the directory?



Thanks,

Sharon

-- 


*The contents of this email message and any attachments are the property 
of Kinetica DB, Inc. and may contain confidential or privileged information 
intended solely for the addressee(s). Unauthorized use of this 
communication is strictly prohibited and may be unlawful. If you have 
received this communication in error, please notify the sender by reply 
e-mail, then delete all copies of the communication and any attachments.*

<<attachment: parks-and-recreation-feature-map.zip>>

<<attachment: parks-and-recreation-feature-map-d.zip>>

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to