[mapserver-users] MapServer and shapefile

Fabio Brolese fabiobrolese-forum at yahoo.it
Tue Oct 2 00:56:20 PDT 2012


Yes, sorry, I was talking about OpenLayers.
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.

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?

Fabio




>________________________________
> Da: Rahkonen Jukka <Jukka.Rahkonen at mmmtike.fi>
>A: "mapserver-users at lists.osgeo.org" <mapserver-users at lists.osgeo.org> 
>Inviato: Martedì 2 Ottobre 2012 9:05
>Oggetto: Re: [mapserver-users] MapServer and shapefile
> 
>Hi,
>
>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.
>http://dev.openlayers.org/releases/OpenLayers-2.12/examples/wms-untiled.html
>On the Mapserver side you must configure a WMS layer that is using shapefile as input data.
>http://www.mapserver.org/ogc/wms_server.html
>
>
>-Jukka Rahkonen-
>________________________________
>Fabio Brolese wrote:
>
>> Hello everybody,
>> after a long search on Google I'm here to ask you if it's possible to use a shapefile as base layer.
>> Everything I found was on exporting to shapefile or drawing objects from shapefile but nothing saying that I can >use it as base layer.
>
>Can anyone help me?
>
>TIA
>
>Fabio
>_______________________________________________
>mapserver-users mailing list
>mapserver-users at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20121002/9e7f8b47/attachment.htm>


More information about the MapServer-users mailing list