27 Commits

Author SHA1 Message Date
Alessandro Pasotti
1f862cadc6 Waste my time with Travis 2019-04-17 14:12:30 +02:00
David Signer
8d1ceda878 correct images from qgis travis build 2019-02-25 15:10:14 +01:00
rldhont
81aa143923 [Server][Feature][needs-docs] WMTS tile matrices configuration
In QGIS Server 3.4, the WMTS API has been added in which the tile matrices are calculated except fro EPSG:3857 and EPSG:4326.

This commit adds the capability to select the tile matrices to use with the project and to configure the top-left corner and the last level of the tile matrix. In the case of EPSG:3857 and EPSG:4326, the user can only choose the last level of the tile matrices.

Funded by Ifremer.
2019-01-17 15:29:30 +01:00
mhugent
54a5fae0b7
Merge pull request #8781 from mhugent/get_atlas_print
[server][needs-docs] Get atlas print
2019-01-07 10:42:23 +01:00
Marco Hugentobler
179be5af3b Add atlas to test project 2019-01-05 15:16:38 +01:00
Alessandro Pasotti
3c2392808d Update control images 2019-01-04 19:30:28 +01:00
Nyall Dawson
06d5f924f6 More square brackets 2018-12-19 05:21:49 +10:00
Nyall Dawson
089a2f1c17 [FEATURE][layouts] Add new setting to control whether map items
should show partial labels

Layout map items no longer respect the default project setting
for "show partial labels", and instead have their own, per map
setting for this option. (Under the map item properties,
labeling settings button).

The map item setting always defaults to off (unlike the canvas
setting, which defaults to true for a new project) as layouts
should always default to the settings which produce the highest
quality cartographic outputs.

In general I suspect that most users would always want to avoid
rendering partial labels in layouts, but this setting was
previously so deeply hidden that most are unaware of how to
change it. (And previous discussion about changing the canvas
setting to hide partial labels deemed this default undesirable
for the canvas, where showing even a small part of a label
on the map border can help identify what sits just on/off
the edges of the map)
2018-12-18 15:32:29 +10:00
Blottiere Paul
51a27b31b1 Update tests 2018-11-29 11:49:58 +00:00
Tudor Bărăscu
2cf8f74c71 test server rendering debian buster bug #18988 2018-11-16 08:49:55 +02:00
rldhont
2075141af9 [Server] Fixing tests 2018-08-21 15:11:51 +02:00
rldhont
9463d04d54 [Server][Feature][needs-docs] Update cache manager tests for images (tiles) 2018-08-20 11:23:51 +02:00
rldhont
385de9db00 [Server][Feature][needs-docs] Create WMTS service Tests 2018-08-20 11:23:50 +02:00
Stéphane Brunner
24f97f0205 Fix the Access control in the WMS groups
- Reactivate the tests
- Split the tests in more then one file
- Add WMS groups tests
- Use standard test font
2018-08-14 11:31:00 +02:00
Thibault Coupin
1feb971daf [WMSServer] Fix QgsServerWMS and remove absolute path in qgs files 2018-07-26 21:51:25 +02:00
Thibault Coupin
fd5c8e7fbf [WMSServer] Add unit test for group short name for getcapabilities and getmap operations 2018-07-26 11:10:39 +02:00
Blottiere Paul
96a0b4777c Add unit test 2018-05-17 13:17:28 +01:00
pierre-eric
ac27347a9e [server] Fix layers group handling
Load layers groups from project file to be able to use them in queries.

Fixes #17668
2018-01-17 10:51:34 +01:00
Alessandro Pasotti
d63f4c7658 [server][test] GetPrint test with two maps template
This is to test that map0 and map1 actually refer to the
correct maps
2018-01-11 11:20:08 +01:00
rldhont
7c1d397288 [Server] WMS GetPrint refactoring 2017-09-19 07:34:33 +02:00
Blottiere Paul
e663d192e3 Add/update tests 2017-05-30 13:37:35 +02:00
Blottiere Paul
f3a5c98178 remove QgsMapRenderer 2016-12-12 07:50:22 +01:00
Nyall Dawson
ab73c0364c Add unit tests for WMS server access control with request filters 2016-02-23 11:48:10 +11:00
Nyall Dawson
ba7dc0d7e7 Add unit tests for #13919 2016-02-22 10:20:22 +11:00
Sebastian Dietrich
d26bd46d99 remove 'layercount' attribute from project file
The 'layercount' attribute was not used anyway and the calculated number could already be outdated when loading the project file again due to changes to embedded projects.
2016-01-08 16:10:58 +01:00
Nyall Dawson
4203a7c1f4 Add method to determine approximate rendered symbol bounds for markers
Sponsored by City of Uster
2015-11-20 19:55:02 +11:00
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