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

Fernando Norte fernando at globalgeo.com.br
Fri Mar 15 05:32:04 PDT 2013


Olá Marco,

This link bellow helps me a lot to use the WMS MapServer feature.
http://augusttown.blogspot.com.br/2010/01/customize-wms-getfeatureinfo-response.html

You don't really need the C# or develop any program to bring basic
information, all you need is in the MapServer and openLayers.
Only if you need some dynamic requests I'll need the MapScript. I don't
know if there is any C# MapScript library like had to PHP and Python.

BTW there is another information that helps me to control better the layers
dynamically with the Run-time CGI in the MapServer.
http://mapserver.org/cgi/runsub.html

Keep in touch and good luck,


 *Fernando Norte*

Desenvolvedor SIGWeb

tel.(31) 2533.9900

cel.(31) 9119.8814

skype: fernandoglobalgeo

Endereço: Alameda do Ingá, 88, 6º andar, Vale do Sereno

Nova Lima/MG - CEP: 34.000-000

www.globalgeo.com.br

"O presente documento pode conter material confidencial ou seu sigilo é
protegido por lei.
Quaisquer informações nele contida são destinadas exclusivamente ao(s)
seu(s) destinatário(s)
não devendo em nenhuma hipótese ser repassado a terceiros".



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.
>
> 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
>
>
> _______________________________________________
> 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/57434d6f/attachment.htm>


More information about the MapServer-users mailing list