1234 Commits

Author SHA1 Message Date
Hugo Mercier
9ed5b3f874
Merge pull request #9063 from mhugo/fix_19355
Fix $length in labels
2019-02-14 14:34:13 +01:00
Hugo Mercier
809196693c Fix $length in labels (fixes #19355)
Use the project expression scope to access project
parameters (ellipsoid and distance/area units)
2019-02-14 13:40:12 +01:00
Alessandro Pasotti
61d361d674 GPKG: Rename styles when layers are renamed
Partially fixes #21227

TODO:

- DB manager
- Other providers
2019-02-12 19:37:01 +01:00
Alessandro Pasotti
287a3b0ebc Renamed test db for consistency
(minor change)
2019-02-12 18:25:43 +01:00
Marco Hugentobler
14e517665f Add unittest for composer polyline with arrow 2019-02-08 16:23:29 +01:00
Marco Hugentobler
a321d40840 Adapt unit test control images 2019-02-08 10:56:07 +01:00
Matthias Kuhn
76ac0f1f3c
Even more test fixes 2019-02-06 20:07:10 +01:00
Matthias Kuhn
0629a1b6da
More test fixes 2019-02-06 20:06:53 +01:00
Matthias Kuhn
a13e50270e
Fix test 2019-02-06 18:21:55 +01:00
Matthias Kuhn
3564838ef2
Fix test 2019-02-06 18:21:29 +01:00
Alessandro Pasotti
020117262c Add testdata file 2019-02-02 19:22:04 +01:00
Peter Petrik
7a12f11392 fix when GDALGetRasterScale returns 0 (gdal 2.3 affected for some datasets) 2019-02-01 06:56:26 +11:00
Alexander Bruy
d5b42aeec0 add test for temporary directory output 2019-01-29 12:58:11 +02:00
Blottiere Paul
19a77fff80 Update expected file 2019-01-28 11:42:14 +00:00
Blottiere Paul
3c8d5ebda5 Update GetCapabilities tests with new json format 2019-01-28 11:42:14 +00:00
Blottiere Paul
4acc7136f0 Update test 2019-01-28 11:42:14 +00:00
Blottiere Paul
aa55beba8e Update tests 2019-01-28 11:42:14 +00:00
Blottiere Paul
70189194a9 Fix unit test 2019-01-28 11:42:14 +00:00
Blottiere Paul
1b6ed5f45e Update expected files for unit tests 2019-01-28 11:42:14 +00:00
Blottiere Paul
03447f8034 Add unit test for raster layers and json export 2019-01-28 11:42:14 +00:00
Blottiere Paul
9eed93b169 Add an expected file 2019-01-28 11:42:14 +00:00
Blottiere Paul
2f683fc544 Add unit test with multiple layers and features for json 2019-01-28 11:42:14 +00:00
Blottiere Paul
5ef11399aa Update testdata with layers' names 2019-01-28 11:42:14 +00:00
Blottiere Paul
e4cdd7c254 Add unit test for GetFeatureInfo on raster layer in xml 2019-01-28 11:42:14 +00:00
Blottiere Paul
45399d72b4 Add unit test for with_geometry and json export 2019-01-28 11:42:14 +00:00
Blottiere Paul
101cd73125 Add unit test for excluded attributes 2019-01-28 11:42:14 +00:00
Blottiere Paul
62f77629b0 Add unit test for getfeatureinfo with alias in json 2019-01-28 11:42:14 +00:00
Blottiere Paul
562215c4cd Add unit test 2019-01-28 11:42:14 +00:00
Alessandro Pasotti
861a8b7105
Merge pull request #8958 from elpaso/bugfix-20961-wfs-null-transactions
Fix NULL support in WFS server and client
2019-01-24 17:43:27 +01:00
mhugent
b5febe5189
Merge pull request #8922 from mhugent/server_datasource_error
Server: catch datasource error
2019-01-24 17:27:13 +01:00
Alessandro Pasotti
15a81bdf23 Fix OWS project property issue: couldn't unset project title
This is the right behavior, btw there are other issues
in the server component that ignores the main bool
setting WMSServiceCapabilities completely.
2019-01-24 10:15:11 +01:00
Alessandro Pasotti
33788c9416 Fix typo in error message (and related tests) 2019-01-24 09:08:37 +01:00
Alessandro Pasotti
71e01168fe Server WFS NULL values support
- expose nillable in describefeaturetype
- serve xsi:nil="true" in getfeature
- check for NULL in transactions and report an error

Fixes #20961  - plus some other unreported
2019-01-23 22:45:26 +01:00
Alessandro Pasotti
847e7efdca GML parser set NULL values when parsing empty tags
This is part of a bigger fix to support NULL
values in WFS client and server components.
2019-01-23 22:45:25 +01:00
Alessandro Pasotti
49096431bc
Merge pull request #8948 from elpaso/bugfix-20198-server-DescribeFeatureType-typename
Fix server WFS TYPENAME filter in describeFeatureType
2019-01-23 08:45:24 +01:00
Alessandro Pasotti
de29767351
Merge pull request #8950 from elpaso/bugfix-opengis-zug-wmsroot
Fix server WMS short name (unreported)
2019-01-23 08:44:21 +01:00
Nyall Dawson
7d7462c333 Fix loss of project when saving to QGZ format and path contains non-ascii chars
Fixes #19567
2019-01-23 03:37:24 +11:00
Nyall Dawson
9cf2ff31d8 Fix evaluation of data defined properties for subsymbols of subsymbols
Fixes #18384
2019-01-23 03:36:41 +11:00
Marco Hugentobler
80e75342a7 Add test to ensure server throws exception if layer is invalid 2019-01-22 17:17:19 +01:00
Alessandro Pasotti
4e8898d408 Fix server WMS short name (unreported)
This patch fixes a WMS server bug when "Short name" was
set in project settings for service capabilities.

When the short name was set, it was not possible
to load the whole WMS by selecting the root
layer named after the short name.

With tests for both cases (with and without short name).

Funded by Kanton Zug
2019-01-22 14:36:43 +01:00
Alessandro Pasotti
59fd8df336 Fix server WFS TYPENAME filter in describeFeatureType
Fixes #20198

with tests
2019-01-22 14:28:36 +01:00
Alessandro Pasotti
0e0146d82d
Merge pull request #8924 from elpaso/bugfix-20927-server_exp_filter
Server WFS EXP_FILTER bugfixes
2019-01-22 08:05:32 +01:00
Alessandro Pasotti
9b7e1912d4 Add tests for WFS GetFeature EXP_FILTER
Fixes #20927 - QGIS Server: WFS issue using the EXP_FILTER parameter
2019-01-21 12:37:21 +01:00
Martin Dobias
8709ab61eb
Merge pull request #8893 from wonder-sk/rule-based-3d-renderer
Rule-based 3D renderer
2019-01-18 12:58:11 +01:00
Nyall Dawson
349946c669 Layer and layer node items have access to map layer expression context scope 2019-01-18 20:36:30 +11:00
Nyall Dawson
7ba5998db2 Calculate correct legend size when using expression based labels 2019-01-18 20:36:30 +11:00
Nyall Dawson
d70b60d48f [FEATURE][layouts] Allow expressions to be embedded inside legend item text
This feature allows for expressions to be embedded directly inside
legend item text (e.g. group, subgroup and item text). The expressions
are evaluated at render time, with full knowledge of the legend's
expression context (so can utilise variables from the layout/layout item/
etc)

There's no UI for this yet (that will come in 3.8), but expressions are
entered using the standard [% 1 + 2 %] format.

E.g. a legend item text of

    My layer (rendered at 1:[% @map_scale %])

will show in the output as

    My layer (renderer at 1:1000)
2019-01-18 20:36:30 +11:00
Martin Dobias
f069342b35 Rendering test for rule-based 3D renderer 2019-01-17 21:02:31 +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
Martin Dobias
d2834bbb44 fix 3d mesh test 2019-01-16 11:02:20 +01:00