Ticket #2144 (closed feature: duplicate)

Opened 4 years ago

Last modified 4 years ago

Give Format.WMSGetCapabilities an option so it can return nested layer structures

Reported by: bartvde Owned by: tschaub
Priority: minor Milestone: 2.9 Release
Component: Format Version: 2.8 RC4
Keywords: Cc:
State: Review

Description

Currently OpenLayers.Format.WMSGetCapabilities returns a flat list of layers, whereas the WMS might be advertizing a nested structure.

I would like to enhance the format so that there is an option to get back the layer structure in a nested way as well. The default behaviour will stay the same.

Attachments

ticket2144.patch Download (14.3 KB) - added by bartvde 4 years ago.
patch implementing nested WMS GetCapabilities parser

Change History

Changed 4 years ago by bartvde

patch implementing nested WMS GetCapabilities parser

Changed 4 years ago by bartvde

  • state set to Review

Not sure why the Trac preview is not working on this patch.

Changed 4 years ago by bartvde

All relevant tests pass in IE6 and FF3.

Changed 4 years ago by bartvde

  • status changed from new to closed
  • resolution set to duplicate

I am closing this one in favour of ticket:2283, the rewrite of the WMS GetCapabilities parser which introduces a nestedLayers property which is later on postprocessed to a flat layer list to not break the "API" structure. So that rewrite also supports the nested layer structure.

Note: See TracTickets for help on using tickets.