Hey guys, we are trying to send the following to GS 1.3.3
<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=“http://www.opengis.net/ogc” xmlns:gml=“http://www.opengis.net/gml” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=“http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd”>
<wfs:Query typeName=“topp:ESL_04_05”>
CATEGORY
NAME
MAPNAME
the_geom
<gml:Point srsName=“http://www.opengis.net/gml/srs/epsg.xml#4326”>
gml:coordinates115.96683000,-31.90082000</gml:coordinates>
</gml:Point>
</wfs:Query>
</wfs:GetFeature>
As we are only interested in the aspatial data, the_geom is obviously not required in the response and we get the following,
<wfs:FeatureCollection xsi:schemaLocation=“http://www.openplans.org/topp http://xxxxxxx.com/geoserver/wfs/DescribeFeatureType?typeName=topp:ESL_04_05 http://www.opengis.net/wfs http://beta.landgate.com.au:80/geoserver/schemas/wfs/1.0.0/WFS-basic.xsd”>
gml:nullunknown</gml:null>
</gml:boundedBy>
<topp:ESL_04_05 fid=“ESL_04_05.52”>
gml:nullunknown</gml:null>
</gml:boundedBy>
topp:CATEGORY1</topp:CATEGORY>
topp:NAMEMetropolitan</topp:NAME>
topp:MAPNAMEMETROPOLITAN CATEGORY 1 BOUNDARY</topp:MAPNAME>
</topp:ESL_04_05>
</gml:featureMember>
</wfs:FeatureCollection>
This results in a significantly smaller and quicker response, but boundedBy always reports as “unknown”. Is there anyway to not request the feature geometry while still returning the Boundedby element?
The obvious application here is doing a point in polygon request, getting the poly attribute and then zooming to its extents. I really do not like the alternative of retrieving 400kb in feature geometry just to get the bbox L
Any ideas?
Chris Tweedie.
This e-mail and any files transmitted with it are intended only for the use of the addressee(s). It may contain information that is confidential and privileged. If you are not an intended recipient, any use, interference with, disclosure, distribution or copying of this material is unauthorised and prohibited. If you receive this in error, please notify the author by Return email to the sender. Information in this message not relating to the official business of DLI shall be understood as neither given nor endorsed by it. While every care is taken, it is recommended that you scan any attachments for viruses. DLI liability is limited to re-supplying affected attachments.