<div dir="ltr">Thanks for the speedy replies, guys. I have it working now. For me the issue was the product of (1) using a relative path, and (2) using the wrong TYPE. Silly me!</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Jun 23, 2016 at 7:34 AM Jeff McKenna <<a href="mailto:jmckenna@gatewaygeomatics.com">jmckenna@gatewaygeomatics.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 2016-06-23 3:49 AM, Even Rouault wrote:<br>
><br>
> Definitely not in the DATA that must be a layer name or SQL SELECT, but in CONNECTION.<br>
> It is important to put the absolute path, as the SHAPEPATH directive will have no effect on<br>
> a /vsizip/ filename. As Mike raised, it is recommended to put the filename of the shape too.<br>
> (you may omit it if the .shp is at the root of the .zip and there's no other "extra" file than the ones<br>
> expected for a shapefile. When you omit it, the zip is recognized as a directory and it is the<br>
> same logic as doing ogrinfo on a directory that is applied. Will work with directory of shapefiles<br>
> and .tab/.mif for example)<br>
<br>
Thank you Even, my issue was the full path requirement.  I will document<br>
this now.<br>
<br>
Below is my working layer (with MS4W 3.1.4 / MapServer 7.0.1) :<br>
<br>
LAYER<br>
   NAME "testzip"<br>
   TYPE POLYGON<br>
   STATUS ON<br>
   CONNECTIONTYPE OGR<br>
   CONNECTION "/vsizip/D:/ms4w/apps/test/test.zip"<br>
   DATA "test"<br>
   CLASS<br>
     NAME "test"<br>
     STYLE<br>
       COLOR 240 240 240<br>
       OUTLINECOLOR 199 199 199<br>
     END<br>
   END<br>
END # layer<br>
<br>
-jeff<br>
<br>
<br>
--<br>
Jeff McKenna<br>
MapServer Consulting and Training Services<br>
<a href="http://www.gatewaygeomatics.com/" rel="noreferrer" target="_blank">http://www.gatewaygeomatics.com/</a><br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br>
</blockquote></div>