54574 Commits

Author SHA1 Message Date
Nyall Dawson
ee7a7e707c Revert "Avoid more accidentally editable table cells"
This reverts commit c6ee6e390baf4f5259dfc426916b55e5b6654a01.
2019-03-22 15:38:11 +10:00
Nyall Dawson
236cb085b8 Unit tests for QgsDatumTransformDialog 2019-03-22 15:38:11 +10:00
Nyall Dawson
8d3f710005 Use structs instead of pairs 2019-03-22 15:38:11 +10:00
Nyall Dawson
6afc6e6fb1 Constify, QStringLiteral 2019-03-22 15:38:11 +10:00
Nyall Dawson
dc6869d28d Avoid more accidentally editable table cells 2019-03-22 15:38:11 +10:00
Nyall Dawson
d658c5138c Make preferred choices more visually dominant in transform selection dialog 2019-03-22 15:38:11 +10:00
Nyall Dawson
8b1d247fc1 FORCE users to make a choice in the transformation selection dialog
We don't want users to fallback to a "don't know what this means,
I'll click 'Cancel'" behaviour here. Doing so results in the
worst possible inaccurate transformations used. Literally, picking
ANYTHING in the dialog is a better selection then allowing
them to click cancel.

Sponsored by ICSM
2019-03-22 15:38:11 +10:00
Nyall Dawson
785c03358e Move datum transformation dialog prompting behaviour setting to a new
key to reset ALL users to a default value

And add to qgis_global_settings.ini

Sponsored by ICSM
2019-03-22 15:38:11 +10:00
Nyall Dawson
3505eb9ceb [needs-docs] Add a "Make Default" checkbox in the datum transform selection dialog
If checked, the selected transformation will be set as a default
for all newly created projects (this can later be changed
in the usual place in Options - CRS)

Sponsored by ICSM
2019-03-22 15:38:11 +10:00
Nyall Dawson
cd01a5bf87 Move ALL logic for prompting users for datum transform selection
AND updating the current project transform context accordingly
to a single method

Unifies this logic, but most importantly fixes a bug where
users are NEVER prompted for a transformation when only one
valid transformation exists AND this single transform
is not added to the project context (in other words, QGIS
could not handle transformations when only one possible
path existed).

Some logic here is temporary (QgsDatumTransformDialog::defaultDatumTransform())
and will be replaced with proj db logic when we update to
proj v6 API

