1105 Commits

Author SHA1 Message Date
Peter Petrik
b0bd629336 fix #19939: render mesh arrows also on the edge of the canvas 2018-10-25 13:16:17 +02:00
Blottiere Paul
e25a452d17 Add unit test 2018-10-24 00:21:53 +02:00
Denis Rouzaud
49e8e86029 add rendering tests for HiDPI (device pixel ratio) 2018-10-23 16:25:23 -04:00
Nyall Dawson
f00e43d3c2 [layouts] Hack around inconsistent subclassing of layout items by sip
Sometimes, calling some layout methods, results in sip being inable
to downcast the items to their correct type, resulting only
in a QgsLayoutItem object.

This works around the problem, albeit in an incredibly hacky way.
2018-10-20 06:19:34 +10:00
Blottiere Paul
c3a41bc2fa Add unit test for polygon tolerance 2018-10-15 13:29:25 +01:00
Blottiere Paul
5765d49465 Add unit test for line tolerance 2018-10-15 10:40:27 +01:00
Blottiere Paul
6fce7853ca Add unit test for point tolerance 2018-10-15 09:30:59 +01:00
Nyall Dawson
0f056b500a Fix line pattern fill symbol corruption with negative angles 2018-10-13 06:31:56 +10:00
Nyall Dawson
5b4ed16cf9 Fix line pattern fill offsets are always treated as positive,
even when offset is negative
2018-10-13 06:31:56 +10:00
AndrewAnnex
9b4cb7a269 added unit test and test raster 2018-10-09 14:36:05 +10:00
Nyall Dawson
06520be7b0 Spelling 2018-10-08 19:16:29 +10:00
Nyall Dawson
745495fe73 [mssql] Prevent overwriting existing tables via drag and drop in browser
Fixes #16805
2018-10-08 19:16:29 +10:00
Nyall Dawson
da21193894 [mssql] Fix handling of geometry column when multiple geometry/geography
columns are present

Fixes #13932
2018-10-08 17:01:03 +10:00
Nyall Dawson
71c5051356 [mssql] Fix incorrect precision detection for double/float fields
Fixes #15124
2018-10-08 17:01:03 +10:00
Nyall Dawson
794583e62e [mssql] Test data load script 2018-10-08 16:15:31 +10:00
Nyall Dawson
eb439d34ba [mssql] Update test for skipping invalid geometry handling 2018-10-08 16:15:31 +10:00
Nyall Dawson
eb40d911df Add test for MSSQL behavior with invalid polygon geometries
Forward port of 039866d, because I am an idiot and forgot
2018-10-08 16:15:31 +10:00
Blottiere Paul
80e19b6328 Add core unit test 2018-10-08 05:03:49 +10:00
Nyall Dawson
72432246a1 [mssql] Fix test data creation script 2018-10-03 04:50:05 +10:00
rldhont
ad7d03c64f
Merge pull request #7859 from rldhont/fix-server-sld-param-support
[Bugfix][Server] Add WMS SLD parameter support
2018-09-29 18:10:54 +02:00
Blottiere Paul
63f597f934
Merge pull request #8040 from pblottiere/server_highlight_line
[server] Fixes #19906 - GetMap request with line in the SLD is correctly rendered
2018-09-28 17:07:26 +02:00
Blottiere Paul
5496442ca1 Add mask image 2018-09-28 08:42:18 +01:00
Nyall Dawson
68426d641d Add missing file 2018-09-28 14:25:38 +10:00
Nyall Dawson
308d7136b4 [processing] More fixes to convertToCompatibleFormat, lots of unit
tests

