7447 Commits

Author SHA1 Message Date
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
Blottiere Paul
10f6c8d0b3
Merge pull request #9833 from pblottiere/create_image
[server] Sanitise image creation
2019-05-22 13:45:08 +02:00
Alessandro Pasotti
86f35e8beb
Merge pull request #10047 from elpaso/bugfix-22071-relation-reference-identify-on-map
Fix identify on map in relation reference widget
2019-05-22 11:01:44 +02:00
Alessandro Pasotti
ad019c499b Remove raw string (not necessary here) 2019-05-22 08:51:54 +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
Nyall Dawson
5fd9bc6408 Fix incorrect entries are added to coordinate transform cache
if crs cannot be represented as auth/id combo
2019-05-22 03:44:23 +10:00
Nyall Dawson
a5e72c2c33 Update test result for proj 6 2019-05-22 03:43:48 +10:00
Alessandro Pasotti
2b14dacd51 Fix identify on map in relation reference widget
Fixes #22071 - Relation reference widget wrong feature when "on map identification"
2019-05-21 19:09:18 +02:00
Blottiere Paul
dabd3dc935 Update tests 2019-05-21 15:16:09 +02:00
Nyall Dawson
92691f9f72 Add comment for myself 2019-05-21 19:14:55 +10:00
Nyall Dawson
4786b3ead9 Update test result for proj 6 2019-05-21 19:14:55 +10:00
Nyall Dawson
fea12d5ff6 Adjust test result for proj 6 2019-05-21 19:14:55 +10:00
Nyall Dawson
c52b1d7785 Fix resolution of bound crs proj strings to auth/code 2019-05-21 19:14:55 +10:00
Nyall Dawson
eafd7872dd QgsCoordinateReferenceSystem::fromEpsgId worked with ESRI codes
on pre proj6 builds, so keep compatibility with that under proj6
2019-05-21 19:14:55 +10:00
Alessandro Pasotti
3fd399dc59 Fix export raster as GPKG
Fixes #20848

Test added for internal functions because the main functionality
is in app.

Partially reverts 006b130e8a85dbba9e499642a8493a515cf41aa0
See: 006b130e8a
2019-05-20 18:02:28 +02: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
Nyall Dawson
0c05568219 Update a test result for proj 6 2019-05-20 13:57:02 +10: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
Matthias Kuhn
00d31f6003 Revert "Merge pull request #10002 from m-kuhn/qgz-attachments"
This reverts commit 0804e342c863455fe7114e4fa84d8b9931656f8c, reversing
changes made to e07741f00b7d69cada35521f10d3703ff404083f.
2019-05-16 13:15:07 +02:00
Éric Lemoine
c09d39ef15 Mention xvfb-run in tests/README.md 2019-05-16 11:52:05 +02:00
Éric Lemoine
b0ae641b06 Support FILTER values with colons 2019-05-16 11:52:05 +02:00
Matthias Kuhn
0804e342c8
Merge pull request #10002 from m-kuhn/qgz-attachments
Allow adding attachments in qgz files
2019-05-16 09:53:09 +02:00
Denis Rouzaud
053f54c304
Merge pull request #9992 from 3nids/itembrowser
allow browsing feature list in feature mode
2019-05-15 14:43:33 -05:00
Denis Rouzaud
f680466bf7 [FEATURE] add toolbar in attribute table to browse feature list
arrows allow browsing the feature list in the attribute table in form view
the current edited feature can be highlighted and the map canvas automatically panned or zoomed
2019-05-15 06:52:08 -05:00
Matthias Kuhn
a55c25bbeb Allow adding attachments in qgz files 2019-05-15 08:21:49 +02:00
Denis Rouzaud
2cc8e11912
stronger test for embedded layers (#10001) 2019-05-14 13:45:53 -05:00
Denis Rouzaud
ef6d6d495a add test for layer visibility in embedded group 2019-05-13 16:03:01 -05:00
Matthias Kuhn
e693e81053
Merge pull request #9971 from olivierdalang/node-tool-chain-add
[nodetool] chained add vertex at endpoint
2019-05-13 14:15:03 +02:00
Nyall Dawson
ccb8e164d4 Always get full proj string, including towgs parameters
See https://lists.osgeo.org/pipermail/proj/2019-May/008565.html

Fixes some unit test failures
2019-05-13 16:26:26 +10:00
Nyall Dawson
83adb92eab 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 14:36:10 +10:00
Nyall Dawson
279139b4ac Avoid crashes on debug builds when trying to write xml for more value types 2019-05-13 14:36:10 +10:00
Nyall Dawson
4db0f5bf6c More proj6 test fixes 2019-05-13 10:38:26 +10:00
Nyall Dawson
fcf59bb471 Try to fix proj4 build 2019-05-13 10:38:26 +10:00
Nyall Dawson
2debb89c2c Indentation 2019-05-13 10:38:26 +10:00
Nyall Dawson
0b8e38e780 Leave broken code in place for now, it can't hurt, can it? 2019-05-13 10:38:26 +10:00
Nyall Dawson
0a7f5fcd46 Disable some tests, add some temporary results for now 2019-05-13 10:38:26 +10:00
Nyall Dawson
18fb3f2bad Wip conversion to proj6 db instead of gdal csv files for population of CRS db 2019-05-13 10:38:26 +10:00
Juergen E. Fischer
e9a80d6799 fix build 2019-05-12 17:19:50 +02: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
Alessandro Pasotti
0081ad026a Faster build times with fwd include 2019-05-10 09:37:25 +02:00
Nyall Dawson
85ff9aea31 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 06:31:00 +10:00
Nyall Dawson
2e5257372b [FEATURE] Add order by support to expression aggregate and concatenation functions
Because certain aggregates and concatenation requires results in
a certain order, this change allows specific control of the order
features are added to the aggregate during an expression evaluation.

E.g.

concatenate("Station",concatenator:=',', order_by:="Station")

will give a comma separated list of station names in alphabetical
order, rather than layer feature order.

Sponsored by SMEC/SJ
2019-05-10 06:23:56 +10:00
Nyall Dawson
6b16218c0f Allow setting order by clause for aggregate calculation 2019-05-10 06:23:56 +10:00
olivierdalang
71a2766015 fix failing tests 2019-05-09 16:29:17 +02:00
Matthias Kuhn
c780ea87e6
Merge pull request #9939 from rouault/fix_opening_gpkg_with_fkey_violation
Fix opening of GeoPackage datasets with foreign key violation
2019-05-08 09:18:56 +02:00
nirvn
65ec9cd146 [symbology] Fix setSize(size) not working for ellipse markers 2019-05-08 13:18:02 +07:00
Even Rouault
87f4410ee0
[OGR provider] Fix opening of GeoPackage datasets with foreign key violation 2019-05-06 22:33:37 +02:00
Mathieu Pellerin
7376e6f82c Add tests 2019-05-06 22:07:00 +07:00
Alessandro Pasotti
425f67224d Fix json comparison with indented reference files 2019-05-06 10:30:07 +02:00