Great, thank you for the feedback !
On Mon, 2019-01-21 at 12:20 +0000, Verbeeck Bart (AIV) wrote:
> Thanks Nuno
>  
> I solved the issue.
> Different wfs settings (global vs workspaces)
>  
> Bart
>  
> From: Nuno Oliveira <nuno.olive...@geo-solutions.it> 
> Sent: zaterdag 19 januari 2019 0:32
> To: Verbeeck Bart (AIV) <bart.verbe...@kb.vlaanderen.be>; geoserver-u
> s...@lists.sourceforge.net
> Subject: Re: [Geoserver-users] srsName OGC HTTP URI storedquery
>  
> Hi,
>  
> I have tried to reproduce this but could not, if you wish to give it
> a try you can download the data set 
> and stored query I used from the following link:
> https://drive.google.com/file/d/1uCxzB-8wklx0kd7thLPwT6g9ITPlhvtv/vie
> w?usp=sharing
>  
> Best regards,
> Nuno Oliveira
>  
> On Wed, 2019-01-16 at 15:42 +0000, Verbeeck Bart (AIV) wrote:
> Dear list
>  
> When I invoke https://inspire.informatievlaanderen.be/overdrachtdiens
> ten/hy-n/wfs?request=GetFeature&typename=hy-
> n:WatercourseLink&srsName=http://www.opengis.net/def/crs/EPSG/0/4258&;
> service=WFS&count=1
>  
> I get GML with  srsName="http://www.opengis.net/def/crs/EPSG/0/4258";
>  
> When I call  a storedquery I get the same result https://inspire.info
> rmatievlaanderen.be/overdrachtdiensten/hy-
> p/wfs?request=GetFeature&Language=dut&CRS=http://www.opengis.net/def/
> crs/EPSG/0/4258&DataSetIdNamespace=informatievlaanderen-
> be&service=WFS&count=1&STOREDQUERY_ID=urn:x-inspire:storedQuery:hy-
> n:GetSpatialDataSet&version=2.0.0&DataSetIdCode=2aed0b7b-890f-47ba-
> 84ec-c0b87227a64c
>  
> But with  srsName="urn:ogc:def:crs:EPSG::4258"
>  
> This means the storedquery ignores my wfs setting (OGC HTTP URI)
> 
>  
> Below you find my stored query definition.
>  
> This happens in 2.13.1 and in 2.14.1
>  
> Is this a geoserver issue, or did I do something wrong?
>  
> Thanks!
>  
> Bart
>  
>  
>  
> <?xml version="1.0" encoding="UTF-8"?>
> <wfs:StoredQueryDescription
>         xmlns:xs="http://www.w3.org/2001/XMLSchema";
>         xmlns:fes="http://www.opengis.net/fes/2.0";
>         xmlns:wfs="http://www.opengis.net/wfs/2.0";
>         xmlns:gml="http://www.opengis.net/gml/3.2";
>         xmlns:ows="http://www.opengis.net/ows/1.1";
>         xmlns:xlink="http://www.w3.org/1999/xlink";
>         id="urn:x-inspire:storedQuery:hy-n:GetSpatialDataSet">
> <wfs:Parameter name="CRS" type="xsd:string"/>
> <wfs:Parameter name="DataSetIdCode" type="xsd:string"/>
> <wfs:Parameter name="DataSetIdNamespace" type="xsd:string"/>
> <wfs:Parameter name="Language" type="xsd:string"/>
> 
> language="urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression"
> returnFeatureTypes="hy-n:WatercourseLink">
> <wfs:Query wfs:srsName="${CRS}" wfs:typeNames="hy-n:WatercourseLink">
> </wfs:Query>
> </wfs:QueryExpressionText>
> </wfs:StoredQueryDescription>
>  
> _______________________________________________
> 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://w
> ww.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/co
> mm/userlist-guidelines.html
>  
> If you want to request a feature or an improvement, also see this: ht
> tps://github.com/geoserver/geoserver/wiki/Successfully-requesting-
> and-integrating-new-features-and-improvements-in-GeoServer
>  
>  
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> -- 
> Regards,
> Nuno Oliveira
> ==
> GeoServer Professional Services from the
> experts! 
> Visit http://goo.gl/it488V for more information.
> ==
>  
> Nuno Miguel Carvalho Oliveira
> @nmcoliveira
> Software Engineer
>  
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:      +39 0584 1660272
>  
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>  
> -------------------------------------------------------
>  
> Con riferimento alla normativa sul trattamento dei dati 
> personali (Reg. UE 2016/679 - Regolamento generale sulla 
> protezione dei dati “GDPR”), si precisa che ogni 
> circostanza inerente alla presente email (il suo contenuto, 
> gli eventuali allegati, etc.) è un dato la cui conoscenza 
> è riservata al/i solo/i destinatario/i indicati dallo 
> scrivente. Se il messaggio Le è giunto per errore, è 
> tenuta/o a cancellarlo, ogni altra operazione è illecita. 
> Le sarei comunque grato se potesse darmene notizia.
>  
> This email is intended only for the person or entity to 
> which it is addressed and may contain information that 
> is privileged, confidential or otherwise protected from 
> disclosure. We remind that - as provided by European 
> Regulation 2016/679 “GDPR” - copying, dissemination or 
> use of this e-mail or the information herein by anyone 
> other than the intended recipient is prohibited. If you 
> have received this email by mistake, please notify 
> us immediately by telephone or e-mail.
-- 
Regards,
Nuno Oliveira
==
GeoServer Professional Services from the
experts! 
Visit http://goo.gl/it488V for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

Con riferimento alla normativa sul trattamento dei dati 
personali (Reg. UE 2016/679 - Regolamento generale sulla 
protezione dei dati “GDPR”), si precisa che ogni 
circostanza inerente alla presente email (il suo contenuto, 
gli eventuali allegati, etc.) è un dato la cui conoscenza 
è riservata al/i solo/i destinatario/i indicati dallo 
scrivente. Se il messaggio Le è giunto per errore, è 
tenuta/o a cancellarlo, ogni altra operazione è illecita. 
Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to 
which it is addressed and may contain information that 
is privileged, confidential or otherwise protected from 
disclosure. We remind that - as provided by European 
Regulation 2016/679 “GDPR” - copying, dissemination or 
use of this e-mail or the information herein by anyone 
other than the intended recipient is prohibited. If you 
have received this email by mistake, please notify 
us immediately by telephone or e-mail.
_______________________________________________
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


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to