Hello Gerald,
thank you!
I set the variable and I see in the log file the following message
"15:41:27 INFO Server[93]: - QGIS_SERVER_API_WFS3_MAX_LIMIT /
'/qgis/server_api_wfs3_max_limit' (Maximum value for "limit" in a features
request, defaults to 1): '1000' (read from ENVIRONMENT_VARIABLE) "
So, it should work, but the WFS requests are still returning all
features...How can I debug this?
Best regards, Tommaso
On Tuesday 17 January 2023 15:30:55 (+01:00), Gerald Kogler via QGIS-User
wrote:
> Hi Tom,
>
> I think QGIS_SERVER_API_WFS3_MAX_LIMIT is what you are looking for:
https://docs.qgis.org/3.22/en/docs/server_manual/config.html#environment-variables
> For sure you always can limit it also from the request using
MAXFEATURES, which is a standard OGC WFS parameter:
https://docs.qgis.org/3.22/en/docs/server_manual/services/wfs.html#wfs-getfeature-maxfeatures
> hope that helps
> Gerald
>
>
>
> On 17/1/23 15:22, Tom via QGIS-User wrote:
> > Hello,
> > I want to limit the number of WFS features serve by Qgis Server.
> > In Geoserver one can configure this in "Maximum number of features"
> > There is such a option in Qgis Server?
> > Best regards, Tommaso
> > ___
> > QGIS-User mailing list
> > QGIS-User@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ___
> QGIS-User mailing list
> QGIS-User@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
--
Sent with Vivaldi Mail. Download Vivaldi for free at vivaldi.com
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user