[gdal-dev] open zipped gml
Even Rouault
even.rouault at spatialys.com
Sun May 3 03:51:17 PDT 2015
Le dimanche 03 mai 2015 12:26:15, Martin Landa a écrit :
> Hi all,
>
> opening zipped gml using ogrinfo [1] fails with trunk.
>
> $ ogrinfo /vsizip/DOP_ZachParkoviste_b_gml.zip -ro
>
> Similar files in Esri Shapefile [2] is possible to open.
>
> $ ogrinfo /vsizip/DOP_ZachParkoviste_b_shp.zip -ro
>
> Any idea what could be wrong?
Hi Martin,
yes, /vsizip/a_zip.zip is seen as a directory by the driver. The shapefile
driver accepts directories as input, whereas the GML driver does not. For the
GML, you need to specify the filename within the zip
ogrinfo /vsizip/DOP_ZachParkoviste_b_gml.zip/DOP_ZachParkoviste_b.gml -ro
Even
>
> Thanks, Martin
>
> [1]
> http://opendata.iprpraha.cz/CUR/DOP/DOP_ZachParkoviste_b/S_JTSK/DOP_ZachPa
> rkoviste_b_gml.zip [2]
> http://opendata.iprpraha.cz/CUR/DOP/DOP_ZachParkoviste_b/S_JTSK/DOP_ZachPa
> rkoviste_b_shp.zip
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list