9395 Commits

Author SHA1 Message Date
Nyall Dawson
c1dd894917 Update test image 2020-05-28 11:49:59 +10:00
Nyall Dawson
23396b7c86 [symbology] Don't force rasterized output when exporting point pattern fills
This avoids the force conversion to a raster based pattern which currently occurs
when exporting maps/layouts to a vector format (e.g. PDF). The raster pattern
results in considerable quality loss, and the tiling edges of the raster brush
can sometimes be seen in outputs.

Additionally, fixes render corrupt when marker subsymbols have data defined properties
which affect the marker shape, such as data defined rotation or sizes

Refs #16100 (still needs fixing for line fill symbols)
2020-05-28 11:49:59 +10:00
Even Rouault
535c25317f QgsVectorLayerSaveAsDialog: make it work with custom CRS
The current approach was based on a srsid, that that might be unset for custom
CRS. So store a full QgsCoordinateReferenceSystem object internally and use
that for exchanges with QgsProjectionSelectionWidget

Consequence: we need to deprecate the "long crs()" method, and replace it
by a "QgsCoordinateReferenceSystem crsObject()" one. I'm not particularly
happy with the name but the existing one was not very well named...

Mark also the QgsVectorLayerSaveAsDialog( long srsid, ... ) constructor as
deprecated

Fixes the use case of https://github.com/qgis/QGIS/issues/34471#issuecomment-586181977
2020-05-28 08:17:55 +10:00
Blottiere Paul
b76f39e3c4 Try to reactivate tests for legend and json export 2020-05-28 08:16:34 +10:00
Even Rouault
e0beec4dfb [Server, WCS] Fix several non compliance errors in CoverageDescription output
There were several non-compliance in the CoverageDescription output to a
DescribeCoverage request. The corrected result has been validated against the
OGC WCS 1.0.0 schema.

