More flexible options for including bounding boxes in GetFeature results
------------------------------------------------------------------------
Key: GEOS-3022
URL: http://jira.codehaus.org/browse/GEOS-3022
Project: GeoServer
Issue Type: Improvement
Components: WFS
Affects Versions: 1.7.4
Reporter: Gerhard Sommer
Assignee: Andrea Aime
If WFS is configured not to include bounding boxes, the bounding box for the
complete FeatureCollection is null or omitted:
<wfs:FeatureCollection xmlns="http://www.opengis.net/wfs"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:vienna="http://www.wien.gv.at/ows/wfs/gml"
xmlns:gml="http://www.opengis.net/gml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/wfs
http://ntsdeadv1:8080/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd
http://www.wien.gv.at/ows/wfs/gml
http://ntsdeadv1:8080/geoserver/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&typeName=vienna:MZK_SITFE">
<gml:boundedBy>
<gml:null>unknown</gml:null>
</gml:boundedBy>
<gml:featureMember>
...
Otherwise the bounding boxes for each feature are included too, which makes the
result document noticeably bigger.
I think, that it makes much sense to always include the correct bounding box
for all the features in the result, which is also not much overhead in the
output.
Maybe it can be made configurable in the WFS configuration with 2 options to
include bounding boxes:
- include bounding boxes for the FeatureCollection.
- include bounding boxes for each Feature.
Then one, both or nothing could be activated. For default, I would suggest to
activate only the bounding box for the FeatureCollection.
Best Regards,
Gerhard
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel