9992 Commits

Author SHA1 Message Date
Nyall Dawson
3710dbefa0 Update a test for proj 6+ 2020-09-01 15:29:32 +10:00
Nyall Dawson
b9cd453674 Add method to determine whether an annotation layer is empty 2020-09-01 15:29:32 +10:00
Nyall Dawson
636653df23 Always render main annotation layer above map layers in layout maps 2020-09-01 15:29:32 +10:00
Nyall Dawson
4d51e48402 Always render main annotation layer above all other map layers in canvas 2020-09-01 15:29:32 +10:00
Nyall Dawson
39fbc2ac33 Add "mainAnnotationLayer" to QgsProject
This returns a reference to a main/default annotation layer for use
by the project. It forms the default location to place new annotation
items which should appear above all map layers.
2020-09-01 15:29:32 +10:00
Nyall Dawson
9f83b413a7 [vectortiles] Fix labels disappear randomly between map redraws
Fixes #37450
2020-09-01 14:23:31 +10:00
Nyall Dawson
4cd40ab592 [vectortiles] Be tolerant, and allow rendering polygon features
using a line style

Some services use line styles for polygon symbology in order to
specify that the polygons should be rendered using their outlines
in a line style
2020-09-01 08:45:30 +10:00
Nyall Dawson
fc01144f61 Test masks for vector tile images 2020-09-01 08:45:30 +10:00
Nyall Dawson
411ea52b2f Dump html report after running vector tiles test 2020-09-01 08:45:30 +10:00
Nyall Dawson
d1bc82ca7b Misc typo fixes 2020-08-31 11:38:02 +10:00
olivierdalang
ac5884f524 (typo) 2020-08-31 09:37:32 +10:00
olivierdalang
1cb067b4c7 [virtual layers] support curved geometries (segmentized) 2020-08-31 09:37:32 +10:00
Blottiere Paul
353e593076 Update landing page tests 2020-08-27 13:28:40 +02:00
Blottiere Paul
3efd98d9cf Update unit tests 2020-08-27 10:14:21 +02:00
Blottiere Paul
5a7e3c174a Add unit test 2020-08-27 10:12:55 +02:00
Nyall Dawson
4ba97617c9 Tests 2020-08-27 13:08:51 +10:00
Nyall Dawson
1b8761f053
Merge pull request #38439 from lbartoletti/fix_wkt
Fix WKT parser
2020-08-26 11:49:37 +10:00
Loïc Bartoletti
edd0f444f9 indent 2020-08-25 10:28:57 +02:00
Loïc Bartoletti
fc98d1d341 add tests from WKT fixed in other tests and adapted here 2020-08-25 09:02:33 +02:00
Loïc Bartoletti
449d78bbff add multilinestring tesst 2020-08-25 08:52:15 +02:00
rldhont
3372a9267d
Merge pull request #38240 from rldhont/server-dont-load-layouts
New QGIS Server setting environement to disable GetPrint and do not load layouts
2020-08-24 14:21:15 +02:00
Loïc Bartoletti
59aab9dc9c readd and fix tests 2020-08-24 11:48:43 +02:00
lbartoletti
80cccfb300 add tests 2020-08-24 10:14:52 +02:00
lbartoletti
7212fecae4 remove qdebug 2020-08-24 10:14:51 +02:00
lbartoletti
d07218e416 fix circular string with extra parenthesis in qgsgeometry 2020-08-24 10:14:51 +02:00
lbartoletti
9d8f3d3090 one again 2020-08-24 10:14:51 +02:00
lbartoletti
13e99b1744 other linestrings with extra parenthtesis and false tests 2020-08-24 10:14:51 +02:00
lbartoletti
c21e563e04 Don't use linestring() wkt but linestring empty 2020-08-24 10:14:51 +02:00
lbartoletti
56b603ac38 fix circularstring and add tests 2020-08-24 10:14:51 +02:00
lbartoletti
6981c0a747 add more tests 2020-08-24 10:14:51 +02:00
lbartoletti
00b51a1f24 Fix tests. You can not add NaN in a WKT 2020-08-24 10:14:50 +02:00
lbartoletti
3fcade03d4 Fix Point with invalid value and add tests 2020-08-24 10:14:50 +02:00
lbartoletti
d4239cc9cd one more wkt fixed test_qgsgeometry 2020-08-24 10:14:50 +02:00
lbartoletti
aa1ec3a825 one more wkt fixed 2020-08-24 10:14:50 +02:00
lbartoletti
ab9f3490c6 Fix some parenthesis 2020-08-24 10:14:50 +02:00
lbartoletti
5fe0ee7b77 indent 2020-08-24 10:14:50 +02:00
lbartoletti
d32722275b fix relates_data.csv 2020-08-24 10:14:49 +02:00
lbartoletti
a9d68a5ebd Fix TestQgsMapToolAddFeatureLine 2020-08-24 10:14:49 +02:00
lbartoletti
57ddc98eca add tests 2020-08-24 10:14:49 +02:00
olivierdalang
7b91f79cbb [layout expressions] add Y page offset expression - tests 2020-08-21 11:33:58 +10:00
Nyall Dawson
f62c6d5d56 [feature][labeling] Expose option to allow users to control whether
anchor point for line labels is a hint or a strict requirement

Strict: Labels are placed exactly on the label anchor only, and no
other fallback placements are permitted.

Hint: The label anchor is treated as a hint for the preferred label
placement, but other placements close to the anchor point are permitted.
2020-08-21 09:48:47 +10:00
olivierdalang
49f0d20b9f [refFunctions] astyle 2020-08-20 18:40:44 +02:00
olivierdalang
68c27a349b [refFunctions] add more tests 2020-08-20 17:46:10 +02:00
olivierdalang
7244f84c48 [refFunctions] fix tests
(used $id instead of id, somehow some of them still passed ?!)
2020-08-20 17:46:08 +02:00
olivierdalang
10367d07a1 [refFunctions] fix broken test, which now fails
(it wasn't testing much, because it mistakenly casted ints to
QgsGeometries, comparing two invalid/empty geometries always
was true...)
2020-08-20 17:46:03 +02:00
olivierdalang
c738731aec [refFunctions] remove *_test functions and factor repeated code
# Conflicts:
#	src/core/expression/qgsexpressionfunction.cpp
2020-08-20 16:02:56 +02:00
Nyall Dawson
c0990ea05e
Merge pull request #38355 from nyalldawson/svg_ratio
Fix bad handling of non-square svg images in svg marker symbol layers
2020-08-20 07:01:31 +10:00
mhugent
c8082b9ad8
Merge pull request #38349 from mhugent/wms_layer_visibility_checked
WMS Server: display visibilityChecked property of a layer in GetProjectSettings
2020-08-19 08:30:41 +02:00
Nyall Dawson
ecdec26717 Test masks 2020-08-19 14:33:55 +10:00
Nyall Dawson
5f0ce534e6 Add unit tests for curved annotation geometries 2020-08-19 14:33:55 +10:00