Reading a zipped shapefile (with 4 shapefiles in it) via vsicurl and vsizip

ogrinfo 
/vsizip//vsicurl/http://www.srh.noaa.gov/images/shv/shp/Day1_Conv_Outlook/Day1_Conv_Outlook.latest.zip
 -ro CATEGORICAL
Layer name: CATEGORICAL
Geometry: Polygon
Feature Count: 1
Extent: (-119.600000, 24.217000) - (-75.125000, 49.378000)
…

Shows 1 feature but doesn't show the geometry.

Downloading and unzipping the file, does show the geometry.
Layer name: CATEGORICAL
Geometry: Polygon
Feature Count: 1
Extent: (-119.600000, 24.217000) - (-75.125000, 49.378000)
…
POLYGON ((-83.454 46.018,-85.01 45.94,-87.15 45.02,...

Just to be inconsistent, this file does show the geometry

ogrinfo 
/vsizip//vsicurl/http://www.srh.noaa.gov/images/shv/shp/Day2_Conv_Outlook/Day2_Conv_Outlook.latest.zip
 -ro CATEGORICAL

But others in the same file do not

ogrinfo 
/vsizip//vsicurl/http://www.srh.noaa.gov/images/shv/shp/Day2_Conv_Outlook/Day2_Conv_Outlook.latest.zip
 -ro WIND


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to