[Geoserver-users] XML request: intersection with multipolygon

Hello, Geoserver list!

Thanks for previous answers about axis ordering.

Now I am wondering is it possible to define somehow MULTIPOLYGON in this query? or how can I define separately a couple of polygon’s coordinates and use something like ‘OR’ between them???

Thank you in advance!


<?xml version="1.0" encoding="UTF-8"?>\
        <wfs:GetFeature version="1.1.0" service="WFS" outputFormat="application/json"  srsname="[http://www.opengis.net/gml/srs/epsg.xml#3301](http://www.opengis.net/gml/srs/epsg.xml#3301)" xmlns:wfs="[http://www.opengis.net/wfs](http://www.opengis.net/wfs)" xmlns:ogc="[http://www.opengis.net/ogc](http://www.opengis.net/ogc)" xmlns:gml="[http://www.opengis.net/gml](http://www.opengis.net/gml)" xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)" xmlns:ermas="[http://loom-gis.geo.ut.ee:8080/geoserver/ermas](http://loom-gis.geo.ut.ee:8080/geoserver/ermas)" xsi:schemaLocation="[http://www.opengis.net/wfs](http://www.opengis.net/wfs)  [http://schemas.opengis.net/wfs/1.1.0/wfs.xsd](http://schemas.opengis.net/wfs/1.1.0/wfs.xsd)">\
    <wfs:Query typeName="ermas:testdata_geopnt">\
    <ogc:Filter>\
    <ogc:Intersects>\
    <ogc:PropertyName>ermas:geometry</ogc:PropertyName>\
    <gml:Polygon srsName="urn:ogc:def:axis:EPSG::3301" gml:id="x">\
    <gml:exterior>\
    <gml:LinearRing>\
    <gml:coordinates>6528500,512000 6465500,504500 6476000,576000 6545500,576500 6528500,512000</gml:coordinates>\
    </gml:LinearRing>\
    </gml:exterior>\
    </gml:Polygon>\
    </ogc:Intersects>\
    </ogc:Filter>\
    </wfs:Query>\
    </wfs:GetFeature>