WMS 1.3.0 capabilities global bounding box computation doesn't use layer groups

Description

The most interesting use case happens when all layers are marked has non advertised (so their are not considered for the capabilities document creation) but are part of layer groups, the global bounding box will be:

1 2 3 4 5 6 <EX_GeographicBoundingBox> <westBoundLongitude>0.0</westBoundLongitude> <eastBoundLongitude>-1.0</eastBoundLongitude> <southBoundLatitude>0.0</southBoundLatitude> <northBoundLatitude>-1.0</northBoundLatitude> </EX_GeographicBoundingBox>

To reproduce this issue just create a layer group that have a bounding box bigger that any layer, the global bounding box of the capabilities document will be the layers bigger bounding box.

Note that global bounding box element (EX_GeographicBoundingBox) is only supported in WMS 1.3.0.

Environment

None

Status

Assignee

Nuno Oliveira

Reporter

Nuno Oliveira

Triage

None

Fix versions

Affects versions

None

Priority

Medium
Configure