Re: BoundingBox discrepancy

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: BoundingBox discrepancy

Eli Dylan Lorimer
Hi Dave,

My bad, I think I had the "loose BB" option set to true and wasn't aware of it as I did all your tests below and got the desired results.

Thanks for checking this out though. I appreciate it.
./dylan


In PostGIS

diss=# select extent(point) from waypoints_2d;
                                   extent                                  
----------------------------------------------------------------------------
BOX(-3.03163003921509 51.3857269287109,0.288760006427765 53.8070907592773)
(1 row)   

Through the browser in the form of: 
<gml:boundedBy>
<gml:coordinates decimal="." cs="," ts=" ">-3.03163004,51.38572693 0.28876001,53.80709076</gml:coordinates>
</gml:Box>
</gml:boundedBy>

Through the browser in the form of a getCapabilities:
<FeatureType>
<Name>stvu:waypoints_2d</Name>
<Title>waypoints_2d_Type</Title>
<Abstract>Generated from localPostgis</Abstract>
<Keywords>localPostgis waypoints_2d</Keywords>
<SRS>EPSG:4326</SRS>
<LatLongBoundingBox minx="-3.03163003921509" miny="51.3857269287109" maxx="0.288760006427765" maxy="53.8070907592773"/>
</FeatureType>


Through the web interface of GeoServer when I click "Generate BB"
Data min X:        -3.03163003921509        Data min Y:        51.3857269287109
Data max X:     0.288760006427765     Data max Y:     53.8070907592773.