David Signer
fe9a7ee5bd
function to get info about available values to avoid duplicate code
2019-12-16 19:01:12 +01:00
David Signer
83be397f8d
menu action to only display the used values if formatter can provide available values
2019-12-16 18:28:18 +01:00
David Signer
8e0b9388b8
make const and better variablenames
2019-12-16 18:28:18 +01:00
David Signer
5e6e75662f
available values in value relations
2019-12-16 18:28:18 +01:00
David Signer
54f4efbd86
available values of value map
2019-12-16 18:28:18 +01:00
David Signer
a02cdbc39a
CanProvideAvailableValues as a flag on fieldformatter
2019-12-16 18:28:18 +01:00
David Signer
6baaae5340
get availableValues over the fieldFormatter
2019-12-16 18:28:18 +01:00
David Signer
f2dbb2e2ca
label text and comment
2019-12-16 18:28:18 +01:00
David Signer
bfde9609b1
check if referencedLayer available
2019-12-16 18:28:18 +01:00
David Signer
995335a9b5
checkbox on relation reference fields to display all values
2019-12-16 13:01:53 +01:00
David Signer
e73fe50d0a
clear list of resulting values
2019-12-16 12:02:57 +01:00
David Signer
9ebe42ad2b
read related fields on relationreference widget
2019-12-16 12:02:33 +01:00
Matthias Kuhn
3b4437bcf8
Merge pull request #33333 from lbartoletti/expression-is_empty
...
Add expressions is_empty(geom) is_empty_or_null(geom)
2019-12-16 08:06:58 +01:00
lbartoletti
c7fca820e5
Update resources/function_help/json/is_empty
...
Co-Authored-By: Matthias Kuhn <matthias@opengis.ch>
2019-12-16 06:32:23 +01:00
Harrissou Sant-anna
c235c4c195
[needs-docs] Add precision to rotate marker checkbox
...
and harmonize with hash line symbol layer dialog
2019-12-16 12:48:37 +10:00
Alessandro Pasotti
6df6bd10c4
Drop "by value" from select window title
2019-12-16 12:37:37 +10:00
Alessandro Pasotti
39747482e2
Select features by value: show layer name in window title
...
Fixes #33210
2019-12-16 12:37:37 +10:00
Nyall Dawson
235fee19ec
Don't highlight whole polygon in red when using map label tools
...
For polygons, we don't want to fill the whole polygon itself with
the rubber band as that obscures too much of the map and prevents
users from getting a good view of the underlying map.
Instead, just use the boundary of the polygon for the rubber band.
That's enough to give a visual indicator of the feature associated
with the label without getting in the way.
2019-12-16 11:14:08 +10:00
Borys Jurgiel
dbdc397fd8
[DB Manager] Fix broken geometry type of GeoPackage based SQL Layers. Fixes #33232
2019-12-16 10:08:44 +10:00
Nyall Dawson
0d84e35839
Update test images
2019-12-15 10:18:47 +10:00
Nyall Dawson
2e3b57a360
[pal] Don't reuse spatial index for two different purposes
...
This forces many removals/additions to the existing index, which
we can avoid by just using a seperate index in the first place
2019-12-15 10:18:47 +10:00
Nyall Dawson
1929c53bf4
Avoid some unnecessary heap allocations
2019-12-15 10:18:47 +10:00
Nyall Dawson
c23565287a
[pal] Only truncate the feature candidate list after we've pruned all hard conflicts
...
Avoids throwing away potentially good candidates too early
2019-12-15 10:18:47 +10:00
Nyall Dawson
da5cd52162
[pal] Bring back refined upstream version of superliminal rtree index
...
Turns out this index is MUCH (magnitudes) faster for use in pal. So
grab an updated version of the upstream library and place in external libs,
and use this for indices in pal.
(we should probably investigate whether this is faster for snapping and
other index use too!)
2019-12-15 10:18:47 +10:00
Alessandro Pasotti
7464290ae3
Merge pull request #33379 from elpaso/widget-dependencies-move-to-formatter
...
Move layerDependencies to formatter
2019-12-14 09:00:08 +01:00
Nyall Dawson
40b198cf90
Correctly skip ProcessingQgisAlgorithmsTestPt1 on azure builds
2019-12-14 08:21:20 +10:00
Nyall Dawson
db2ac240de
Add some references hashes seen on azure builds
2019-12-14 08:20:15 +10:00
Alessandro Pasotti
33b1bec927
Merge pull request #33391 from elpaso/bugfix-gh33390-html-form-wodget-crash
...
Don't crash on QgsHtmlWidgetWrapper
2019-12-13 22:36:01 +01:00
Alexander Bruy
fba3ab99a0
Merge pull request #33368 from alexbruy/processing-updates
...
Processing updates
2019-12-13 21:59:08 +02:00
Nyall Dawson
cf95f1452e
Fix another test under proj6
2019-12-14 05:33:59 +10:00
Nyall Dawson
da92b3fe8d
Fix another test under proj 6
2019-12-14 05:33:59 +10:00
Nyall Dawson
526963efb2
Fix a test under proj 6
2019-12-14 05:33:59 +10:00
Nyall Dawson
05eaa65737
Fix transform differences vs proj < 6 when using custom CRS via proj definition
...
By being more selective about when we force convert to a single crs
Fixes #32928
2019-12-14 05:33:59 +10:00
Nyall Dawson
9be6b333d0
Fix build
2019-12-14 05:33:59 +10:00
Nyall Dawson
51046d98f6
Fix incorrect reverse coordinate transforms are created when using a
...
PROJ 6+ build and a project has manual coordinate operation pathways
set
Refs #33121
2019-12-14 05:33:59 +10:00
Nyall Dawson
a1ac77877f
Add a method to determine if the coordinate operation string returned
...
by QgsCoordinateTransformContext.calculateCoordinateOperation corresponds
to the reverse of what's actually required.
Gross API, but it's the best we can do until proj has a method to
invert a coordinate operation so that we can return the proper
inverse operation proj string from calculateCoordinateOperation
(without resorting to fragile proj string parsing/mangling)
2019-12-14 05:33:59 +10:00
Nyall Dawson
ef19797997
Add method to retrieve the details of the coordinate operation which is
...
actually being used by a QgsCoordinateTransform object
2019-12-14 05:33:59 +10:00
Nyall Dawson
82a84ffd0d
Don't try to normalize proj coordinate operations constructed directly
...
from the proj string via the transform context
This isn't possible -- only proj coordinate operations constructed
from a src/dest CRS pair can be normalized, not those constructed
from a proj string.
It was redundant in any case, since we always normalize the available
operations before giving users a choice of them.
So just add some big bold warnings to the dox in case anyone is
manually manipulating and adding custom operations, that these
also MUST be pre-normalized
Refs #33121 , conversation in https://github.com/OSGeo/PROJ/issues/1794
2019-12-14 05:33:59 +10:00
Nyall Dawson
8994a4b994
Update test results for proj < 6
2019-12-14 05:32:55 +10:00
Nyall Dawson
8de83c5133
When saving and restoring CRS definitions to XML, save wkt
...
definition too, and prefer rebuilding the CRS from the WKT
definition whenever it's available
Proj strings are lossy, so prefer WKT
2019-12-14 05:32:55 +10:00
Peter Petrik
6e2ef1544f
push MDAL 0.4.93 RC1 for 3.12 release with fixed bug in reading of reference time
2019-12-14 05:31:53 +10:00
Alessandro Pasotti
0f70637e36
Don't crash on QgsHtmlWidgetWrapper
...
Fixes #33390
2019-12-13 17:46:02 +01:00
Matthias Kuhn
c2cde01cc8
Merge pull request #33378 from havatv/patch-4
...
Fix the label of the output parameter of the TPI algorithm
2019-12-13 15:39:33 +01:00
Alessandro Pasotti
a368e4483e
Add tests for field formatter dependencies
2019-12-13 13:49:37 +01:00
Alessandro Pasotti
a977343944
Test for relationreference field formatter deps
2019-12-13 13:36:06 +01:00
Peter Petrik
229245ce65
fix building on macos due to missing include of spatialite
2019-12-13 12:56:07 +01:00
Alexander Bruy
ddb93602ef
address comments
2019-12-13 13:41:27 +02:00
Matthias Kuhn
6d7c8c2dd3
Merge pull request #33369 from rouault/fix_qgsdxfexport_compilation_error
...
Fix compilation error in qgsdxfexport.cpp
2019-12-13 12:28:22 +01:00
Alessandro Pasotti
4ad62aa6ff
Move layerDependencies to formatter
...
... from the widget
2019-12-13 11:54:25 +01:00
Håvard Tveite
512eb4d2b8
Fix the label of the output parameter of the TPI algorithm
2019-12-13 11:09:45 +01:00