Hi,
I have an Esri Flex Viewer app consuming GeoServer WMS Services.

It works fine except that layers belonging to a group won't show up as 
sublayers in the "select layers popup". (the whole group display correctly 
through GetMap though)

As geoserver does not properly nest layers in getCapabilities, I tried using 
the WMS Path parameter.
Which leads me to something like that :

<Layer>
  <Name>MyGroupLayer</Name>
  <Title>MyGroupLayer</Title>
  <Layer queryable="1">
    <Name>MySubLayer_1</Name>
    <Title>MySubLayer_1</Title>
    .
  </Layer>
  <Layer queryable="1">
    <Name>MySubLayer_2</Name>
    <Title>MySubLayer_2</Title>
    .
  </Layer>
</Layer>
<Layer queryable="1">
  <Name>MyGroupLayer</Name>
  <Title>MyGroupLayer</Title>
  .
</Layer>

Which is not that bad. but obviously wrong.

So my questions are :
Did anybody manage to generate a correct GetCapabilities WMS file with groups 
layers in GeoServer ?
More generaly : did anybody managed to have an esri flex viewer app correctly 
manage a WMS group layer from geoserver ? (sounds like expecting a miracle but 
who knows).

Regards,

Laurent


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to