64790 Commits

Author SHA1 Message Date
Nyall Dawson
d57a638ec4 Add a processing algorithm flag to indicate that an algorithm requires
a valid project to be set in the context in order to execute

And flag a bunch of algorithms which require this
2020-07-30 08:26:40 +10:00
Nyall Dawson
04e07f07d0 Warn on running deprecated algorithms or algorithms with known issues from qgis_process 2020-07-30 08:26:40 +10:00
Nyall Dawson
687398415b [processing] Flag a bunch of algorithms to hide them from qgis_process 2020-07-30 08:26:40 +10:00
Nyall Dawson
937a41a656 [processing] Add a flag for algorithms to indicate that they should
not be available from the standalone qgis_process tool (e.g. "select by "
algorithms, which have no meaning outside of a GUI application)

These algorithms are hidden from the algorithm list for qgis_process
and cannot be run by the tool
2020-07-30 08:26:40 +10:00
Nyall Dawson
8049da8daf Fix test 2020-07-30 08:26:40 +10:00
Nyall Dawson
c8d1aa799f [processing] Add option to set the ellipsoid to use for calculations
when running qgis_process

Appending "--ELLIPSOID=xxxx" to the argument list allows users to explicitly
set the ellipsoid to use for calculations.

Fixes #37988
2020-07-30 08:26:40 +10:00
Nyall Dawson
b40bfbbf4c Use direct getters for ellipsoid/units in processing algs
Refs #37988
2020-07-30 08:26:40 +10:00
Nyall Dawson
03854a41b0 Add explicit settings for ellipsoid, distance and area units to QgsProcessingContext
to avoid having to always retrieve these via the context's project (which may
not be available in some circumstances)

Refs #37988
2020-07-30 08:26:40 +10:00
Alessandro Pasotti
0f7a946f51 PG style storage: replace forbidden XML unicode chars
Fixes #3800
2020-07-30 08:19:43 +10:00
Harrissou Sant-anna
8d4843d27b Harmonize NULL spelling in function help 2020-07-30 05:00:13 +10:00
vcloarec
fd81a2edfc add button in tool bar to switch between linear/circular digitizing 2020-07-29 12:49:44 -04:00
vcloarec
488efcb767 allow mix digitizing curve and digitizing trace 2020-07-29 12:49:44 -04:00
vcloarec
938c3ff3cd sync vertices with matches 2020-07-29 12:49:44 -04:00
vcloarec
932151f33a some refactoring and fixes issue with rubberband and trace 2020-07-29 12:49:44 -04:00
vcloarec
f3a8dd792a fixe some issue with trace 2020-07-29 12:49:44 -04:00
vcloarec
7b772eadac fix loss of circular when feature is finished and add tests 2020-07-29 12:49:44 -04:00
vcloarec
b3890e0e31 some few refactoring an fix tracing issue 2020-07-29 12:49:44 -04:00
vcloarec
f7a16c5fd3 fix doc and pass map tool reshape test 2020-07-29 12:49:44 -04:00
vcloarec
56787d63d0 fix SIP end doc 2020-07-29 12:49:44 -04:00
vcloarec
9a39f9ab08 fix issue with Z value and fix reshape test 2020-07-29 12:49:44 -04:00
vcloarec
57f46591eb fix SIP 2020-07-29 12:49:44 -04:00
vcloarec
2e3fabf945 QgsMapToolCapture support circular curve 2020-07-29 12:49:44 -04:00
vcloarec
24b1b3b4c0 split vector feature with QgsCurve 2020-07-29 12:49:44 -04:00
nirvn
c4722b4f6b Add a locale-specific goto test 2020-07-29 10:51:33 +07:00
nirvn
f77c1ea56a [locator] Add user locale handling to the goto locator 2020-07-29 10:51:33 +07:00
ghtmtt
95589d1e69 typo 2020-07-29 10:34:55 +10:00
ghtmtt
d1e480774c enhance nearest neighbour analysis description 2020-07-29 10:34:55 +10:00
Nyall Dawson
40f21abf7a Move initialization to Qgs3DAppUtils 2020-07-29 10:27:17 +10:00
Nyall Dawson
1484a30fef Add API to allow generation of icons for 3d symbols from app
(still not implement -- but a necessary prerequisite to proper icons)
2020-07-29 10:27:17 +10:00
Nyall Dawson
c938de4827 Style 2020-07-29 10:27:17 +10:00
Nyall Dawson
d30a44d7ac Use a hacky generic icon for 3d symbols in style manager for now
Because implementing proper thumbnails is a considerable task in itself...
2020-07-29 10:27:17 +10:00
Nyall Dawson
a3e1d0ca88 Use a collapsible group box for polygon edge settings 2020-07-29 10:27:17 +10:00
Nyall Dawson
971a92deb8 Fix some 3d symbol layout issues 2020-07-29 10:27:17 +10:00
Nyall Dawson
b1d02619f5 Use registry to create 3d symbol widgets, avoid hardcoded widgets 2020-07-29 10:27:17 +10:00
Nyall Dawson
2ad4337bed Only show compatible symbols in 3d symbol widget 2020-07-29 10:27:17 +10:00
Nyall Dawson
fbdc6766a5 Consistently pass layer to 3d symbol widgets 2020-07-29 10:27:17 +10:00
Nyall Dawson
fd285232ef Updates docs 2020-07-29 10:27:17 +10:00
Nyall Dawson
6d0069484d Fix leak when adding symbols 2020-07-29 10:27:17 +10:00
Nyall Dawson
f48a79ca85 Fix accidental overwrite using wrong symbol settings 2020-07-29 10:27:17 +10:00
Nyall Dawson
a0e915fc50 Add support for filtering style model by 3d layer type 2020-07-29 10:27:17 +10:00
Nyall Dawson
d65b52db77 Add CompatibleGeometryTypesRole to style model 2020-07-29 10:27:17 +10:00
Nyall Dawson
6245b552a4 Add method to retrieve compatible layer types from 3d symbol in style library 2020-07-29 10:27:17 +10:00
Nyall Dawson
93022ea707 Add method to determine compatible vector layer types for a 3d symbol 2020-07-29 10:27:17 +10:00
Nyall Dawson
680e0952f0 Show 3d symbol library selector in 3d symbol widget 2020-07-29 10:27:17 +10:00
Nyall Dawson
396540a5e7 Defer load of 3d symbols in default style until after 3d symbol registry is populated
Otherwise it's impossible to load these symbols
2020-07-29 10:27:17 +10:00
Nyall Dawson
d8e44539f1 Allow adding/editing 3d symbols in style manager dialog 2020-07-29 10:27:17 +10:00
Nyall Dawson
ae3f2c319c Model tests 2020-07-29 10:27:17 +10:00
Nyall Dawson
6e40962510 Partial 3d symbol style manager work 2020-07-29 10:27:17 +10:00
root676
0ec238b703 those unecessary blanks in helpstrings... 2020-07-29 08:29:18 +10:00
root676
b83bb8bbec optimize data extraction from QgsRasterBlocks 2020-07-29 08:29:18 +10:00