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

Marco Araujo marcoaraujolsys at hotmail.com
Fri Mar 15 06:16:49 PDT 2013


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>








Hi everybody,

I'm trying to develop an application (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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130315/c9f761ce/attachment.htm>


More information about the MapServer-users mailing list