Open GoogleCodeExporter opened 9 years ago
For the zoom to layer extent function, use the bounding box declared in the WMS GetCapabilities. Formats from GeoServer GetCapabilities documents: In WMS 1.3.0: <BoundingBox CRS="EPSG:27700" minx="267939.15" miny="362539.47" maxx="284374.4" maxy="382957.22"/> WMS 1.1.1: <BoundingBox SRS="EPSG:27700" minx="384626.14592954854" miny="209442.60993204755" maxx="476843.5670624626" maxy="330579.46647809795"/> (All in WGS 84 for WFS it seems) WFS 2.0.0: <ows:WGS84BoundingBox> <ows:LowerCorner> -1.9024857219417501 51.98896315760781 </ows:LowerCorner> <ows:UpperCorner> -1.2063581293508105 52.665571970647974 </ows:UpperCorner> </ows:WGS84BoundingBox> WFS 1.1.0: <ows:WGS84BoundingBox> <ows:LowerCorner> -2.0484757409738226 51.86123444880025 </ows:LowerCorner> <ows:UpperCorner> -1.0479788121819336 52.73406825997742 </ows:UpperCorner> </ows:WGS84BoundingBox> WFS 1.0.0: <LatLongBoundingBox minx="-1.9621871896328478" miny="51.95317545758284" maxx="-1.1660334961916186" maxy="52.68794682174211"/>
Original issue reported on code.google.com by jonathan...@warwickshire.gov.uk on 7 Jan 2014 at 5:38
jonathan...@warwickshire.gov.uk
Original issue reported on code.google.com by
jonathan...@warwickshire.gov.uk
on 7 Jan 2014 at 5:38