Tom (JDi Solutions) wrote:
Hi all,
What is the bounding box of a layer (specified in the admin console feature type page) actually used for?
I believe the only thing it is used for is reporting in the Capabilities documents.
What happens if a feature is added to the table outside the bounding box?
Nothing. In the future I'd like to hook up the WFS transaction stuff to have part of its processing update the bounding box (if the admin chooses that option), but that's a bit off.
Does geoserver attempt to render areas outside the bounding box if requested from WFS or WMS?
Yes. Like I said, it's just used in the capabilities documents.
What are the implications of the bounding box being slightly wrong / wildly wrong?
From the GeoServer point of view, none, except your capabilities will report the wrong bounding box. The client may be a different story
The user manual (http://docs.codehaus.org/display/GEOSDOC/4+FeatureType+Config) seems to suggest that approximate values are ok so I'm guessing the answers to my questions are that it doesn't matter too much but in testing of editing Oracle data in uDig via WFS having the bounding box (wildly) wrong broke it all completely.
Hmmmm... That's probably more of a question for the uDig list. I mean, a WFS is supposed to report the right bounds, but I don't know why a good client would rely on that for anything more than like an overview. If you're actually downloading and editing features I'd imagine it should use the bounding boxes of the features returned by the WFS request, since it's included in all responses. But I don't know how the uDig code actually works (even though we use it too for cascading WFS, but we've never fully supported it so haven't looked at it in depth).
best regards,
Chris
cheers,
Tom
!DSPAM:4005,469792ae136981137850744!
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
!DSPAM:4005,469792ae136981137850744!
------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4005,469792ae136981137850744!