[udig-devel] [jira] Created: (UDIG-869) WFS sends unsupported
functions to server
Jesse Eichar (JIRA)
jira at codehaus.org
Tue Jun 27 07:32:40 PDT 2006
WFS sends unsupported functions to server
-----------------------------------------
Key: UDIG-869
URL: http://jira.codehaus.org/browse/UDIG-869
Project: uDIG
Type: Bug
Components: wfs
Versions: UDIG 1.1.RC1
Reporter: Jesse Eichar
Assigned to: Jesse Eichar
Priority: Blocker
Fix For: UDIG 1.1.RC2
The Ionic WFS advertizes its geometry as a gml:GeometryAssociationType
<xsd:element name="ORA_GEOMETRY" minOccurs="0" nillable="true"
type="gml:GeometryAssociationType">
uDIG is trying to do a request using a function called geometryType which
is not supported by Ionic, so here the communication stops. The actual
request which is sent is:
/ionicweb/wfs/ORATEST?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&FILTER=
<Filter xmlns="http://www.opengis.net/ogc"
xmlns:gml="http://www.opengis.net/gml"><And><BBOX><PropertyName>ORA_GEOMETRY</PropertyName>
<gml:Box><gml:coordinates decimal="." cs="," ts="
">4.6445744998371365,52.15381744014821
4.9765400325831814,52.26673139053629</gml:coordinates>%0
A</gml:Box></BBOX>
<Or><Or><Or><Or><Or><Or><PropertyIsEqualTo><Function name%
3D"geometryType"><PropertyName>ORA_GEOMETRY</PropertyName>
</Function>
<Literal>Point</Literal>
</PropertyIsEqualTo>
<PropertyIsEqualTo><Function name="geometryType"><PropertyName>ORA_GEOM
ETRY</PropertyName>
</Function>
<Literal>MultiPoint</Literal>
</PropertyIsEqualTo>
</Or>
<PropertyIsEqualTo><Function
name="geometryType"><PropertyName>ORA_GEOMETRY</PropertyName>
</Function>
<Literal>LineString</Literal>
</PropertyIsEqualTo>
</Or>
<PropertyIsEqualTo>
<Function name="geometryType"><PropertyName>ORA_GEOMETRY</PropertyName>
</Function>
<Literal>LinearRing</Literal>
</PropertyIsEqualTo>
</Or>
<PropertyIsEqualTo><Function name="geometry
Type"><PropertyName>ORA_GEOMETRY</PropertyName>
</Function>
<Literal>MultiLineString</Literal>
</PropertyIsEqualTo>
</Or>
<PropertyIsEqualTo><Function
name="geometryType"><PropertyName>ORA_GEOMETRY</PropertyName>
</Function>
<Literal>Polygon</Literal>
</PropertyIsEqualTo>
</Or>
<PropertyIsEqualTo><Function
name="geometryType"><PropertyName>ORA_GEOMETRY</PropertyName>
</Function>
<Literal>MultiPolygon</Literal>
</PropertyIsEqualTo>
</Or>
</And>
</Filter>
&TYPENAME=iwfs:VLAKKEN
My questions/remarks are:
1) why does uDIG add this filter? Does it need to make sure that only
geometry types are coming in that it can deal with?
2) shouldn't it check the WFS GetCapabilities response to see if this
function is supported? Also, in which OGC spec is this function defined?
3) if the function is not supported, should it not just do a normal
GetFeature request without this geometryType filter and just see what
geometry types arrive?
--
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
More information about the udig-devel
mailing list