diff --git a/python/server/auto_generated/qgsserverprojectutils.sip.in b/python/server/auto_generated/qgsserverprojectutils.sip.in index be242ec89d1..799dcf721ce 100644 --- a/python/server/auto_generated/qgsserverprojectutils.sip.in +++ b/python/server/auto_generated/qgsserverprojectutils.sip.in @@ -155,6 +155,13 @@ Returns the quality for WMS images defined in a QGIS project. %End int wmsMaxAtlasFeatures( const QgsProject &project ); +%Docstring +Returns the maximum number of atlas features which can be printed in a request + +:param project: the QGIS project + +:return: the number of atlas features +%End bool wmsUseLayerIds( const QgsProject &project ); %Docstring diff --git a/src/server/qgsserverprojectutils.h b/src/server/qgsserverprojectutils.h index 8b5d7f2c25c..c11026b667e 100644 --- a/src/server/qgsserverprojectutils.h +++ b/src/server/qgsserverprojectutils.h @@ -147,6 +147,11 @@ namespace QgsServerProjectUtils */ SERVER_EXPORT int wmsImageQuality( const QgsProject &project ); + /** + * Returns the maximum number of atlas features which can be printed in a request + * \param project the QGIS project + * \return the number of atlas features + */ SERVER_EXPORT int wmsMaxAtlasFeatures( const QgsProject &project ); /**