<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>Hello Raffaeli,</div><div><br></div><div>Thats right. I have already migrated shapefiles to postgis.</div><div>I already developed a system for this purpose however for client / server environment.</div><div><br></div><div>Now I'm migrating to web platform and I'm changing the MapWindows (only client / server) by MapServer (fully web via WMS).</div><div><br></div><div>Let me ask one more thing:</div><div>Because in my tests, my map (shapefile) when rendered by MapServer and presented in openlayer, he is shown in different squares? The more I do zoom-out, more pictures of the same map appears.</div><div><br></div><div><br></div><div>Thanks for the tips.</div><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">Date: Fri, 15 Mar 2013 14:32:19 +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>2013/3/15 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><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></div></div></blockquote><div><br></div><div>I believe you should read some fundamental documentation as Stephen suggests... your task is quite straightforward but mapserver & postgis & openlayers are not just toys :-)</div>
</div><div><br></div><div>-r</div><div><br></div><div>PS as second step, if you have a working mapfile (as you stated) you should load shp file into postgis and add a postgis layer in your mapfile</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>