I Have a problem with this wfs query:

<wfs:GetFeature startIndex="0" count="20" service="WFS" version="2.0"
xmlns:wfs="http://www.opengis.net/wfs/2.0"; xmlns:fes="
http://www.opengis.net/fes/2.0";
xmlns:gml="http://www.opengis.net/gml/3.2"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd";>
<wfs:Query typeNames="<typeName>" srsName="EPSG:31469">
<fes:Filter><fes:Intersects><fes:ValueReference>geometria</fes:ValueReference>
<gml:Polygon srsName="EPSG:3857"><gml:exterior><gml:LinearRing><gml:posList>
1433958.4075616072 5765887.920716482
1433958.4075616072 5482153.671721908
1788626.218804825 5482153.671721908
1788626.218804825 5765887.920716482
1433958.4075616072 5765887.920716482
</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon>
</fes:Intersects></fes:Filter></wfs:Query></wfs:GetFeature>

The query finds no results.
But this similar query finds the reluts (correctly):
http://myhost/geoserver/ows?service=WFS&version=2.0.0&request=GetFeature&;
typeName=<typeName>&srsName=EPSG:31469&
bbox=1433958.4075616072,5482153.920716482,1788626.218804825,5765887.920716482,EPSG:3857&
maxFeatures=2

In both queries I have to specify the srs of bbox or polygon.
Can someone help me?
Thank in advance
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to