[CITE-Forum] Test wfs:wfs-1.1.0-Basic-GetFeature-tc102.1
김도기
dogi.kim at gmail.com
Sun Nov 7 10:16:56 EST 2010
Hi all
When running test of "Test wfs:wfs-1.1.0-Basic-GetFeature-tc102.1". I get an
error for following request.
__/span>Test wfs:wfs-1.1.0-Basic-GetFeature-tc102.1<http://cite.opengeospatial.org/teamengine/listings/~2Flocal~2Fsrv~2Ftomcat~2Fwebapps~2Fteamengine~2FWEB-INF~2Fscripts~2Fwfs-1.1.0-r3~2Fctl~2Fall.html#wfs:wfs-1.1.0-Basic-GetFeature-tc102.1>
__/span>(View Details<http://cite.opengeospatial.org/teamengine/viewTestLog.jsp?test=s0010/d1e34887_1/d1e732_1/d1e25203_1/d1e16190_1/d1e8531_1>):
Failed
Test wfs:wfs-1.1.0-Basic-GetFeature-tc102.1
(s0010/d1e34887_1/d1e732_1/d1e25203_1/d1e16190_1/d1e8531_1)
Assertion:
The response to a GetFeature request that includes an ogc:Filter having an
Or predicate must include features that satisfy ANY of the constraints.
Request d1e9300_1:
Method: POST
URL: http://geonuris.ccigis.co.kr/geonuris/cite-wfs?GDX=cite.xml
Body:
<wfs:GetFeature xmlns="http://www.occamlab.com/ctl"
xmlns:ctl="http://www.occamlab.com/ctl"
xmlns:gml="http://www.opengis.net/gml"
xmlns:myparsers="http://teamengine.sourceforge.net/parsers"
xmlns:ogc="http://www.opengis.net/ogc"
xmlns:ows="http://www.opengis.net/ows"
xmlns:p="http://teamengine.sourceforge.net/parsers"
xmlns:parsers="http://www.occamlab.com/te/parsers"
xmlns:saxon="http://saxon.sf.net/"
xmlns:sf="http://cite.opengeospatial.org/gmlsf"
xmlns:te="http://www.occamlab.com/te"
xmlns:tec="java:com.occamlab.te.TECore"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
service="WFS"
version="1.1.0">
<wfs:Query srsName="urn:x-ogc:def:crs:EPSG:4326"
typeName="sf:EntitéGénérique">
<ogc:Filter>
<ogc:Or>
<ogc:PropertyIsEqualTo>
<ogc:PropertyName>sf:str4Property</ogc:PropertyName>
<ogc:Literal>abc3</ogc:Literal>
</ogc:PropertyIsEqualTo>
<ogc:BBOX>
<ogc:PropertyName>sf:attribut.Géométrie</ogc:PropertyName>
<gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:lowerCorner>34.0 15.0</gml:lowerCorner>
<gml:upperCorner>40.0 19.0</gml:upperCorner>
</gml:Envelope>
</ogc:BBOX>
</ogc:Or>
</ogc:Filter>
<ogc:SortBy>
<ogc:SortProperty>
<ogc:PropertyName>sf:str4Property</ogc:PropertyName>
<ogc:SortOrder>ASC</ogc:SortOrder>
</ogc:SortProperty>
</ogc:SortBy>
</wfs:Query>
</wfs:GetFeature>
Response from parser p:XMLValidatingParser.GMLSF1:
<wfs:FeatureCollection xmlns:gml="http://www.opengis.net/gml"
xmlns:sf="http://cite.opengeospatial.org/gmlsf"
xmlns:wfs="http://www.opengis.net/wfs"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
gml:id="sfc-001"
xsi:schemaLocation="http://cite.opengeospatial.org/gmlsf
http://geonuris.ccigis.co.kr/geonuris/cite-wfs?GDX=cite.xml&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType">
<gml:boundedBy>
<gml:Envelope srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:lowerCorner>34.94 -10.52</gml:lowerCorner>
<gml:upperCorner>71.96 32.19</gml:upperCorner>
</gml:Envelope>
</gml:boundedBy>
<gml:featureMember>
<sf:EntitéGénérique gml:id="f004">
<gml:description>description-f004</gml:description>
<gml:name
codeSpace="http://cite.opengeospatial.org/gmlsf">name-f004</gml:name>
<sf:attribut.Géométrie>
<gml:Polygon srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:exterior>
<gml:LinearRing>
<gml:posList>60.5 0 64 0 64 6.25 60.5 6.25 60.5
0</gml:posList>
</gml:LinearRing>
</gml:exterior>
<gml:interior>
<gml:LinearRing>
<gml:posList>61.5 2 62.5 2 62 4 61.5 2</gml:posList>
</gml:LinearRing>
</gml:interior>
</gml:Polygon>
</sf:attribut.Géométrie>
<sf:boolProperty>true</sf:boolProperty>
<sf:str4Property>abc3</sf:str4Property>
<sf:featureRef>name-f003</sf:featureRef>
</sf:EntitéGénérique>
</gml:featureMember>
<gml:featureMember>
<sf:EntitéGénérique gml:id="f007">
<gml:description>description-f007</gml:description>
<gml:name
codeSpace="http://cite.opengeospatial.org/gmlsf">name-f007</gml:name>
<sf:attribut.Géométrie>
<gml:Polygon srsName="urn:x-ogc:def:crs:EPSG:4326">
<gml:exterior>
<gml:LinearRing>
<gml:posList>35 15 40 16 39 20 37 22.5 36 18 35
15</gml:posList>
</gml:LinearRing>
</gml:exterior>
<gml:interior>
<gml:LinearRing>
<gml:posList>37.1 17.5 37.2 17.6 37.3 17.7 37.4
17.8 37.5 17.9 37 17.9 37.1 17.5</gml:posList>
</gml:LinearRing>
</gml:interior>
</gml:Polygon>
</sf:attribut.Géométrie>
<sf:boolProperty>false</sf:boolProperty>
<sf:str4Property>def4</sf:str4Property>
</sf:EntitéGénérique>
</gml:featureMember>
</wfs:FeatureCollection>
Message d1e9431_2:
FAILURE: sf:str4Property != "abc3" (gml:id = f007)
Result: Failed
I get above the message.
I don't know this reason why I get this result.
I think correct that is searched two features on the OR condition.
Please help me.
Best regards
Do-gi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengeospatial.org/pipermail/cite-forum/attachments/20101108/2d8bba9e/attachment-0001.htm>
More information about the CITE-Forum
mailing list