[Geoserver-users] gml wfs getfeature with specified epsg

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:diego.sanmartino@…84…]
Lähetetty: 23. lokakuuta 2018 15:40
Vastaanottaja: Geoserver-users@lists.sourceforge.net
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=“” srsName=“EPSG:31469”>
fes:Filterfes:Intersectsfes:ValueReferencegeometria</fes:ValueReference>
<gml:Polygon srsName=“EPSG:3857”>gml:exteriorgml:LinearRinggml: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=&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

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@anonymised.com
</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:Filterfes:Intersectsfes:ValueReferencegeom</fes:ValueReference>
<gml:Polygon srsName=“EPSG:3857”>gml:exteriorgml:LinearRinggml: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) <jukka.rahkonen@anonymised.com> 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:diego.sanmartino@anonymised.com]
Lähetetty: 23. lokakuuta 2018 15:40
Vastaanottaja: Geoserver-users@lists.sourceforge.net
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=“” srsName=“EPSG:31469”>
fes:Filterfes:Intersectsfes:ValueReferencegeometria</fes:ValueReference>
<gml:Polygon srsName=“EPSG:3857”>gml:exteriorgml:LinearRinggml: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=&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