Hi,

I want to make a GetFeature query using a filter which is based on
Intersects and an envelope. If the lower corner of the envelope equals the
upper corner, the query always returns nothing.
Is that the expected behavior? If I use a Filter 1.1 based on a box in a WMS
SLD, the query styles the map as expected.

<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs";
    xmlns:ogc="http://www.opengis.net/ogc"; xmlns:myns="url"
    service="WFS" version="1.1.0">
    <wfs:Query typeName="myns:states">
        <wfs:PropertyName>name</wfs:PropertyName>
        <ogc:Filter>
            <ogc:Intersects xmlns:gml="http://www.opengis.net/gml";>
                <ogc:PropertyName>the_geom</ogc:PropertyName>
                <gml:Envelope srsName="
http://www.opengis.net/gml/srs/epsg.xml#900913";>
                    <gml:lowerCorner>-6089786.7416667
-3923253.4916667</gml:lowerCorner>
                    <gml:upperCorner>-6089786.7416667
-3923253.4916667</gml:upperCorner>
                </gml:Envelope>
            </ogc:Intersects>
        </ogc:Filter>
    </wfs:Query>
</wfs:GetFeature>
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to