[mapguide-users] WMS groups

Chris Claydon chris.claydon at autodesk.com
Tue Oct 31 12:11:10 EST 2006


You are correct. MapGuide does not currently support groups, and so the
GetCapabilities response never contains nested groups of layers.
However, I was responding to Andy's comment that you could only include
one layer definition in the LAYERS parameter of a GetMap request - you
can, in fact, include multiple layers. For example:

http://localhost:8008/mapguide/mapagent/mapagent.fcgi?REQUEST=GETMAP&SER
VICE=WMS&VERSION=1.1.1&FORMAT=image/png&LAYERS=Samples/Sheboygan/Layers/
Parcels,Samples/Sheboygan/Layers/Roads&BBOX=-87.7398334220901,43.7382269
9224595,-87.72068284176505,43.75068777906662&SRS=EPSG:4326&WIDTH=796&HEI
GHT=717&BGCOLOR=0x0000FF&TRANSPARENT=FALSE 

This request renders the "Roads" layer on top of the "Parcels" layer in
the same map.

Chris.

-----Original Message-----
From: Bart van den Eijnden (OSGIS) [mailto:bartvde at osgis.nl] 
Sent: October 31, 2006 9:49 AM
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] WMS groups

I think Johan is referring to nesting WMS layers, so e.g.:

<Layer>
<Name>mygroup</Name>
<Title>my first group</Title>
<Layer>
<Name>mylayer1</Name>
<Title>my first layer</Title>
</Layer>
<Layer>
<Name>mylayer2</Name>
<Title>my second layer</Title>
</Layer>
</Layer>

Best regards,
Bart

Chris Claydon schreef:
>
> You should be able to specify multiple layers (separated by commas) in

> the LAYERS parameter. They are rendered in the order in which they are

> specified. i.e. The first one goes on the bottom, the next is rendered

> on top of that, and so forth.
>
> For more information see the WMS specifications (1.1.1 and earlier)
here:
>
> http://www.opengeospatial.org/standards/wms
>
> Chris.
>
>
------------------------------------------------------------------------
>
> *From:* Andy Morsell [mailto:amorsell at spatialgis.com]
> *Sent:* October 31, 2006 9:19 AM
> *To:* users at mapguide.osgeo.org
> *Subject:* RE: [mapguide-users] WMS groups
>
> I don't think you have missed anything. MapGuide Open's WMS requests 
> will only accept a single layer in the LAYERS parameter. And no, there

> is currently no way to group multiple MapGuide layers into one WMS 
> "layer".
>
> Andy
>
>
------------------------------------------------------------------------
>
> *From:* Johan B [mailto:johwilm at yahoo.com]
> *Sent:* Tuesday, October 31, 2006 1:34 AM
> *To:* users at mapguide.osgeo.org
> *Subject:* [mapguide-users] WMS groups
>
> Hi,
>
> I can't find a way to create groups of WMS layers.
>
> As I see it I can only publish the individual layers which will result

> in a flat layer structure. Have I missed something in the Studio or 
> isn't it possible to do this in current version of MG Open?
>
> Thanks
>
> Johan Bergman
>
>
------------------------------------------------------------------------
>
> Get your email and see which of your friends are online - Right on the

> new Yahoo.com 
> <http://us.rd.yahoo.com/evt=42973/*http:/www.yahoo.com/preview>
>


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org






More information about the Mapguide-users mailing list