Fixes #19938
2018-09-28 14:25:38 +10:00
rldhont
34009d3fb9 [Tests][Server] Add test for WMS SLD parameter and move SLD_BODY test 2018-09-27 21:08:33 +02:00
Matthias Kuhn
2275853ce6
Merge pull request #8008 from m-kuhn/missingVertexCheck
Add QgsGeometryMissingVertexCheck
2018-09-27 10:50:27 +02:00
Matthias Kuhn
fd869d83d4
Add test for missing vertex check 2018-09-26 14:23:04 +02:00
Peter Petrik
1b82abfd87 fix test images for mesh rendering 2018-09-24 11:04:50 +02:00
Even Rouault
fabdc04764
[OGR provider] Fix reading of OSM datasets when opening several layers at the same time (fixes #19477) 2018-09-22 11:59:14 +02:00
Even Rouault
bb40385d33
Merge pull request #7977 from rouault/fix_ogrdataitems_layername
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes #19885)
2018-09-22 00:43:27 +02:00
Even Rouault
ea2cc365db
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes #19885) 2018-09-21 15:32:19 +02:00
Tudor Bărăscu
1955ebb7c9 server disabled test for failing getmap req with Line sld 2018-09-21 10:14:38 +03:00
Tudor Bărăscu
f125d3f792 add image mask and make travis happy 2018-09-20 20:42:13 +03:00
Tudor Bărăscu
7a9d08eddf add test for Point SLD highlight on server 2018-09-20 14:06:38 +03:00
Blottiere Paul
d64303fdda
Merge pull request #7950 from pblottiere/server_wfs_if_capabilities
[server] Fixes Filter_Capabilities element in WFS GetCapabilities document
2018-09-19 11:18:56 +02:00
Blottiere Paul
f65deeb5c0 Update unit tests 2018-09-18 16:16:36 +01:00
Blottiere Paul
f1ea78312f Update unit test 2018-09-18 15:39:25 +01:00
Matthias Kuhn
195539d7d3
Merge pull request #7913 from m-kuhn/filenmode
Fix file mode
2018-09-16 15:21:47 +02:00
Matthias Kuhn
e306aaaaef
Fix file mode 2018-09-16 14:18:39 +02:00
Blottiere Paul
268c20fd89
Merge pull request #7887 from pblottiere/server_filter_2
[server] Add suport for OGC FE version 2 in GetMap requests
2018-09-14 09:02:07 +02:00
signedav
04d770d613 removed unused docs
and unused db entry
2018-09-14 15:33:57 +10:00
signedav
e972e21a09 test db stuff json 2018-09-14 15:33:57 +10:00
Blottiere Paul
d30f93ffe9 Add unit tests 2018-09-13 15:32:13 +01:00
Tudor Bărăscu
a0e8be590a fix qgz test project
from qgis 3.1 to qgis 3.3 the qgz project lost the relation reference

While reporting issues on the bug tracker I noticed that the test project
lost it's relation. I recreated the qgz file.
2018-09-12 13:23:51 +03:00
Nyall Dawson
5f5294f258 [FEATURE][processing] New algorithm to categorize a layer using a style XML file
Sets a vector layer's renderer to a categorized renderer using matching symbols
from a style database.

The specified expression (or field name) is used to create categories for the
renderer. A category will be created for each unique value within the layer.

Each category is individually matched to the symbols which exist within the
specified QGIS XML style database. Whenever a matching symbol name is found,
the category's symbol will be set to this matched symbol.

The matching is case-insensitive by default, but can be made case-sensitive
if required.

Optionally, non-alphanumeric characters in both the category value and symbol
name can be ignored while performing the match. This allows for greater
tolerance when matching categories to symbols.

If desired, tables can also be output containing lists of the categories
which could not be matched to symbols, and symbols which were not matched to categories.
2018-09-11 06:01:06 +10:00
Blottiere Paul
a6b44b15b3 Add unit test for OGC filters with multiple layers 2018-09-07 05:32:58 +01:00
Blottiere Paul
34c1d7acce Add unit test for empty OGC filter 2018-09-07 05:32:58 +01:00
Peter Petrik
c89b7722a3 fix review items from Nyall 2018-09-05 09:00:30 +02:00
Peter Petrik
6ee9a47463 [mesh] [feature] allow render vectors/arrows on the user-defined grid 2018-09-03 16:31:35 +02:00
Peter Petrik
199f4effb6 fix tests for mesh layer 2018-09-03 19:41:07 +10:00