Fixes #36504
2020-05-27 19:09:30 +02:00
Alessandro Pasotti
2a70569a2c Merge pull request #36733 from elpaso/bugfix-36262-json-export-respect-use-layer-ids
Server: respect "use layer ids" option in json getfeatureinfo
2020-05-27 10:09:09 +02:00
Even Rouault
11f6d53429 test_provider_wfs.py: improve unit test to demonstrate that we use Transaction endpoint for transactions (relates to #34307) 2020-05-27 08:18:38 +10:00
Matthias Kuhn
38673f5a7f
Merge pull request #36200 from olivierdalang/self_snap
[feature] Snapping also snaps to the currently digitised feature
2020-05-26 14:54:26 +02:00
Alessandro Pasotti
d859bb9530 More getfeatureinfo test updates 2020-05-26 12:03:08 +02:00
Even Rouault
63c34e3c7e [WFS provider] Parse WMS service exceptions (fixes #29866) 2020-05-26 10:50:57 +02:00
Alessandro Pasotti
d6198a407a Flake nonsense 2020-05-26 10:43:57 +02:00
Alessandro Pasotti
1e54c6b8f3 Server: respect "use layer ids" option in json getfeatureinfo
Fixes #36262
2020-05-26 10:30:07 +02:00
Nyall Dawson
c03ac22420 Add unit test for message bar max item count 2020-05-26 12:41:35 +10:00
Nyall Dawson
66b260d7c4 Add unit test for message bar push/pop logic, also test that items
are correctly deleted when dismissed
2020-05-26 12:41:35 +10:00
Ivan Ivanov
fbcf39e0c3 Fix indentation issues 2020-05-26 11:06:13 +10:00
Ivan Ivanov
a7c6f9ceaf Added multilayer(🥪) test 2020-05-26 11:06:13 +10:00
Ivan Ivanov
e8b8d1cd59 Added tests 2020-05-26 11:06:13 +10:00
Nyall Dawson
97d098884a Fix oriented minimum bounding box calculation is wrong in some cases
Fixes #36632
2020-05-25 13:37:58 +10:00
Nyall Dawson
7e8d27e657 Make API a little more future-proof 2020-05-25 13:37:34 +10:00
Alessandro Pasotti
c343af75c0 Fix transaction groups on multiple GPKGs
Fixes #36525
2020-05-23 15:51:46 +02:00
Nyall Dawson
fb8cd81b79 Compile make_datetime on oracle 2020-05-22 13:53:54 +07:00
Nyall Dawson
b17da0571c [mssql] Compile make_datetime, make_date, make_time
Allows efficient use of SQL server tables along with temporal mode
2020-05-22 16:28:39 +10:00
Mathieu Pellerin
0618b2e406
[ogr] Compile make_datetime, make_date, make_time (#36636)
* [ogr] Compile make_datetime, make_date, make_time

* Update test
2020-05-22 13:20:30 +07:00
Alessandro Pasotti
5aea8ed2b7
Merge pull request #36620 from elpaso/bugfix-gh36583-change-attr-values
Bugfix gh36583 change attr values
2020-05-22 08:11:16 +02:00
Nyall Dawson
93648dd552 Add Python repr for QgsVertexId 2020-05-22 15:32:44 +10:00
Mathieu Pellerin
eec8ca4037
[expression] Compile make_{datetime,date,time} for sqlite 2020-05-22 09:37:12 +07:00
olivierdalang
66ebe34004 [feature][selfsnap] add snapping to currently digitized feature for capture tool 2020-05-21 21:58:18 +02:00
Alessandro Pasotti
34ec263d71 Flake8 2020-05-21 15:57:08 +02:00
Alessandro Pasotti
18e9bdc010 Providers: fix inconsistent behavior of OGR + tests
Fixes #36583

Add a base test to make sure all major DB providers will
behave the same way and return FALSE when a constraint violation
refuses an attribute change (in a batch with a valid one).

OGR with GPKG was the "bad guy" here.
2020-05-21 15:49:02 +02:00
Nyall Dawson
24b1851801 Fix localized data test on windows 2020-05-21 11:04:52 +10:00
lbartoletti
600f93aa56
[GPS] Fix error when vector layer has Z
add elevation from GPS to point3D. Fixes #32016
2020-05-21 09:07:00 +10:00
Nyall Dawson
e23a49a6b8 Fix memory layers lose CRS definition if it does not have an authority
associated with it

Fixes #36241
2020-05-21 05:57:25 +10:00
vcloarec
267af1e7fb temporal match methods 2020-05-21 05:54:24 +10:00
Nyall Dawson
af1e058267 Update test results
The forced conversion to multigeometries was a mistake -- the new
test results with single geometries is correct.
2020-05-20 17:09:48 +10:00
Nyall Dawson
aa175e3863 Fix tests 2020-05-20 17:09:48 +10:00
Nyall Dawson
1d33ddfdc9 Add unit test 2020-05-20 17:09:48 +10:00
Jan Caha
c13c416e71 [feature][expression] add ByteArray case to run_evaluation_test function 2020-05-20 12:40:19 +10:00
Jan Caha
f7562f83f9 [feature][expression] tests for from_base64 and to_base64 2020-05-20 12:40:19 +10:00
Jan Caha
357bc1d1d7 [feature][expression] base64 to and from 2020-05-20 12:40:19 +10:00
Even Rouault
7762168e77 QgsArcGisRestUtils::parseCompoundCurve(): fix crash on CircularString / "c"
Spotted by cppcheck

Independently of this fix, it looks like the geometry building when
mixing linestrings and circularstrings would need some more love...
2020-05-20 08:24:39 +10:00
Denis Rouzaud
cc19fa1d13
Merge pull request #36421 from 3nids/basemap_path
Registry for localized data paths
2020-05-19 21:27:51 +02:00
uclaros
e6fef7af63 also fix return for empty parameter point 2020-05-20 05:01:20 +10:00
uclaros
0f3a6f030c test added 2020-05-20 05:01:20 +10:00
Denis Rouzaud
1befc328fd fix test 2020-05-19 17:53:48 +02:00
Denis Rouzaud
360827ade0 rename QgsBasemapPathRegistry to QgsLocalizedDataPathRegistry 2020-05-19 14:21:55 +02:00
Denis Rouzaud
714352c682 run test 2020-05-19 14:21:03 +02:00
Denis Rouzaud
1ec35d9125 add test for basemap path registry 2020-05-19 14:21:03 +02:00
Julien Cabieces
8499e09e28
Don't refresh single pseudo color band classication when min/max hasn't really changed
Fixes #36172
2020-05-19 11:17:17 +10:00
Julien Cabieces
01563e6454
[Expression] Do not transform NULL integer as 0 when concat
Fixes #36112 : don't concat null values
2020-05-19 07:41:17 +10:00
Martin Dobias
6c5cb2ee77 Test for transformCoordinates() 2020-05-18 09:20:32 +10:00