<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<div><div>Hello Raffaeli,</div><div><br></div><div>Can you guide me on how to configure a WMS server with MapServer?</div><div>WMS would be to prepare a file. Map with their layers? or not?</div><div>If yes, I've already configured because I can load a map (shapefile) through the MapServer and visualizes it with openlayers.</div><div><br></div><div>The problem is how MapServer will read data from the database and not a shapefile.</div><div><br></div><div>Can you help me?</div></div><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Fri, 15 Mar 2013 13:58:39 +0100<br>From: raffaele.morelli@gmail.com<br>To: mapserver-users@lists.osgeo.org<br>Subject: Re: [mapserver-users] How to integrate Openlayers + MapScript C# + Postgis<br><br><br>2013/3/14 Marco Araujo <span dir="ltr"><<a href="mailto:marcoaraujolsys@hotmail.com">marcoaraujolsys@hotmail.com</a>></span><br><div class="ecxgmail_quote"><blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">



<div dir="ltr"><pre style="line-height:17px;color:rgb(42,42,42);white-space:normal">Hi everybody,<br><br>I'm trying to develop an application (<a href="http://ASP.NET" target="_blank">ASP.NET</a> C#) that gets the database<br>
(postgis) map through conditions "where" and process adjustments by<br>mapscript and provide the map to be viewed by openlayer.<br></pre></div></div></div></blockquote><div>Just setup a WMS server with mapserver and add WMS layers to openlayers. that's all</div>
<div><br></div><div>You can serve any mapfile you want, just add your "where conditions" where you want:</div><div><br></div><div>- PHP code snippet in the openlayers base page</div><div>- use apache environment variables to serve different mapfile according to url request</div>
<div><br></div><div> </div></div><br clear="all"><div><br></div>-- <br><i><span></span><span>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)<br></span></i>
<br>_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users</div>                                       </div></body>
</html>