From 7d5ed014f005f92058f573246a9c217366b792a1 Mon Sep 17 00:00:00 2001 From: Jakob Miksch Date: Tue, 7 Nov 2023 12:31:08 +0100 Subject: [PATCH] Server: Add example how to filter WFS by polygon --- docs/server_manual/services/wfs.rst | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/docs/server_manual/services/wfs.rst b/docs/server_manual/services/wfs.rst index 2ee521b2f75..d4690327599 100644 --- a/docs/server_manual/services/wfs.rst +++ b/docs/server_manual/services/wfs.rst @@ -375,6 +375,32 @@ In case of multiple typenames, filters have to be enclosed in parentheses: &TYPENAME=places,countries &FILTER=(nameParis)(nameFrance) +Filter features that intersect with a polygon: + +.. code-block:: bash + + http://localhost/qgisserver? + SERVICE=WFS + &REQUEST=GetFeature + &VERSION=1.1.0 + &TYPENAME=places + &FILTER= + + geometry + + + + + -0.6389 42.5922 + 10.2683 51.9106 + 14.5196 41.0320 + -0.6389 42.5922 + + + + + + .. _wfs_getfeature_bbox: