As a result it is no longer possible to restrict the number of features returned by a WFS request from the query builder to mapserver (even though it is still possible to set a MAXFEATURES attribute in LAYER).
This PR adds maxFeatures in the WFS requests, as it is already done in the GetFeature plugin:
https://github.com/camptocamp/cgxp/blob/master/core/src/script/CGXP/plugins/GetFeature.js#L541
Config parameters
enable_limit_featurecollection
andmaxfeatures
have been removed in GMF 1.6. See how it worked in 1.5: https://github.com/camptocamp/c2cgeoportal/blob/1.5/c2cgeoportal/views/mapserverproxy.py#L237-L242As a result it is no longer possible to restrict the number of features returned by a WFS request from the query builder to mapserver (even though it is still possible to set a
MAXFEATURES
attribute inLAYER
). This PR addsmaxFeatures
in the WFS requests, as it is already done in the GetFeature plugin: https://github.com/camptocamp/cgxp/blob/master/core/src/script/CGXP/plugins/GetFeature.js#L541