WMS Enhancement? (Was: Re: [mapguide-internals] [RFC Review]
RFC095 OGC WMS 1.3.0 Support)
Arthur Liu
arthur.liu at autodesk.com
Sat Jun 12 22:21:40 EDT 2010
Hi Jason,
After reading the WMS spec, I think your suggestion is the right way to resolve this problem. Thank you!
When the outside layer is requested, all the nested layers will be rendered. When the inside layer is request, only the requested layer will be rendered.
To resolve this problem, the template file and some relevant code should be updated.
However, that's beyond the requirement of WMS 1.3.0 support, I prefer to address it in a new RFC. Is that OK?
Regards,
Arthur
-----Original Message-----
From: mapguide-internals-bounces at lists.osgeo.org [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jason Birch
Sent: Sunday, June 13, 2010 4:10 AM
To: MapGuide Internals Mail List
Subject: WMS Enhancement? (Was: Re: [mapguide-internals] [RFC Review] RFC095 OGC WMS 1.3.0 Support)
I definitely see a need to publish both individual feature type layers
(MapGuide Layers) and composite layers (MapGuide Maps) via WMS.
In my ideal world, I could
- set the WMS metadata on individual layers, and set a flag whether to
publish directly or not.
- set WMS metadata on the map definition, and set flags to publish a
composite WMS layer for the map, publish all child layers with WMS metadata
as individual WMS layers, or both.
I'm not sure how this would be best implemented in the GetCapabilities. I
understand that there is the concept of nested layers in WMS; would this
allow us to send the MapDefinition render if the outside layer is requested,
and the LayerDefinition render if the inside layer is requested? Or would
it be better to just publish the MapDefinition as another top level WMS
layer?
(here's an example of a GetCapabilities with nested layers:
http://atlas.gc.ca/cgi-bin/atlaswms_en?VERSION=1.1.1&request=Getcapabilities&service=wms
)
Jason
On 12 June 2010 02:29, Arthur Liu wrote:
> The first option is combining all the layers in a map as one single WMS
> layer, which means we drop the functionality to publish layers as WMS
> layers. The response of GetMap request is always a map image, and the client
> cannot get a layer's image.
>
> The second option is that we provide user the capability to publish both
> MapDefinition and LayerDefinition, that means user can get a whole map's
> image and he can also get some particular layers' image.
>
> Of course, the second option is better, I just want to know if it's
> necessary?
>
> Thanks,
> Arthur
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals
More information about the mapguide-internals
mailing list