7447 Commits

Author SHA1 Message Date
Nyall Dawson
762ea69cd2 [layouts] Fix filtering of attribute table to visible features
when linked map is rotated

The rotation wasn't being taken into account, which meant that
visible features weren't shown (and vice versa)
2019-06-10 08:24:11 +10:00
Alessandro Pasotti
5aa5a841cb Update test because now we are correctly returning null 2019-06-09 12:54:03 +02:00
Alessandro Pasotti
574d40a506 Fix test QCOMPARE 2019-06-09 10:47:27 +02:00
Alessandro Pasotti
79219dae23 Forward port of histogram binding fix with a bonus test
Fwd port of PR #30033
Fixes #29700

With a new test for the bug.
2019-06-09 10:25:50 +02:00
Alessandro Pasotti
3ea542a433 Fix json hanlding of bools and complete json(b) PG support
Fixes #30131 and add tests for jsonutils
2019-06-08 20:29:48 +02:00
Nyall Dawson
75e225248b [afs] ImageServer services can be accessed as FeatureServers, but
we need to manually assume the geometry type is Polygon
2019-06-07 19:24:10 +10:00
Nyall Dawson
7876a6c2a4 [afs] If a field has a coded domain set, create a corresponding
value map editor widget setup to ensure raw values are correctly
displayed as their corresponding description
2019-06-07 19:24:10 +10:00
Alessandro Pasotti
1b5fb70647
Merge pull request #30096 from elpaso/bugfix-gh30062-gpkg-copy-fid
createFeatures check unique constraints on unfiltered layer
2019-06-07 08:19:56 +02:00
Alessandro Pasotti
96c3357915
Merge pull request #30100 from elpaso/bugfix-gh29937-duplicated-datefield-crash
Do not emit dateChanged signal if value has not changed
2019-06-07 08:18:47 +02:00
Matthias Kuhn
71c3205a2b Extended validity period 2019-06-06 17:41:40 +02:00
Matthias Kuhn
430845ee16 Remove debug stuff 2019-06-06 15:59:34 +02:00
Matthias Kuhn
6b8aa01428
Merge pull request #30076 from m-kuhn/ssl_certificate_check
Only check server SSL certificate if requested
2019-06-06 15:37:19 +02:00
Matthias Kuhn
936c33081a Use the chain cert again 2019-06-06 14:49:50 +02:00
Matthias Kuhn
98c1abb545 Some more silly tests 2019-06-06 14:29:57 +02:00
Matthias Kuhn
98d2328aae Fix typo 2019-06-06 14:22:03 +02:00
Alessandro Pasotti
b10d85f410 Typo 2019-06-06 13:45:11 +02:00
Alessandro Pasotti
7737cf6b6b Add test for double widgets in a form 2019-06-06 11:59:59 +02:00
Matthias Kuhn
608f050d01 Redo the whole cert signing process 2019-06-05 22:47:51 +02:00
Alessandro Pasotti
150fac63b1 Astyle on unrelated file 2019-06-05 17:49:13 +02:00
Matthias Kuhn
c76336683a Sign postgres.crt with ca 2019-06-05 17:10:07 +02:00
Matthias Kuhn
dc36d4a234 Add ssl key with postres as CN 2019-06-05 15:00:59 +02:00
Matthias Kuhn
d34c7395d3 Fix access rights 2019-06-05 13:50:49 +02:00
Matthias Kuhn
8c39f88b85 Make the code check a bit happier 2019-06-05 12:53:19 +02:00
Alessandro Pasotti
12094db813 createFeatures check unique constraints on unfiltered layer
Fixes #30062
2019-06-05 12:50:02 +02:00
Matthias Kuhn
128583e97f Fix dockerfile 2019-06-05 12:47:54 +02:00
Matthias Kuhn
107bf5f9b4 Temporary workaround until https://github.com/kartoza/docker-postgis/pull/129 is merged 2019-06-05 10:28:41 +02:00
Matthias Kuhn
f198931289 Unblacklist postgres postgis test 2019-06-05 10:25:38 +02:00
Matthias Kuhn
eb39933851 Add test for postgres server certificate validation 2019-06-05 10:20:59 +02:00
Alessandro Pasotti
df25107f38 Forward port of test raster layer save as dialog 2019-06-05 10:12:15 +02:00
Alessandro Pasotti
ebd86c4497 Merge pull request #30008 from elpaso/bugfix-20848-issue-exporting-as-gpkg_3_4
Backport and enhance fix export raster as GPKG
2019-06-05 09:57:41 +02:00
Nyall Dawson
416e387e58 Spelling 2019-06-05 04:01:28 +10:00
Nyall Dawson
fb4a0c1b85 Ensure that crses which cannot be represented by proj strings are
still available in proj >= 6.0 builds
2019-06-05 04:01:28 +10:00
Nyall Dawson
8a4d306161 Avoid some crs db lookups on proj 6 builds 2019-06-05 04:01:28 +10:00
Nyall Dawson
7f0df70478 Fix inverted polygon is distorted when map is rotated
Fixes #26381
2019-06-05 04:00:58 +10:00
Nyall Dawson
35f16f3f37 Fix disabled, broken test 2019-06-05 04:00:58 +10:00
Nyall Dawson
b5d0607bf7 Update test mask images 2019-06-05 04:00:58 +10:00
Nyall Dawson
942827ba52 Fix Travis build 2019-06-04 06:18:17 +10:00
Nyall Dawson
1bc716fc61 [labeling] Fix incorrect bounding box of labels used when
map is rotated

