[mapserver-users] mapserver/openlayers
bartvde at osgis.nl
bartvde at osgis.nl
Thu Jul 16 02:35:20 PDT 2009
Hi,
no you can also use OpenLayers.Layer.Mapserver, but this is not the
recommended way.
Mapserver has a native CGI interface, e.g. stuff like
mapserv?map=/mymap.map&layers=all&mode=map
But there is also a standard way of getting maps out of a web mapping
server, and this is called WMS.
The parameters are then something like:
mapserv?map=/mymap.map&service=WMS&request=GetMap&layers=mylayer1,mylayer2&styles=,&bbox=......
etc.
Setting up a WMS with Mapserver is quite easy, check the Mapserver WMS
Server HOWTO on the website. It just requires a few extra entries in the
MAP file.
http://mapserver.org/ogc/wms_server.html
Also check the OpenLayers tutorial by OpenGeo:
http://workshops.opengeo.org/openlayers-intro/
Best regards,
Bart
> <FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif"
> size=2><DIV>Hi,</DIV><DIV> </DIV><DIV>how can i use openlayers with
> mapserver? it's necessarly to create a wms server?</DIV><DIV>if yes, i
> can't understand a concept of a wms server. can you help me
> plz?</DIV><DIV><BR>Best
> regards,<BR>Youness ELMEDRAOUI</DIV></FONT>Les informations figurant
> sur cet e-mail ont un caractère strictement confidentiel et sont
> exclusivement adressées au destinataire mentionné ci-dessus.Tout
> usage, reproduction ou divulgation de cet e-mail est strictement
> interdit si vous n'en êtes pas le destinataire.Dans ce cas, veuillez
> nous en avertir immédiatement par la même voie et détruire l'original.
> Merci <br />_______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
More information about the MapServer-users
mailing list