On 2020-02-26 09:08, Uwe Seher wrote:
Thank you! As i do not have any java skills it is maybe better not to provide a patch ;)

At the moment we are trying to fix the capabilities document. Additional i tried to change the wfs strategy to 'unstrict' via the web-formular, which i thougth matches maybe better then 'strict'.

2020-02-26 08:56:36,161 DEBUG [org.geotools.data.ows] - Executed request to URL: http://192.168.1.125:8000/wfs?REQUEST=GetCapabilities&VERSION=2.0.2&SERVICE=WFS 2020-02-26 08:56:36,161 WARN [org.geotools.data.wfs.internal] - Could not handle wfs strategy override nonstrict proceeding with autodetection 2020-02-26 08:56:36,161 DEBUG [org.geotools.data.wfs.internal] - Using WFS Strategy: org.geotools.data.wfs.internal.v2_0.StrictWFS_2_0_Strategy

Why is it not possible to change this? it always ends with autodetection, which uses at the end the default strategy. Is it possible to change this default setting?

There is no other WFS 2 strategy in the code (at least not in GeoTools 21.1). see: https://github.com/geotools/geotools/tree/21.1/modules/unsupported/wfs-ng/src/main/java/org/geotools/data/wfs/internal/v2_0

You can compare that to WFS 1.x: https://github.com/geotools/geotools/tree/21.1/modules/unsupported/wfs-ng/src/main/java/org/geotools/data/wfs/internal/v1_x

Strategies are always assigned/detected from within geotools, eg. characteristics of the capabilities document, a characteristic url etc. from within WFSclient:

https://github.com/geotools/geotools/blob/5df58c1ab9b9585655b2fc132e8f2b15c8bf5dae/modules/unsupported/wfs-ng/src/main/java/org/geotools/data/wfs/internal/WFSClient.java#L138-L161


Mark
_______________________________________________
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