[Geoserver-devel] [jira] (GEOS-6192) Layer inheritance of srsList and enabling bounding box for supported srs

Jody Garnett created BugGEOS-6192
Layer inheritance of srsList and enabling bounding box for supported srs

I am seeing some confusing relationships between the limited srs list and children of layer groups.

  1. Configure service WMS with a limited srs list of: 4326, 3857, 900913
  2. Enabled output bounding box for every supports srs
  3. Setup the following layers:
root
+- a
+- group (mode single with contents b)
+- b
  1. root layer lists requested limited srs list
&lt;!-<del>Limited list of EPSG projections:</del>->
<CRS>EPSG:3857</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:900913</CRS>
<CRS>CRS:84</CRS>

But does not list all required bounding boxes

<BoundingBox CRS="CRS:84" minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0"/>
<BoundingBox CRS="EPSG:4326" minx="-90.0" miny="-180.0" maxx="90.0" maxy="180.0"/>
  1. Layer a (not associated with group at all) lists two CRS items (which are not needed), but does correctly list all the BoundingBoxs
<CRS>EPSG:4326</CRS>
<CRS>CRS:84</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-175.135635</westBoundLongitude>
<eastBoundLongitude>179.19544202302</eastBoundLongitude>
<southBoundLatitude>-53.7814746058316</southBoundLatitude>
<northBoundLatitude>78.246717</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-175.135635" miny="-53.7814746058316" maxx="179.19544202302" maxy="78.246717"/>
<BoundingBox CRS="EPSG:4326" minx="-53.7814746058316" miny="-175.135635" maxx="78.246717" maxy="179.19544202302"/>
<BoundingBox CRS="EPSG:3857" minx="-1.9496009707956623E7" miny="-7128878.350037611" maxx="1.9947945358478162E7" maxy="1.4502137593437832E7"/>
<BoundingBox CRS="EPSG:900913" minx="-1.9496009707956623E7" miny="-7128878.350037611" maxx="1.9947945358478162E7" maxy="1.4502137593437832E7"/>
  1. Layer b (used as a child of the group layer) lists two extra CRS items, and does not list enough BoundingBox items
<CRS>EPSG:4326</CRS>
<CRS>CRS:84</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-180.0</westBoundLongitude>
<eastBoundLongitude>180.0</eastBoundLongitude>
<southBoundLatitude>-90.0</southBoundLatitude>
<northBoundLatitude>90.0</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="CRS:84" minx="-180.0" miny="-90.0" maxx="180.0" maxy="90.0"/>
<BoundingBox CRS="EPSG:4326" minx="-90.0" miny="-180.0" maxx="90.0" maxy="180.0"/>

Project:GeoServerPriority:MajorMajorReporter:Jody Garnett

Issue Type:

BugBug

Affects Versions:

2.4.2

Assignee:

Andrea Aime

Components:

WMS

Created:

26/Nov/13 8:34 AM

Description:

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira