Two things: - 1st: udig supports WMS servers that provided a hierarchy of layers... you can see these in the catalog view when selecting layers to - 2nd: perhaps we can show the "children" of a parent WMS layer in this new "legend" view?
Jody
On 13/05/2010, at 12:38 AM, Frank Gasdorf wrote: Oh, now I'm a little bit confused. Do you mean that this feature is already in RC2/RC3 or only on your specific "extended" version? When I added a grouped wms layer, udig added for each sub layer a single map layer :(
Frank
2010/5/12 Jody Garnett <jody.garnett@xxxxxxxxx>
I am a bit confused? We do support whatever nesting the WMS service provides? Indeed try dragging one onto your map next time you are using uDig (we show the layers in nested form as well).
Oh perhaps I see; once we have layers grouping; extend that for WMS layers as well - yeah nothing wrong with that.
Jody
On 12/05/2010, at 5:27 PM, Frank Gasdorf wrote: An other nice feature would be a WMS group layer for each service. If a capabilities documents looks like the extract below (note, there is a sub layer within a layer section). The are several benefits to use a layer like this:
- the group layer is already configured on server side (layer order) - the group layer could be cached on server side - the client has only to make one request per image and not several depending on the count of sub layers
- the user could be activate/deactivate the group layer and has not to click more than once (for each sub layer) but it would be possible to allow a sublayer to enable/disable -> but it's just a request
Just for information. We had a esri ags server with a wms. Like you can see, the group layer has no Name element so it is not query able.
What does the community think about? Does anybody have same kind of requirements? We implemented a "advanced" WMS layer for geotools working like described before. Maybe I should prototype a bit to port it to udig ...
Frank
part of a capabilites document:
<Capability> <Request>
<GetCapabilities> ...
</GetCapabilities> <GetMap>
<Format>image/bmp</Format> <Format>image/jpeg</Format>
<Format>image/tiff</Format> <Format>image/png</Format>
<Format>image/gif</Format> <Format>image/svg+xml</Format>
... </GetMap>
<GetFeatureInfo> <Format>application/vnd.ogc.wms_xml</Format>
<Format>text/xml</Format> <Format>text/html</Format>
<Format>text/plain</Format> ...
</GetFeatureInfo> </Request>
<Exception> <Format>application/vnd.ogc.se_xml</Format>
<Format>application/vnd.ogc.se_inimage</Format> <Format>application/vnd.ogc.se_blank</Format>
</Exception> <Layer>
<Title>Layers</Title> <SRS>EPSG:4326</SRS>
<LatLonBoundingBox minx="-180.000000" miny="-90.000000" maxx="180.000000" maxy="90.000000"/>
<BoundingBox SRS="EPSG:4326" minx="-180.000000" miny="-90.000000" maxx="180.000000" maxy="90.000000"/>
<Layer> <Title>Group Layer</Title>
<Abstract>Group Layer</Abstract> <SRS>EPSG:4326</SRS>
<LatLonBoundingBox minx="-180.000000" miny="-90.000000"
maxx="180.000000" maxy="90.000000"/> <BoundingBox SRS="EPSG:4326" minx="-180.000000" miny="-90.000000"
maxx="180.000000" maxy="90.000000"/> <Layer>
<Title>sub layer 1</Title> <Abstract>sub layer 1</Abstract>
<SRS>EPSG:4326</SRS> <LatLonBoundingBox minx="-180.000000" miny="-90.000000"
maxx="180.000000" maxy="90.000000"/>
<BoundingBox SRS="EPSG:4326" minx="-180.000000"
miny="-90.000000"
maxx="180.000000" maxy="90.000000"/> ...
</Layer> </Layer>
...
2010/5/12 Jody Garnett <jody.garnett@xxxxxxxxx>
It may need to wait until after the deadline :-)
Would you like to join us on udig-devel and restart the conversation? We should be able to talk to the developers involved.
Jody On 12/05/2010, at 2:39 PM, CHANDRASEKARAN B wrote: It is really nice to hear all ready it is implemented.
Can you provide the link to add the same to 1.2-RC3 ?
Thanks Chandrasekaran
On Wed, May 12, 2010 at 4:15 AM, Jody Garnett <jody.garnett@xxxxxxxxx> wrote:
Yes it is possible; I have an implementation as part of my current project.
I will see if it can be made available as a community module.
The implementation groups layers by "Tags"; the origional tags come from the georesouce "keywords".
You can make additional views, such as this one, that work against the Map/Layer data structure. So far four teams have done this work; and I would really like to get one donated back to the project.
Jody On 12/05/2010, at 3:50 AM, CHANDRASEKARAN B wrote: Dear all,
Is it possible to group the layers into different category in Layers view. Name1 Layer1 Layer2 Layer3 Name2 Layer4 Layer5 Layer6 All layers under name1 can be made on or off by clicking name1, Is it possible ?
regards, B Chandrasekaran
_______________________________________________ udig-users mailing listhttp://lists.refractions.net/mailman/listinfo/udig-users
_______________________________________________
udig-users mailing list
udig-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.refractions.net/mailman/listinfo/udig-users
|