Denis Rouzaud
cf30ccf67d
add test for layer visibility in embedded group
2019-05-13 21:03:01 +00:00
Nyall Dawson
4adffd2a24
Ensure that temporary map canvas atlas variables are never written to projects
...
Causes a crash on debug builds, and is generally undesirable anyway
2019-05-13 16:26:41 +10:00
Nyall Dawson
b7c7d2f61e
Avoid crashes on debug builds when trying to write xml for more value types
2019-05-13 16:26:41 +10:00
Nyall Dawson
05751a4340
Add method to retrieve map extent to QgsRenderContext
...
Previously only a "layer clipping extent" was available for retrieval
from a QgsRenderContext instance, yet there's a need for rendering
operations to have access to the original full extent of the map
being rendered.
2019-05-10 15:31:06 +10:00
Even Rouault
44cd638a53
Merge pull request #9950 from qgis/backport-9939-to-release-3_6
...
[Backport release-3_6] Fix opening of GeoPackage datasets with foreign key violation
2019-05-08 09:54:16 +02:00
nirvn
eea04286f2
[symbology] Fix setSize(size) not working for ellipse markers
2019-05-08 14:23:16 +07:00
Nyall Dawson
546b041214
Fix duplicate layers in custom layer order panel
...
Fixes #21955
2019-05-07 09:05:25 +10:00
Even Rouault
477b05d6f8
[OGR provider] Fix opening of GeoPackage datasets with foreign key violation
2019-05-06 20:33:37 +00:00
Nyall Dawson
7ae28bff8f
Allow loading QLR files with invalid sources
...
E.g. if the layer path has moved, we still should allow these
files to be read, so that the layer path can be fixed by the user
manually.
2019-04-30 19:55:08 +10:00
Nyall Dawson
588a661edc
Fix incorrect annotation scaling when exporting layouts
...
Previously, annotation size and position always used pixel units. This
did not work well when exporting layouts, resulting in tiny annotations
(it also caused issues when moving projects between hidpi/non hidpi
displays).
Instead, use millimeters for annotation size and position so that the
appearance is consistent across displays and works correctly in layout
exports.
Add lots of unit tests covering this.
Fixes #18373
2019-04-30 16:33:24 +10:00
rldhont
8f02861a54
Merge pull request #9861 from qgis/backport-9856-to-release-3_6
...
[Backport release-3_6] [Server] WMTS - use resolution for bbox calculation
2019-04-29 17:01:11 +02:00
Alessandro Pasotti
4da04130d8
Merge pull request #9890 from qgis/backport-9873-to-release-3_6
...
[Backport release-3_6] [postgresql] Fix checkPrimaryKeyUnicity option
2019-04-29 11:16:55 +02:00
Mathieu Pellerin
8401db1e0b
Add simple line custom dash pattern tests
2019-04-28 13:08:17 +07:00
Alessandro Pasotti
9ddbae6c68
Respect custom layer order for groups in GetMap
...
Backport of bugfix from master PR 9878
Fixes #21917
2019-04-27 18:13:19 +02:00
Luigi Pirelli
d1e0396b63
Update tests/src/python/test_provider_postgres.py
...
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-04-27 15:20:07 +00:00
Alessandro Pasotti
16b8b0f528
Suggestions from JEF
2019-04-26 10:32:42 +00:00
Alessandro Pasotti
7b82ac54e6
Layout and SQL
2019-04-26 08:26:04 +00:00
Alessandro Pasotti
fe21c98e1d
More tests for checkPrimaryKeyUnicity
2019-04-26 07:19:51 +00:00
Alessandro Pasotti
4009b2d408
[postgres] Fix checkPrimaryKeyUnicity option
...
This provider option was linked to the project level option
"Trust layer metadata..." which was implemented
to speed up loading of large dataset by trusting extent
read from metadata to avoid costly operations to determine
the layer extent.
Check PK unicity on the other hand has only effect on views
and query layers and it is useful as an independent
option to prevent loading of layers that have no PK (or the
wrong one).
But the operation of determine unicity of a values in a column
can also be costly, so better to get control back to the user.
Legacy default is preserved (the project-level "Trust..." option).
Fixes #21839
Funded by RAAB.nl
2019-04-24 15:14:42 +00:00
Blottiere Paul
9637753b61
Merge pull request #9829 from signedav/default_symbol_scale_bp_36
...
[server] Default scale/mupmm on GetLegendGraphics
2019-04-24 15:30:59 +02:00
nirvn
a1d1f5a2a9
Turn antialising render flag on when appropriate in QgsRenderContext::fromQPainter()
2019-04-24 16:28:01 +07:00
rldhont
83397dd08b
[Tests][Server] WMTS - use resolution for bbox calculation
2019-04-24 08:46:21 +00:00
David Signer
042bd1f140
backport for default map scale / default map units per mm in project for the case that GetLegendGraphic request does not pass parameters to calculate map unit sized symbol size
...
(cherry-picks of 7ef426b0efa446b400c33c3447b90fa6d01d8f47 10b5f0858ad5c147ac2a67518cabf0e55e9cbacc 3d7cc160d4a39daf3fe6fc6076b08fb9d2939361 1c3cfd1e136e8d61ecf6b1cacf8f2bbf93e76fc1 679b100f0c0e72eba394ab7b3b500aa53f836813 96f054e1c12b71fecfa66d43717f653b5df402e4 7f7d910991169b38f1927680011a5f57c0b490fe 755c8ff36d6b0f85386bdc9537c286371f441b5c 1d6a7dd53ccebeb619c9c72ecf39271fe0aea0eb 8e62a89c98557c6dcd651291aa2e17fe780074db c22effb545b5e042ee5591b4b2dbe34430a3d2c9 fa8e5fa34856d260ed3394ad8b2133ca1833c979 fab5254595d40461b060008310c60544b087703d 27fc38160056d954b44181d22c7c3180df651638)
2019-04-22 10:50:43 +02:00
rldhont
f9f3c391df
[Bugfix][Server] WMTS: CRS can have axis inverted
...
The top left element has to respect the axis, like in WMS 1.3.0.
2019-04-18 21:21:40 +00:00
Alessandro Pasotti
c95f0eb2b6
Merge pull request #9820 from elpaso/bugfix-21871-21870-LAYERFONTCOLOR-ITEMFONTCOLOR-3_6
...
[server] Implement LAYERFONTCOLOR and ITEMFONTCOLORa
2019-04-18 16:18:24 +02:00
Alessandro Pasotti
68da21f749
[server] Implement LAYERFONTCOLOR and ITEMFONTCOLORa
...
cherry-picking commit dca0fb9026.
2019-04-18 10:39:04 +02:00
rldhont
1fac5a6377
Merge pull request #9791 from rldhont/server_params-release-3_6
...
[Backport release-3_6][server] Fallback to unmanaged parameters
2019-04-17 12:17:34 +02:00
David Marteau
e197d0f5c6
Set config path before calling plugin method
2019-04-17 09:41:27 +00:00
Juergen E. Fischer
30e808e3fc
postgres provider: drop implicit not null and unique constraint for columns in compound keys ( fixes #20073 )
...
(cherry picked from commit f8e32f7b9e21c2bdee6c80e796f8d448fef19e12)
2019-04-17 08:30:43 +02:00
Blottiere Paul
d730aa337a
Add test for an unkown parameter
2019-04-16 16:12:24 +02:00
Blottiere Paul
f562b099a5
Add unit test
2019-04-16 16:12:09 +02:00
Marco Bernasocchi
458dd675c3
Merge pull request #9752 from mbernasocchi/backport-9691-to-release-3_6
...
Backport 9691 to release 3 6
2019-04-12 16:46:59 +02:00
Marco Bernasocchi
5376b975a6
fis old test that expected wrong value
...
Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
2019-04-12 15:19:59 +02:00
rldhont
5b40aebd1a
Test apply SLD PointSymbolizer on single centroid for polygon
2019-04-12 10:32:56 +00:00
Matthias Kuhn
d34e95a455
Merge branch 'release-3_6' into backport-9691-to-release-3_6
2019-04-12 08:57:14 +02:00
Matthias Kuhn
e1756f56be
Merge pull request #9757 from lbartoletti/backport-9379-to-release-3_6
...
backport #9379 to release-3_6
2019-04-12 08:34:06 +02:00
Matthias Kuhn
336647cd70
Merge pull request #9758 from lbartoletti/backport-9651-on-release-3_6
...
Backport #9651 on release 3 6
2019-04-12 08:33:47 +02:00
Blottiere Paul
717501d63b
Merge pull request #9727 from signedav/backport_SRCWIDTH
...
[Backport release-3_6] of SRCHEIGHT/SRCWIDTH for GetLegendGraphic request
2019-04-11 20:17:46 +02:00
backporting[bot]
31eec91e5f
[Backport release-3_6] Return 501 on 'OperationNotSupported' error ( #9771 )
...
Return 501 HTTP statues code 'OperationNotSupported' Error
According to OGC/OWS standard, 'OperationNotSupported' Error should return 501 but actually return 200.
ref http://docs.opengeospatial.org/is/17-007r1/17-007r1.html - table 21
2019-04-11 11:46:38 +02:00
lbartoletti
a15fb5c296
add tests
2019-04-09 08:52:37 +02:00
lbartoletti
30399dfed2
[needs-docs] Fixes intersection on (multi)linestring/polygon Z, M and ZM. Fixes #21422
2019-04-09 08:42:23 +02:00
Marco Bernasocchi
9481745fa1
Back port #9691
...
Signed-off-by: Marco Bernasocchi <marco@opengis.ch>
2019-04-08 17:10:24 +02:00
David Signer
2366db8d50
backport of SRCWIDTH/SRCHEIGHT
...
it takes these values as map size in case of GetLegendGraphics Request and still HEIGHT and WIDTH if not a GetLegendGraphics Request
cherry-picked commits 4c667ada96559ac9bf7cab7c93abfa315c382ee6 e1847725e47800ae65ff9b0a8cbeb55f20a81208 6722ad59175afbd5ef9d0c327e59d85856e37784 61a89af4c115990ee997e757fe1$
2019-04-05 15:04:45 +02:00
Alessandro Pasotti
ecefb847d2
[server] Allow WMS GetFeatureInfo on root layer and groups
...
cherry-picking commit 3c4b2a7e73 from master
2019-04-05 10:25:18 +02:00
rldhont
d6864b9a00
[Bugfix][Server] QGIS Server removes empty string in style parameter even if it describes default style
...
In OGC WMS standard, the empty string represents the default style.
QGIS Server when it parses the parameters, QGIS Server when it parses parameters it removes empty parts.
When all requested styles are default ones it's equal to an empty parameter STYLE, as defined in the standard.
When only one layer is requested, there is no issue with custom or default style.
When multiple layers are requested and some with custom styles, because QGIS Server does not retain empty strings, it loses the layer / style match.
To fix it, keeps empty parts for not empty styles parameters.
2019-04-05 07:29:21 +00:00
rldhont
c6bb0b90a9
Add unit-tests to avoid regression in Server printing to PDF output format
...
In QGIS 3.4, Selection can be printed in Image output and not in PDF or SVG output.
A fix has been done 2752f83 to fix inconsistent use of layout render context flags, and draw selection is activated with a flag.
2019-04-02 10:44:11 +00:00
Alessandro Pasotti
cdb8ad29cf
[server] Allow locale and group separator override
...
cherry-picked from master 5b586e8
2019-04-02 09:10:02 +02:00
Nyall Dawson
e300042ead
Fix stuck tasks when proxied task using a proxy progress task
...
completes before the proxy task has been started by task manager
Fixes #21589 , fixes #19761
(cherry picked from commit b28227fa7f946e0c0ccba1b588a8ac47fef0c85f)
2019-04-02 14:18:34 +10:00
Alessandro Pasotti
edb557b050
Merge pull request #9668 from elpaso/bugfix-21714-filewriter-field-length-3_6_backport
...
Merge pull request #9661 from elpaso/bugfix-21714-filewriter-field-le…
2019-04-01 18:53:15 +02:00
Nyall Dawson
adf15e7e67
More reference images and masks for layout attribute table tests
2019-04-01 20:03:17 +10:00