Hi,

Perhaps Geoserver wants to get BBOX as GML3 because you are using WFS 1.1.0.  
Try version 1.0.0 if you want to give "coordinates", or use "posList" with WFS 
1.1.0.

-Jukka Rahkonen-


-----Alkuperäinen viesti-----
Lähettäjä: Fernando Barbat [mailto:[email protected]]
Lähetetty: ma 20.12.2010 20:02
Vastaanottaja: [email protected]
Aihe: [Geoserver-users] NullPointerException on GetFeature
 
Hi,

Geoserver throws NullPointerException with this query:

<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs";
    xmlns:ogc="http://www.opengis.net/ogc"; service="WFS" version="1.1.0"
    resultType="hits">
    <wfs:Query typeName="gras:departamentos">
        <ogc:Filter>
            <ogc:Intersects xmlns:gml="http://www.opengis.net/gml";>
                <ogc:PropertyName>the_geom</ogc:PropertyName>
                <gml:Box srsName="
http://www.opengis.net/gml/srs/epsg.xml#900913";>
                    <gml:coordinates decimal="." cs="," ts="
">-6042798.4142992,-3843801.580817
-6041169.0249866,-3842172.1915044</gml:coordinates>
                </gml:Box>
            </ogc:Intersects>
        </ogc:Filter>
    </wfs:Query>
</wfs:GetFeature>

Any idea?

Thanks


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to