Re: [Geotools-gt2-users] geotools with WFS 2.0.0

2022-01-10 Thread Mark Prins

On 10-01-2022 09:46, Benjamin Sokolowski wrote:

Hi all, Happy New Year,

i'm using geotools version 22.3 and a mapserver wfs.
I want to process WFS 2.0.0 POST-Requests with that mapserver. (later i 
want to implement paging)

But it seems like geotools doesn't support WFS 2.0.0 for mapserver.
As shown in the code, if the url contains anything like "map=" or 
"mapserver" the 
"org.geotools.data.wfs.internal.v1_x.MapServerWFSStrategy" is used (see 
org.geotools.data.wfs.internal.WFSClient.determineCorrectStrategy()). 
That strategy supports only WFS 1.0.0 or 1.1.0.


Does geotools not support WFS 2.0.0?


You may be able to coerce GeoTools into using the 
org.geotools.data.wfs.internal.v2_0.StrictWFS_2_0_Strategy using a 
specific WFSConfig


It's been a while since I've tried anything with that module

Mark


___
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


Re: [Geotools-gt2-users] geotools with WFS 2.0.0

2022-01-10 Thread Ian Turton
GeoTools is happy with WFS 2.0.0 but obviously the MapServer strategy
doesn't - that may be an oversight or it might be that MapServer didn't
support 2.0.0 when that code was written. Anyway always happy to receive
code contributions.

Ian

On Mon, 10 Jan 2022 at 09:03, Benjamin Sokolowski <
benjamin.sokolow...@data-experts.de> wrote:

> Hi all, Happy New Year,
>
> i'm using geotools version 22.3 and a mapserver wfs.
> I want to process WFS 2.0.0 POST-Requests with that mapserver. (later i
> want to implement paging)
> But it seems like geotools doesn't support WFS 2.0.0 for mapserver.
> As shown in the code, if the url contains anything like "map=" or
> "mapserver" the "org.geotools.data.wfs.internal.v1_x.MapServerWFSStrategy"
> is used (see
> org.geotools.data.wfs.internal.WFSClient.determineCorrectStrategy()). That
> strategy supports only WFS 1.0.0 or 1.1.0.
>
> Does geotools not support WFS 2.0.0?
>
> Thanks
> Benjamin ___
> GeoTools-GT2-Users mailing list
> GeoTools-GT2-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>


-- 
Ian Turton
___
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users


[Geotools-gt2-users] geotools with WFS 2.0.0

2022-01-10 Thread Benjamin Sokolowski
Hi all, Happy New Year,

i'm using geotools version 22.3 and a mapserver wfs.
I want to process WFS 2.0.0 POST-Requests with that mapserver. (later i 
want to implement paging)
But it seems like geotools doesn't support WFS 2.0.0 for mapserver. 
As shown in the code, if the url contains anything like "map=" or 
"mapserver" the "org.geotools.data.wfs.internal.v1_x.MapServerWFSStrategy" 
is used (see 
org.geotools.data.wfs.internal.WFSClient.determineCorrectStrategy()). That 
strategy supports only WFS 1.0.0 or 1.1.0.

Does geotools not support WFS 2.0.0?

Thanks
Benjamin
___________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users