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

Reply via email to