<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Hello folks, <br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>it was my mistake and I didn't see that the layers specified were connected to a menů leaf. We have inherited this project and we aren't familiar with MapServer, this is why we have a lot of questions.</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>Now I can see the new base layer connected to the menů, I've configured correctly the MapServer files and structure
 but now when I select the base layer based on shape file I'm encountering this problem:</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; background-color: transparent; font-style: normal;"><span style="font-family: Courier New,courier,monaco,monospace,sans-serif;"><span>forcing '/fcgi-bin/mapserv-5.2.0.bin.fcgi' to get passed through to next API URI-to-filename handler</span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>Do you know what could be caused by? Do I need some component?
 I think not because I read that MapServer can treat this type of file natively. Is this true?<br></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span>TIA</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style:
 normal;"><span>Fabio</span></div><div style="color: rgb(0, 0, 0); font-size: 13.3333px; font-family: arial,helvetica,sans-serif; background-color: transparent; font-style: normal;"><span><br></span></div><div><span></span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;">  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">Da:</span></b> Mr. Puneet Kishor <punk.kish@gmail.com><br> <b><span style="font-weight: bold;">A:</span></b> "mapserver-users@lists.osgeo.org" <mapserver-users@lists.osgeo.org> <br><b><span style="font-weight: bold;">Cc:</span></b> Fabio Brolese <fabiobrolese-forum@yahoo.it> <br> <b><span style="font-weight: bold;">Inviato:</span></b>
 Venerdě 5 Ottobre 2012 8:34<br> <b><span style="font-weight: bold;">Oggetto:</span></b> Re: [mapserver-users] MapServer and shapefile<br> </font> </div> <br><br>On Oct 4, 2012, at 10:56 PM, Fabio Brolese <<a ymailto="mailto:fabiobrolese-forum@yahoo.it" href="mailto:fabiobrolese-forum@yahoo.it">fabiobrolese-forum@yahoo.it</a>> wrote:<br><br>> Trying using shapefile as base layer I didn't find where to put my shapefile and to let them seen by MapServer. The examples say me to set the map file correctly but not where to save the shp files how to say to MapServer where thay are. Is there a directive in the main map file where to set the location of shp files like I set the log file path and etc.<br>> <br>> <br><br><a href="http://mapserver.org/mapfile/map.html" target="_blank">http://mapserver.org/mapfile/map.html</a><br><br>MAP<br>  SHAPEPATH [filename]<br>    Path to the directory holding the shapefiles or tiles. <br> 
   There can be further subdirectories under SHAPEPATH.<br><br><br><br><br><a href="http://mapserver.org/mapfile/layer.html" target="_blank">http://mapserver.org/mapfile/layer.html</a><br><br>LAYER<br>  DATA [filename]|[sde parameters][postgis table/column][oracle table/column]<br>    Full filename of the spatial data to process. No file <br>    extension is necessary for shapefiles. Can be specified <br>    relative to the SHAPEPATH option from the Map Object.<br><br><br><br><br><br><br>> <br>> <br>> <br>> <br>> <br>>> ________________________________<br>>> Da: Cristiano Sumariva <<a ymailto="mailto:sumariva@gmail.com" href="mailto:sumariva@gmail.com">sumariva@gmail.com</a>><br>>> A: Fabio Brolese <<a ymailto="mailto:fabiobrolese-forum@yahoo.it" href="mailto:fabiobrolese-forum@yahoo.it">fabiobrolese-forum@yahoo.it</a>> <br>>> Inviato: Martedě 2 Ottobre 2012
 13:14<br>>> Oggetto: Re: [mapserver-users] MapServer and shapefile<br>>> <br>>> <br>>> If your map vector is not huge, and processing time is not a problem - something greater then a few seconds for a tile - you can use a WMS layer as base.<br>>> Just add isBaseLayer true to parameter options on layer.<br>>> This should be minimal to change.<br>>> At my sites I did not note WMS overhead on requests.<br>>> You should know that OpenLayers is greed and will issue several concurrent requests to server. Processing spikes will happen.<br>>> <br>>> <br>>> For larger sets you maybe at the need of some cache stuff.<br>>> Consider using one in a programming language you know in case you need do maintenance in source code.<br>>> Or if confortable with some, create your particular simple cache maybe an option.<br>>> <br>>> <br>>> 2012/10/2 Fabio Brolese <<a
 ymailto="mailto:fabiobrolese-forum@yahoo.it" href="mailto:fabiobrolese-forum@yahoo.it">fabiobrolese-forum@yahoo.it</a>><br>>> <br>>> Yes, sorry, I was talking about OpenLayers.<br>>>> I understood and is like I did with all the layers I set pointing on PostGIS. I have also a "base layer" set as OpenLayers.Layer.TMS that load image tiles to show the city map. What we want to do is to change the base layer to read the city map from shapfile instead of reading image tiles.<br>>>> <br>>>> <br>>>> Do you know if there is a way to do what we want or do I have to reconsider my structure and consider and use it as OpenLayers.Layer.WMS?<br>>>> <br>>>> <br>>>> Fabio<br>>>> <br>>>> <br>>>> <br>>>> <br>>>> <br>>>>> ________________________________<br>>>>> Da: Rahkonen Jukka <<a
 ymailto="mailto:Jukka.Rahkonen@mmmtike.fi" href="mailto:Jukka.Rahkonen@mmmtike.fi">Jukka.Rahkonen@mmmtike.fi</a>><br>>>>> A: "<a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>" <<a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>> <br>>>>> Inviato: Martedě 2 Ottobre 2012 9:05<br>>>>> Oggetto: Re: [mapserver-users] MapServer and shapefile<br>>>>> <br>>>>> <br>>>>> Hi,<br>>>>> <br>>>>> Because you talk about base layer I think that you are perhaps going to show your map in OpenLayers. If that is the case then the answer is yes and this OpenLayers example shows how it can be done.<br>>>>> <a href="http://dev.openlayers.org/releases/OpenLayers-2.12/examples/wms-untiled.html"
 target="_blank">http://dev.openlayers.org/releases/OpenLayers-2.12/examples/wms-untiled.html</a><br>>>>> On the Mapserver side you must configure a WMS layer that is using shapefile as<br>> input data.<br>>>>> <a href="http://www.mapserver.org/ogc/wms_server.html" target="_blank">http://www.mapserver.org/ogc/wms_server.html</a><br>>>>> <br>>>>> <br>>>>> -Jukka Rahkonen-<br>>>>> ________________________________<br>>>>> Fabio Brolese wrote:<br>>>>> <br>>>>>> Hello everybody,<br>>>>>> after a long search on Google I'm here to ask you if it's possible to use a shapefile as base layer.<br>>>>>> Everything I found was on exporting to shapefile or drawing objects from shapefile but nothing saying that I can >use it as base layer.<br>>>>> <br>>>>> Can anyone help me?<br>>>>>
 <br>>>>> TIA<br>>>>> <br>>>>> Fabio<br>>>>> _______________________________________________<br>>>>> mapserver-users mailing list<br>>>>> <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>>>>> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>>>>> <br>>>>> <br>>>>> <br>>>> _______________________________________________<br>>>> mapserver-users mailing list<br>>>> <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>>>> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
 target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>>>> <br>>>> <br>>> <br>>> <br>> _______________________________________________<br>> mapserver-users mailing list<br>> <a ymailto="mailto:mapserver-users@lists.osgeo.org" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br><br><br><br> </div> </div> </blockquote></div>   </div></body></html>