Sponsored by ICSM
2019-03-22 15:38:11 +10:00
Nyall Dawson
2af0d0de93 Fix double update of dialog 2019-03-22 15:38:11 +10:00
Nyall Dawson
fe50e24ccf Fix loss of transform context changes when editing project CRS in project properties dialog 2019-03-22 15:38:11 +10:00
Nyall Dawson
0b6fdd9b09 Standardise API for deciding whether the datum transform dialog should be shown 2019-03-22 15:38:11 +10:00
Nyall Dawson
fc4d9b8f78 Remove dead code 2019-03-22 15:38:11 +10:00
Harrissou Sant-anna
f998ec9bb4 Remove duplicate word 2019-03-22 12:44:27 +10:00
Nyall Dawson
e7389db5c7 Fix marker line offset along line unit is ignored when in Interval mode 2019-03-22 12:16:22 +10:00
Nyall Dawson
6b470eebea Fix warning 2019-03-22 12:16:22 +10:00
Nyall Dawson
427ea515a5 Deprecate some more methods 2019-03-22 12:16:22 +10:00
Nyall Dawson
16a64ed84d Deprecate some methods, dox++ 2019-03-22 12:16:22 +10:00
Nyall Dawson
fa202795b0 Dox++ 2019-03-22 12:16:22 +10:00
Víctor Olaya
e0a990d997 [processing] Add 'call' statements to SAGA batch file 2019-03-22 12:15:50 +10:00
AlisterH
da6a3786e2 Add missing bracket to formula generated by data defined override
Refs #21617
2019-03-22 09:38:45 +10:00
Giovanni Manghi
10a542ebdf fixes GRASS r.mapcalc tool 2019-03-22 07:29:53 +10:00
vsklencar
8e7ff107d9 [QgsQuick] Added icon for 'Today' button of QgsQuickDateTime widget.
Removed extra emopty line.
2019-03-21 22:06:42 +01:00
vsklencar
48e28354a0 [QgsQuick] 'Today' icon button moved straight to date field.
Visible only in !readOnly mode.
2019-03-21 22:06:42 +01:00
vsklencar
24bd866496 [QgsQuick] 'Today' button for QgsQuickDateTime widget
To enable quickly set current date.
2019-03-21 22:06:42 +01:00
Juergen E. Fischer
21207b8a7a update INSTALL 2019-03-21 19:45:35 +01:00
Alex
52736cedf5
indent 2019-03-21 12:32:27 -04:00
Alex
5bf0dcb118
adding newline to silence the indent test 2019-03-21 12:32:25 -04:00
lbartoletti
0cb0e387c2 Fix Z snapping for point. Point was always returned as a XY Point. Fixes #21390 2019-03-21 16:52:36 +01:00
Alex
83653403f3
changing EOL format 2019-03-21 11:23:07 -04:00
Alex
b6a32146b8
changing whitespace characters pt-1 2019-03-21 09:56:17 -04:00
Alex
aa8161146b
changing whitespace characters p-t 2 2019-03-21 09:56:14 -04:00
rldhont
59e5a68df7
Merge pull request #9526 from rldhont/fix-server-getfeatureinfo-withfilter-withoutcrs
[Bugfix][Server] In WMS GetFeatureInfo CRS param not mandatory when FILTER param
2019-03-21 14:32:06 +01:00
Alex
93c46f274f
remove duplicate decl 2019-03-21 08:09:21 -04:00
Alex
21619530ea
build fixes 2019-03-21 07:50:51 -04:00
Juergen E. Fischer
fcb572e64e fix warning 2019-03-21 10:07:38 +01:00
Blottiere Paul
226e3d420d
Merge pull request #9592 from rldhont/forwardport-9418-on-master
Forwardport #9418 on master
2019-03-21 09:46:15 +01:00
Blottiere Paul
e9067834eb
Merge pull request #9362 from pblottiere/legend_json
Add json format for legend
2019-03-21 09:17:42 +01:00
rldhont
4d70a4e28e [Server] Add unit test for WFS GetFeature with BBOX param without EPSG 2019-03-21 09:05:45 +01:00
Matthias Kuhn
efc7e87fb9
Merge pull request #9250 from uclaros/fix_reshape_bug
Quick fix for a bug in QgsGeos::reshapeLine that causes QGIS to crash…
2019-03-21 08:48:40 +01:00
Matthias Kuhn
0f20c131f2
Merge pull request #9576 from m-kuhn/geometry_validation_invalid_feature_master
Only change map extent when manually changing the active error
2019-03-21 08:13:50 +01:00
Peter Petrik
7cb1695630 fix mesh scalar rendering for value 0 2019-03-21 08:08:28 +01:00
Nyall Dawson
af06cf0cd2 [processing] Fix exception when creating unit tests 2019-03-21 16:08:42 +10:00
Nyall Dawson
c7ac86604f [FEATURE] New algorithm "Add X/Y fields to layer"
Adds X and Y (or latitude/longitude) fields to a point layer.
The X/Y fields can be calculated in a different CRS to the
layer (e.g. creating latitude/longitude fields for a layer in
a project CRS).

Sponsored by SMEC/SJ
2019-03-21 16:08:42 +10:00
Nyall Dawson
acdb368024 [processing] Allow QgsGeometry values for point parameter values
The centroid of the geometry is used for the point parameter value.
This makes it easier to write expressions for the value of point
parameters, since all the QGIS expression functions for working
with geometry types return QgsGeometry value themselves (e.g.
make_point, centroid, ...). In this case it's much nicer to
allow expression values like `make_point(3,4)` within a precalculated
expression based value in a Processing model.
2019-03-21 15:25:54 +10:00
Nyall Dawson
c66159bd2d [processing] Fix warning when loading algorithm dialog and no layers
are present

Fixes #21631
2019-03-21 15:10:30 +10:00
Nyall Dawson
db75122089 [layouts] Refresh layout automatically on page size/orientation change
Fixes #21624
2019-03-21 14:48:49 +10:00
Nyall Dawson
1dc447e1f2 Dox++ 2019-03-21 12:44:16 +10:00
Alex
d0a4b5b07f
keeping track of changes 2019-03-20 20:10:45 -04:00