Hi all,

Using "test:thematism_comuni" pubblished on demo.geo-solutions.it, the wfs
get query is similar to:
http://demo.geo-solutions.it/geoserver/ows?service=WFS&version=2.0.0&request=GetFeature&;
typeName=test:thematism_comuni&srsName=EPSG:32632&
bbox=1165463.28,5476058.98,1230727.67,5556802.37,EPSG:3857

This work, bat the next query sended using POST do not work, I recive (Is
it possible this is caused by server impostation?):

  <ows:Exception exceptionCode="MissingParameterValue" locator="request">
        <ows:ExceptionText>
            Could not determine geoserver request from http request
org.geoserver.monitor.MonitorServletRequest@5047f875
        </ows:ExceptionText>
    </ows:Exception>

<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="test:thematism_comuni" srsName="EPSG:32632">
<fes:Filter><fes:Intersects><fes:ValueReference>geom</fes:ValueReference>
<gml:Polygon srsName="EPSG:3857"><gml:exterior><gml:LinearRing><gml:posList>
1165463.28 5556802.37
1165463.28 5476058.98
1230727.67 5476058.98
1230727.67 5556802.37
1165463.28 5556802.37
</gml:posList></gml:LinearRing></gml:exterior></gml:Polygon>
</fes:Intersects></fes:Filter></wfs:Query></wfs:GetFeature>

For this reason I can not reproduce exactly the original query with demo
layer
Thank
Diego

Il giorno mar 23 ott 2018 alle ore 15:02 Rahkonen Jukka (MML) <
[email protected]> ha scritto:

> Hi,
>
>
>
> Please make a query that is using either some of the demo layers which are
> installed with Geoserver or some open Geoserver WFS server like
> https://demo.geo-solutions.it/geoserver/wfs?service=wfs&version=2.0.0&request=getfeature&typenames=topp:states&count=5
>
>
>
> -Jukka Rahkonen-
>
>
>
>
>
> *Lähettäjä:* Diego Sanmartino [mailto:[email protected]]
> *Lähetetty:* 23. lokakuuta 2018 15:40
> *Vastaanottaja:* [email protected]
> *Aihe:* [Geoserver-users] gml wfs getfeature with specified epsg
>
>
>
> 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