1482 Commits

Author SHA1 Message Date
Alessandro Pasotti
49b381f216 Add missing test control file 2019-05-28 10:59:11 +02:00
Nyall Dawson
7f8d43eb9b Fix offset labels from reprojected layers when map is rotated
Fixes #24796
2019-05-28 16:09:19 +10:00
Nyall Dawson
4cb1213efd Fix labeling ignores "label per part" setting when geometry parts
are adjacent

Fixes #26763
2019-05-28 15:49:45 +10:00
Alessandro Pasotti
f37141d807 Server WFS fix describefeaturetype double virtual fields
Fixes #29767
2019-05-27 18:22:50 +02:00
Alessandro Pasotti
564fd50e43 Fix spatialite handling of JSON arrays
Fixes #21986

plus:

- fix multiple string keys with commas in value relation widget
- more robust JSON and array (un)marshalling
- uniform array representation in value relation widgets
- lot of test coverage
- automatic QVariant type conversions in JSON utils
2019-05-27 09:20:34 +02:00
Alessandro Pasotti
d16e693c18
Merge pull request #10063 from elpaso/bugfix-22035-processing-pg-camel-case-schema
Bugfix 22035 processing pg camel case schema
2019-05-23 09:58:02 +02:00
nirvn
f9810a4534 [effects] Fix blur radius not taking dpi into account (fixes #14885) 2019-05-23 11:34:15 +07:00
Nyall Dawson
810b522f43 [layouts] Avoid resetting column selection when restoring project
with an atttribute table set to the "atlas feature" source

Fixes #20538
2019-05-23 07:44:23 +10:00
Alessandro Pasotti
a4187a7a6e Tests for case sensistive pg schema 2019-05-22 18:16:43 +02:00
Denis Rouzaud
4f3a9f46d2
update Travis to build on Trusty for code layout (#10048)
* update Travis to build on Trusty for code layout

* fix shellcheck replace ! -z by -n

* shellcheck: fix  -n doesn't work with unquoted arguments

* more shellcheck fixes

* use bash instead of posix
2019-05-21 14:13:28 -05:00
Blottiere Paul
284f5d565c
Merge pull request #10010 from elemoine/ele_filter
[server] Support FILTER values with colons
2019-05-20 10:09:18 +02:00
Bas Couwenberg
2628c480c5 Don't include revision in sources.
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
Éric Lemoine
b0ae641b06 Support FILTER values with colons 2019-05-16 11:52:05 +02:00
Denis Rouzaud
ef6d6d495a add test for layer visibility in embedded group 2019-05-13 16:03:01 -05:00
Alessandro Pasotti
9a612d4e19
Merge pull request #9832 from elpaso/qjson-nlohmann
Fast (and beautiful) json serializing
2019-05-10 11:33:10 +02:00
nirvn
65ec9cd146 [symbology] Fix setSize(size) not working for ellipse markers 2019-05-08 13:18:02 +07:00
Alessandro Pasotti
bd3d75fce8 Indent on JSON export 2019-05-03 19:02:58 +02:00
vcloarec
fe39b26684 Add test for QgsMeshLayer::reload() and QgsMdalProvider()::reloadData()
Add test and data file for new test
2019-05-03 15:26:22 +02:00
Alessandro Pasotti
290909f9bb Use json objects for server getfeatureinfo 2019-05-02 14:30:18 +02:00
Alessandro Pasotti
f70acf260b
Merge pull request #9901 from nyalldawson/invalid_qlr
Allow loading QLR files with invalid sources
2019-04-30 09:11:53 +02:00
Nyall Dawson
72febb35e9 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 16:34:31 +10:00
Nyall Dawson
38ef62e1cc 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 15:21:39 +10:00
Mathieu Pellerin
5fa9e2f02e Add simple line custom dash pattern tests 2019-04-28 12:19:27 +07:00
Alessandro Pasotti
4d2a8dd9da
Merge pull request #9873 from elpaso/bugfix-21839-postgresql-check-pk-unicity
[postgresql] Fix checkPrimaryKeyUnicity option
2019-04-27 19:00:43 +02:00
Alessandro Pasotti
da49f79045 Suggestions from JEF 2019-04-26 12:32:42 +02:00
Alessandro Pasotti
956ed06f52 [server] Respect custom layer order for groups in GetMap
Fixes #21917
2019-04-26 12:04:39 +02:00
Alessandro Pasotti
a3368d416c Layout and SQL 2019-04-26 10:26:04 +02:00
Alessandro Pasotti
163082a061 More tests for checkPrimaryKeyUnicity 2019-04-26 09:19:51 +02:00
Martin Dobias
5e4ea73399
Merge pull request #9857 from marcel-dancak/tiles_xyz
New Processing Algorithm to generate raster XYZ tiles
2019-04-26 08:41:30 +02:00
Martin Dobias
fdb6a2b79a Add test for XYZ Tiles algorithm 2019-04-25 22:14:08 +02:00
rldhont
833fa3ded3
Merge pull request #9856 from rldhont/fix-server-wmts-resolutions
[Server] WMTS - use resolution for bbox calculation
2019-04-25 15:14:01 +02:00
Alessandro Pasotti
38c91e4e97 [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 17:14:42 +02:00
nirvn
756964620a [FEATURE][symbology] Add offset settings for point pattern fill symbol layer 2019-04-24 16:53:40 +07:00
rldhont
f8880c6e9c [Tests][Server] WMTS - use resolution for bbox calculation 2019-04-24 10:46:21 +02:00
nirvn
ca305bb5b0 Turn antialising render flag on when appropriate in QgsRenderContext::fromQPainter() 2019-04-24 10:06:33 +07:00
rldhont
012faa6af1 [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 23:21:40 +02:00
Alessandro Pasotti
c0c19f0cc9 Fix wrong cotrol image for ITEMFONTCOLOR test 2019-04-18 08:32:33 +02:00
Alessandro Pasotti
1f862cadc6 Waste my time with Travis 2019-04-17 14:12:30 +02:00
Alessandro Pasotti
7032db27fa [server] Implement LAYERFONTCOLOR and ITEMFONTCOLOR
Fixes #21871
Fixes #21870

Funded by: Gis3w
2019-04-17 12:01:06 +02:00
David Signer
fab5254595 using correct pictures and additional comments 2019-04-11 19:12:26 +02:00
David Signer
fa8e5fa348 add test files and correct image 2019-04-11 17:01:23 +02:00
David Signer
8e62a89c98 add correct layer to testproject 2019-04-11 16:11:00 +02:00
David Signer
1d6a7dd53c replace image with the expected one from test 2019-04-11 14:51:01 +02:00
David Signer
96f054e1c1 tests for default mapunits per mm on EPSG:4326 2019-04-11 12:36:35 +02:00
David Signer
679b100f0c tests for default scale on EPSG:2056 2019-04-11 11:42:45 +02:00
Matthias Kuhn
1450985547
Merge pull request #9737 from jef-n/postgres-unittest-2826ba34f
unit test for 2826ba34f
2019-04-10 19:13:23 +02:00
nirvn
9ce1093bce [FEATURE][ogr] Add string list field type support 2019-04-10 08:06:12 +07:00
Martin Dobias
b2aa97843d Added rendering tests for 3D lines 2019-04-09 09:42:08 +02:00
Juergen E. Fischer
f8e32f7b9e unit test for 2826ba34f 2019-04-07 15:35:43 +02:00
rldhont
98235eb46b [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 09:29:21 +02:00