[Mapserver-users] is it possible to load many WMS layers?

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Thu Jun 24 22:59:46 EDT 2004


> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu 
> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of 
> Eduardo Patto Kanegae
> Sent: Thursday, June 24, 2004 9:23 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] is it possible to load many WMS layers?
> 
> 
> Hi,
> 
> I still don't any experience within WMS applications and have some 
> doubts, before trying to use it:
> 
> 1. following the instructions at WMS How-tos of mapserver 
> docs I made a 
> simple WMS server ( one layer only) and after set up a client mapfile 
> application that connects this WMS server ( powered by 
> mapserver). One 
> thing I got in doubt:  at the docs it shows a client sample layer 
> configuration....
> 
> LAYER
>       NAME "prov_bound"
>       TYPE RASTER # <<<<===== my great doubt!!!!
>       STATUS ON
>       CONNECTION "http://www2.dmsolutions.ca/cgi-bin/mswms_gmap?"
>       CONNECTIONTYPE WMS
>       METADATA
>         "wms_srs"             "EPSG:42304 EPSG:42101 
> EPSG:4269 EPSG:4326 EPSG:42304"
>         "wms_name"            "prov_bound"
>         "wms_server_version"  "1.1.0"
>         "wms_formatlist"      
> "image/gif,image/png,image/jpeg,image/wbmp"
>         "wms_format"          "image/gif"
>       END
> END
> 
> if layer is a RASTER type, could it be possible to load two 
> or more WMS 
> layers in a client application? e.g.: is it possible to set a 
> 'country 
> boundaries' polygon layer and a 'roads' line layer viewed in a single 
> application? does the result map will show the background 
> country layer 
> and the roads layer over the contry layer, OR,
> the roads ( type RASTER) layer will hide the background one?
> if this is possible so this is wonderfull, cause it's 
> possible to create 
> an application that reads various layers from different WMS 
> servers, am 
> I correct?
>

Correct.  Non-opaque layers (like roads, for example) will not obstruct opaque layers (like a satellite image).  "TYPE RASTER" in this context means that what is returned is an image.  WMS servers typically offer PNG or GIF, so you can overlay multiple layers with transparency.

So the answer is yes, you can load multiple WMS layers from many servers.

 
> 2. and my second doubt is: is it possible to connect an ArcGIS 8.x/9 
> through any WMS server?
>

Do you mean does ArcGIS connect to WMS?  I believe ESRI has extensions to do this.  CubeWerx also offers WMS extensions for ArcGIS.

..Tom

 
> best regards .
> 
> -- 
> Eduardo Patto Kanegae
> http://www.consultoria.eti.br
> UIN: 303747254
> 
> Treinamento em UMN MapServer - 
> http://www.consultoria.eti.br/ptbr/?> menuoption=mapserver
> I 
> Encontro Nacional de Usuários 
> MapServer - http://mapserver.cttmar.univali.br/encontro2004
> Fórum MapServer Brasil - http://mapserver.cttmar.univali.br/forum
> 
> ***Fim da Mensagem / End of Message ***
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu 
> http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
> 




More information about the mapserver-users mailing list