WFS/GetFeature: make it possible to retrieve the gml:boundedBy property with the request
----------------------------------------------------------------------------------------
Key: GEOS-843
URL: http://jira.codehaus.org/browse/GEOS-843
Project: GeoServer
Issue Type: New Feature
Components: WFS
Affects Versions: 1.4.0
Environment: Windows XP, default Geoserver 1.4.0 binary setup
Reporter: Frank Steggink
Assigned To: Andrea Aime
Priority: Minor
My mail to the Geoserver-users list, with Chris Holmes' reply
* I think it would be nice to (also) return the bounding box when the
client requests the gml:boundedBy property.
Yes, I agree. Could you make a separate feature request in our tracker
for that? We already have the infrastructure to make the boundedBy - we
just need to put a switch to activate it when a user requests it...
Sample request:
<wfs:GetFeature service="WFS" version="1.0.0"
outputFormat="GML2"
xmlns:topp="http://www.openplans.org/topp"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd"
maxFeatures="5">
<wfs:Query typeName="cbs:wijk_2005_gen">
<ogc:PropertyName>gml:boundedBy</ogc:PropertyName>
<ogc:PropertyName>the_geom</ogc:PropertyName>
<ogc:PropertyName>WK_CODE</ogc:PropertyName>
<ogc:PropertyName>GM_CODE</ogc:PropertyName>
<ogc:PropertyName>WK_NAAM</ogc:PropertyName>
<ogc:PropertyName>GM_NAAM</ogc:PropertyName>
</wfs:Query>
</wfs:GetFeature>
Note the gml:boundedBy property. This should let Geoserver return the bounding box, even if the switch in the server has been turned off.
--
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