[CITE-Forum] wfs-1.1.0-Basic-GetFeature-tc14.1

Baris Kazar baris.kazar at oracle.com
Wed Jan 19 14:05:10 EST 2011


Hi,-
The request for wfs-1.1.0-Basic-GetFeature-tc14.1 is as follows:

<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs" service="WFS" version="1.1.0">
<wfs:Query xmlns:sf="http://cite.opengeospatial.org/gmlsf" typeName="sf:PrimitiveGeoFeature" srsName="urn:ogc:def:crs:EPSG::4326"/>
</wfs:GetFeature>

The assertion for this test:
<assertion>The geometry representations in the response must correspond to the CRS specified in the @srsName attribute, or the service default if not specified or unknown. Use values as recommended in RFC 5165 (e.g. 'urn:ogc:def:crs:EPSG:6.10.2:4326').</assertion>
<comment>GetFeature with the srs 'urn:ogc:def:crs:EPSG::4326'.  Pass if all of the following conditions are true: (1) the response is schema valid; (2) the root document is a wfs:FeatureCollection document; (3)  the response srs must be that which was requested.</comment>
<link>wfs-1.1.0-Basic-GetFeature-atc8</link>
<link>OGC 04-094, 9.2, p.36</link>


The response is as follows:
<value>
<wfs:FeatureCollection xmlns="http://www.occamlab.com/ctl"
                                 xsi:schemaLocation="http://cite.opengeospatial.org/gmlsf HTTP://localhost/the_servlet?featureTypeId=1 ">
<gml:boundedBy>
<gml:Envelope srsName="EPSG:4326">
<gml:lowerCorner>34.94 -10.52</gml:lowerCorner>
<gml:upperCorner>59.41276 30.899</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<gml:featureMember>
<sf:PrimitiveGeoFeature gml:id="PrimitiveGeoFeature.f001">
<gml:description>description-f001</gml:description>
<gml:name>name-f001</gml:name>
<sf:pointProperty>
<gml:Point srsName="SDO:4326">
<gml:pos>39.73245 2.00342 </gml:pos>
</gml:Point>
</sf:pointProperty>
<sf:intProperty>155</sf:intProperty>
<sf:uriProperty>http://www.opengeospatial.org/</sf:uriProperty>
<sf:measurand>12765</sf:measurand>
<sf:dateProperty>2006-10-25Z</sf:dateProperty>
<sf:decimalProperty>5.03</sf:decimalProperty>
</sf:PrimitiveGeoFeature>
</gml:featureMember>
<gml:featureMember>
<sf:PrimitiveGeoFeature gml:id="PrimitiveGeoFeature.f002">
<gml:description>description-f002</gml:description>
<gml:name>name-f002</gml:name>
<sf:pointProperty>
<gml:Point srsName="SDO:4326">
<gml:pos>59.41276 0.22601 </gml:pos>
</gml:Point>
</sf:pointProperty>
<sf:intProperty>154</sf:intProperty>
<sf:uriProperty>http://www.opengeospatial.org/</sf:uriProperty>
<sf:measurand>12769</sf:measurand>
<sf:dateProperty>2006-10-23Z</sf:dateProperty>
<sf:decimalProperty>4.02</sf:decimalProperty>
</sf:PrimitiveGeoFeature>
</gml:featureMember>
<gml:featureMember>
<sf:PrimitiveGeoFeature gml:id="PrimitiveGeoFeature.f003">
<gml:description>description-f003</gml:description>
<gml:name>name-f003</gml:name>
<sf:curveProperty>
<gml:Curve srsName="SDO:4326">
<gml:segments>
<gml:LineStringSegment>
<gml:posList>46.074 9.799 46.652 10.466 47.114 11.021 </gml:posList>
</gml:LineStringSegment>
</gml:segments>
</gml:Curve>
</sf:curveProperty>
<sf:intProperty>180</sf:intProperty>
<sf:measurand>672.1</sf:measurand>
<sf:dateProperty>2006-09-01Z</sf:dateProperty>
<sf:decimalProperty>12.92</sf:decimalProperty>
</sf:PrimitiveGeoFeature>
</gml:featureMember>
<gml:featureMember>
<sf:PrimitiveGeoFeature gml:id="PrimitiveGeoFeature.f008">
<gml:description>description-f008</gml:description>
<gml:name>name-f008</gml:name>
<sf:surfaceProperty>
<gml:Polygon srsName="SDO:4326">
<gml:exterior>
<gml:LinearRing>
<gml:posList>45.174 30.899 45.652 30.466 45.891 30.466 45.174 30.899 </gml:posList>
</gml:LinearRing>
</gml:exterior>
</gml:Polygon>
</sf:surfaceProperty>
<sf:intProperty>300</sf:intProperty>
<sf:measurand>783.5</sf:measurand>
<sf:dateProperty>2006-12-12Z</sf:dateProperty>
<sf:decimalProperty>18.92</sf:decimalProperty>
</sf:PrimitiveGeoFeature>
</gml:featureMember>
<gml:featureMember>
<sf:PrimitiveGeoFeature gml:id="PrimitiveGeoFeature.f015">
<gml:name>name-f015</gml:name>
<sf:pointProperty>
<gml:Point srsName="SDO:4326">
<gml:pos>34.94 -10.52 </gml:pos>
</gml:Point>
</sf:pointProperty>
<sf:intProperty>-900</sf:intProperty>
<sf:measurand>2.4</sf:measurand>
<sf:decimalProperty>7.9</sf:decimalProperty>
</sf:PrimitiveGeoFeature>
</gml:featureMember>
</wfs:FeatureCollection>
</value>
</param>
</params>
</starttest>
<message id="d40e28_1"><![CDATA[The expression '//@srsName='urn:ogc:def:crs:EPSG::4326'' is false.]]></message>
<endtest result="3"/>

Could you please tell us what is wrong with this request?
I searched this forum but could not find anything related to this request.
Maybe the srsName in the response is not expected as "EPSG:4326" or "SDO:4326"?
Could you please shed light on this?
Best regards
baris


More information about the CITE-Forum mailing list