Stéphane Brunner c9f0d83aaf 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-11-18 14:49:43 +01:00

80 lines
2.3 KiB
INI

{
"layers": {
"Country": {
"abstract": "",
"displayInLegend": "True",
"baseLayer": "False",
"noLegendImage": "False",
"id": "country20131022151106556",
"title": "Country",
"singleTile": "False",
"groupAsLayer": "False",
"popup": "False",
"clientCacheExpiration": 300,
"link": "",
"toggled": "True",
"name": "Country",
"cached": "False",
"type": "layer",
"maxScale": 1000000000000,
"imageFormat": "image/png",
"minScale": 1
},
"Hello": {
"abstract": "",
"displayInLegend": "True",
"baseLayer": "False",
"noLegendImage": "False",
"id": "hello20131022151106574",
"title": "Hello",
"singleTile": "False",
"groupAsLayer": "False",
"popup": "False",
"clientCacheExpiration": 300,
"link": "",
"toggled": "True",
"name": "Hello",
"cached": "False",
"type": "layer",
"maxScale": 1000000000000,
"imageFormat": "image/png",
"minScale": 1
}
},
"options": {
"projection": {
"proj4": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs",
"ref": "EPSG:3857"
},
"initialExtent": [
-33626185.4981,
-13032965.1854,
33978427.7365,
21121731.156
],
"maxScale": 100000000,
"tmTimeFrameType": "seconds",
"mapScales": [
10000,
25000,
50000,
100000,
250000,
500000,
1000000,
10000000,
100000000
],
"tmTimeFrameSize": 10,
"tmAnimationFrameLength": 1000,
"bbox": [
-33626185.49808586,
-13032965.185421439,
33978427.73650816,
21121731.15603344
],
"print": "True",
"minScale": 10000
}
}