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

Marco Araujo marcoaraujolsys at hotmail.com
Thu Mar 14 06:24:43 PDT 2013





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.

Can anyone guide me on how I should proceed?

I need a WMS (mapserver) to display dynamic data (from database)?

Already have the following:
1. up and running MapServer CGI in my Windows2008 (64bits) under IIS 7.5
(not apache).

2. The database postgis mount but I have no idea how to retrieve the data
and presents it in openlayers.

3. Tests (successfully) with openlayers presenting a static map of
mapserver as follows:
/layer = new OpenLayers.Layer.WMS("WorldMap",
"http://localhost/MapServer/mapserv.exe? 
map=C:/maps/itasca.map&mode=map&template=openlayers&layer=lakespy2&layer=dlgstln2");/

If you can help me I appreciate it.

Sincerely,
Marco Araujo
Brazil / Sao Paulo
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20130314/301c3f5b/attachment.html>


More information about the mapserver-users mailing list