Fixes #24680
2019-06-04 06:18:17 +10:00
Nyall Dawson
004b7d879a [labeling] Fix cannot use labeling map tools when canvas is rotated
Fixes #25384
2019-06-04 06:18:17 +10:00
Nyall Dawson
70a07f930e Add some unit tests for labeling results 2019-06-04 06:18:17 +10:00
Nyall Dawson
fe4ea3318a Add method to retrieve grid details from a proj string 2019-06-03 16:46:54 +10:00
Nyall Dawson
56c265fa34 Update test results 2019-06-03 16:46:54 +10:00
Nyall Dawson
5db70523ec Whenever calculating proj coordinate operation strings, ALWAYS
base them on normalized operations

QGIS doesn't need (or want) to care about strictly following
projection definitions here, we ALWAYS want X/Y to be X/Y
2019-06-03 16:46:54 +10:00
Nyall Dawson
315e043754 Update test results for proj 6 2019-06-03 16:46:54 +10:00
Nyall Dawson
a4e5e6a598 [needs-docs] Append a local, user writable folder to proj 6 search paths
Now, proj will search in the current user profile "proj" folder (e.g.
.local/share/QGIS/QGIS3/profiles/default/proj" on linux) for
grid files and other proj helper files.

This allows users (and plugins) to install grid files and make them
available for use in QGIS without requiring administrator access
to the system.
2019-06-03 10:38:22 +10:00
Nyall Dawson
c82d3b643f Upgrade QgsCoordinateTransformContext for proj 6
This reworks (on proj 6 builds only!) QgsCoordinateTransformContext
to use proj strings of proj coordinate operations to handle the
users' preferred list of operations when transforming coordinates
between two CRSes.

Previously, the context heavily utilised internal transform ID
numbers, which were QGIS specific and relied on matching entries
from the QGIS srs.db file. This approach was undesirable because
it meant QGIS had to maintain and carry it's own table of
possible transform pathways between CRS pairs (which was difficult
to update, impossible to track, and most likely severely out of
date).

Now we can utilse Proj 6's (wonderful!) logic for determining the
best coordinate operation to utilise between two CRSes. All the
old API has been deprecated and no longer works under proj 6, but
that's unavoidable (and unlikely to be in use by plugins anyway,
it's VERY low level stuff).

A further bonus of this work is that QgsCoordinateTransform no
longer relies on proj strings of the source/dest CRS to build
the transform -- the issue with that approach was that proj
strings are lossy (and not always possible to generate), so
now by default we are generating better pathways between CRS
pairs.

This resolves issues with transforms which rely on pivot datums,
such as GDA94 - GDA2020 conversions.

Sponsored by ICSM
2019-05-31 10:38:08 +10:00
Nyall Dawson
0cf4ecf491 Deprecate a QgsCoordinateTransformContext members which don't
apply in proj >= 6.0 builds
2019-05-31 10:38:08 +10:00
Nyall Dawson
c61fb85ed6 Remove unused support for single source/dest settings in QgsCoordinateTransformContext
This has been #ifdef'ed out since it's original implementation,
and it has no meaning in the world of Proj >= 6.0
2019-05-31 10:38:08 +10:00
Nyall Dawson
0c590a1650 Indentation 2019-05-31 09:56:53 +10:00
Juergen E. Fischer
0597a8183a fix windows build 2019-05-31 01:11:35 +02:00