2014-10-09 15:05:19 +02:00
|
|
|
%Module(name=qgis._server,
|
|
|
|
version=0,
|
|
|
|
keyword_arguments="Optional")
|
|
|
|
|
|
|
|
|
|
|
|
%Import QtCore/QtCoremod.sip
|
|
|
|
%Import QtGui/QtGuimod.sip
|
|
|
|
%Import QtXml/QtXmlmod.sip
|
|
|
|
|
|
|
|
%Import core/core.sip
|
|
|
|
|
2015-05-29 10:19:51 +02:00
|
|
|
%Feature HAVE_SERVER_PYTHON_PLUGINS
|
|
|
|
|
|
|
|
%If (HAVE_SERVER_PYTHON_PLUGINS)
|
2014-10-09 15:05:19 +02:00
|
|
|
%Include qgsserverfilter.sip
|
2015-05-29 10:19:51 +02:00
|
|
|
%Include qgsserverinterface.sip
|
The plugin define the following methods:
* layerFilterExpression
Return an additional filter, used in
WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature to filter the features
* layerFilterSubsetString
Return an additional the subset string (typically SQL) filter.
Faster than the layerFilterExpression but not supported on all the
type of layer
* layerPermissions
Change the rights on the layer per user (known by the plugin)
Concern rights: publish, insert, update, delete.
Mostly used in WFS/Transaction, and the publish in all requests.
* authorizedLayerAttributes
Be able to show some attributes only for a subset of user
Used in: WMS/GetFeatureInfo, WFS/GetFeature
* allowToEdit
Be able to don't allow to edit a particular feature, in our case base
on the Geometry
Used in: WFS/Transaction
* cacheKey
Cache key to used to create the capabilities cache, "" for no cache,
shouldn't contains any "-", default to ""
2015-05-19 15:53:51 +02:00
|
|
|
%Include qgsaccesscontrolfilter.sip
|
|
|
|
%Include qgsaccesscontrol.sip
|
2015-05-29 10:19:51 +02:00
|
|
|
%End
|
|
|
|
|
2014-10-09 15:05:19 +02:00
|
|
|
%Include qgsmapserviceexception.sip
|
|
|
|
%Include qgscapabilitiescache.sip
|
|
|
|
%Include qgsrequesthandler.sip
|
2015-05-29 10:19:51 +02:00
|
|
|
%Include qgsserverprojectparser.sip
|
|
|
|
%Include qgswcsprojectparser.sip
|
|
|
|
%Include qgswmsconfigparser.sip
|
|
|
|
%Include qgswmsprojectparser.sip
|
|
|
|
%Include qgswfsprojectparser.sip
|
|
|
|
%Include qgsconfigcache.sip
|
|
|
|
%Include qgsserver.sip
|