[mapserver-users] How to integrate Openlayers + MapScript C# + Postgis

Stephen Woodbridge woodbri at swoodbridge.com
Fri Mar 15 06:22:18 PDT 2013


Hi Marco,

This links should help:

http://mapserver.org/documentation.html         -- general docs
http://mapserver.org/ogc/index.html#ogc         -- WMS docs
http://mapserver.org/input/vector/postgis.html  -- database access
http://mapserver.org/cgi/index.html             -- CGI specific feature

-Steve

On 3/15/2013 9:16 AM, Marco Araujo wrote:
> Hello Raffaeli,
>
> Can you guide me on how to configure a WMS server with MapServer?
> WMS would be to prepare a file. Map with their layers? or not?
> If yes, I've already configured because I can load a map (shapefile)
> through the MapServer and visualizes it with openlayers.
>
> The problem is how MapServer will read data from the database and not a
> shapefile.
>
> Can you help me?
>
> ------------------------------------------------------------------------
> Date: Fri, 15 Mar 2013 13:58:39 +0100
> From: raffaele.morelli at gmail.com
> To: mapserver-users at lists.osgeo.org
> Subject: Re: [mapserver-users] How to integrate Openlayers + MapScript
> C# + Postgis
>
>
> 2013/3/14 Marco Araujo <marcoaraujolsys at hotmail.com
> <mailto:marcoaraujolsys at hotmail.com>>
>
>     Hi everybody,
>
>     I'm trying to develop an application (ASP.NET  <http://ASP.NET>  C#) that gets the database
>
>     (postgis) map through conditions "where" and process adjustments by
>     mapscript and provide the map to be viewed by openlayer.
>
> Just setup a WMS server with mapserver and add WMS layers to openlayers.
> that's all
>
> You can serve any mapfile you want, just add your "where conditions"
> where you want:
>
> - PHP code snippet in the openlayers base page
> - use apache environment variables to serve different mapfile according
> to url request
>
>
>
> --
> /L'unica speranza di catarsi, ammesso che ne esista una, resta affidata
> all'istinto di ribellione, alla rivolta non isterilita in progetti, alla
> protesta violenta e viscerale. (V. Evangelisti)
> /
> _______________________________________________ mapserver-users mailing
> list mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the mapserver-users mailing list