<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Yes, sorry, I was talking about OpenLayers.</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>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.</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 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?</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><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> Rahkonen Jukka <Jukka.Rahkonen@mmmtike.fi><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;">Inviato:</span></b> Marted́ 2 Ottobre 2012 9:05<br> <b><span style="font-weight: bold;">Oggetto:</span></b> Re: [mapserver-users] MapServer and shapefile<br> </font> </div> <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
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> </div> </div>
</blockquote></div> </div></body></html>