Select to view content in your preferred language

Geometry in Filter WFS not supported

4208
2
04-05-2011 02:22 AM
albertvalls
Emerging Contributor
I'm trying to make a getFeatures query with one of the geometries supported by AGS, like it's said in:

    http://webhelp.esri.com/arcgisserver/9.3.1/Java/index.htm#wfs_service.htm

My query to the WFS with a this filter:

<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml">
  <ogc:Intersects>
    <ogc:PropertyName>Shape</ogc:PropertyName>
    <gml:MultiSurface>
      <gml:surfaceMember>
        <gml:Polygon>
          <gml:exterior>
            <gml:LinearRing>
              <gml:posList>400101.9811312 4568752.4370499 401901.14682631 4568077.7499143 400697.29330973 4567336.916981 400101.9811312 4568752.4370499</gml:posList>
            </gml:LinearRing>
          </gml:exterior>
        </gml:Polygon>
      </gml:surfaceMember>
      <gml:surfaceMember>
        <gml:Polygon>
          <gml:exterior>
            <gml:LinearRing>
              <gml:posList>401940.83430488 4569599.1032594 402866.87547149 4569903.3739284 402866.87547149 4568831.8120071 401940.83430488 4569599.1032594</gml:posList>
            </gml:LinearRing>
          </gml:exterior>
        </gml:Polygon>
      </gml:surfaceMember>
    </gml:MultiSurface>
  </ogc:Intersects>
</ogc:Filter>


And the response:

   <ows:ExceptionReport version='1.1.0' language='en' xmlns:ows='http://www.opengis.net/ows'>   <ows:Exception exceptionCode='InvalidParameterValue'><ows:ExceptionText>The spatial operation is invalid (Unsupported geometry type: MultiSurface).</ows:ExceptionText></ows:Exception></ows:ExceptionReport>


After that, I've seen that the capabilities tells that the supported filter geometries are:

<ogc:GeometryOperands><ogc:GeometryOperand>gml:Envelope</ogc:GeometryOperand><ogc:GeometryOperand>gml:Point</ogc:GeometryOperand><ogc:GeometryOperand>gml:Polygon</ogc:GeometryOperand><ogc:GeometryOperand>gml:LineString</ogc:GeometryOperand></ogc:GeometryOperands>

So, I am doing something wrong or the documentation is wrong when it says that MultiPoint, MultiCurve and MultiSurface are supported ???

Someone has been able to use them?

thanks,
albert
0 Kudos
2 Replies
albertvalls
Emerging Contributor
I'm using Arcgis server 9.3.1 with SP2.
0 Kudos
albertvalls
Emerging Contributor
This is the response from esri spain....

To sum up: the web help is wrong, and it's only supported in new version 10.1.


-------------------------



Lamentamos informarle de que el comportamiento descrito obedece a una limitación reconocida del software que ha sido clasificada como



NIM059020: MultiSurface is included in the WFS Services supported filters list in Web Help when it is actually not supported.



Las geometrías soportadas por ESRI para la implementación OGC del �??Filter�?? son Envelope, Point, MultiPoint, LineString, Polygon, y  Box. Box está soportada solo para el  GML 2.1.2.



Por otra parte, nos complace informarle de que está limitación ha sido subsanada en la versión 10.1 del software.



Atentamente,
0 Kudos