[mapserver-users] zipped shapefile
lagrange123
lagrange at ldeo.columbia.edu
Wed Jun 22 13:57:08 PDT 2016
Hi,
I have a bunch of shapefiles in zip format for disk space reasons. And I
want to be able to server their contents with mapserver. Is this possible?
I was thinking that I could use CONNECTIONTYPE OGR. And then, since gdal/ogr
can read a zipped data source (per
https://trac.osgeo.org/gdal/wiki/UserDocs/ReadInZip), this would enable
mapserver to serve such a data source. However, I am not having much luck,
and I don't know if this is even supported in mapserver.
My layer definition is:
LAYER
NAME "my_shapefile"
CONNECTIONTYPE OGR
CONNECTION "/vsizip/path/to/file.zip"
TYPE POLYGON
STATUS ON
END
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/zipped-shapefile-tp5272896.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list