12216 Commits

Author SHA1 Message Date
Alexander Bruy
25c5d8dbea Revert fixes to gdal algorithms, need to investigate further 2018-02-25 08:49:55 +02:00
Nyall Dawson
703898e923 Update test masks 2018-02-25 12:47:58 +11:00
Nyall Dawson
094cef7140 Sipify and astyle 2018-02-25 08:22:14 +10:00
Salvatore Larosa
332c8a59b9 [processing] Fixes #18187: SAGA output extent values are not in the right order 2018-02-24 22:57:40 +01:00
Alexander Bruy
f3af22e16e follow up f638b3cb 2018-02-24 20:28:22 +02:00
Alexander Bruy
f638b3cb52 [processing] fix wrong variable name in GDAL alggorithms base class 2018-02-24 19:51:34 +02:00
Nyall Dawson
f35745fc70 Follow up map layer action changes
- Switch to flags instead of boolean argument
- Move logic for layer validity to canRunUsingLayer
- Add unit test

Also remove settings flag to hide duplicate features action
2018-02-24 20:15:13 +11:00
Nyall Dawson
1bada065ed [FEATURE][processing] Add 'Project points (cartesian)' algorithm
Projects points from an input point layer by a specified distance
and bearing (azimuth). Supports dynamic parameters for the distance
and bearing so that they can use field values or expressions.
2018-02-24 14:23:10 +11:00
tilmanb
176591b471
Update header comment to reflect actual file name
The filename in the top comment now matches the real file name.
2018-02-23 17:15:53 +01:00
Alexander Bruy
131efbdd1e
Merge pull request #6367 from slarosa/fix_saga_osx
[processing] fix execution of SAGA algorithms under macos
2018-02-23 12:18:03 +02:00
Alexander Bruy
f93dc908fa
Merge pull request #6434 from alexbruy/python-console
[python console] remove 'u' prefixes from strings (fix #18171)
2018-02-23 12:17:43 +02:00
Salvatore Larosa
2d9ee3dcb0 [pyqgis-coonsole] APIs file updated 2018-02-23 11:06:49 +01:00
Alexander Bruy
8d69dc1fb6 indentation 2018-02-23 11:43:32 +02:00
Alexander Bruy
7823025b8d [python console] remove 'u' prefixes from strings (fix #18171) 2018-02-23 10:39:08 +02:00
Alexander Bruy
a554409ede [processing] don't use scandir() to get directory contents (fix #18180) 2018-02-23 10:30:03 +02:00
Alexander Bruy
673421b00d
Merge pull request #6423 from nyalldawson/proc_auto_select_alg
[processing] Some toolbox ux tweaks
2018-02-23 08:38:22 +02:00
Alexander Bruy
a5399def03
Merge pull request #6429 from nyalldawson/fix_18179
[processing] Fix config exception with INT/FLOAT settings
2018-02-23 08:35:55 +02:00
Nyall Dawson
5f66494446 [needs-docs] Remove " Panel" suffixes from panel titles
This extra text adds a lot of visual clutter to the interface,
and makes tabbed dock's tab bars take up a lot of room.

Instead only show the "panel" suffix in the menus.
2018-02-23 12:03:28 +11:00
Nyall Dawson
75a9150a41 [processing] Fix config exception with INT/FLOAT settings
Fixes #18179
2018-02-23 10:43:30 +10:00
Nyall Dawson
3e86804d64
Merge pull request #6395 from lbartoletti/advanced_shape_digitize_toolbar
Make Regular Shape Digitizing Toolbar disabled by default / renamed Shape Digitizing Toolbar
2018-02-23 11:42:12 +11:00
Nyall Dawson
62cd1edbb3 [processing] Pressing enter in search box executes the selected algorithm 2018-02-23 08:27:40 +10:00
Nyall Dawson
82bfc407b8 [processing] When searching in toolbox, automatically select
the first visible algorithm if the previously selected item
was hidden

Avoids hidden selections in the toolbox
2018-02-23 08:26:47 +10:00
Nyall Dawson
3ed98f17fa
Merge pull request #6383 from Fanevanjanahary/key
[dbmanager] fix shortcut execute query
2018-02-22 15:52:46 +11:00
Nyall Dawson
6b2d3eea03 String fix 2018-02-22 10:04:44 +10:00
Juergen E. Fischer
9a3bfa01c2 fix translation strings 2018-02-22 00:37:48 +01:00
Nyall Dawson
0481666b77
Merge pull request #6408 from arnaud-morvan/processing_reload_fix
Processing reload fixes
2018-02-22 10:03:51 +11:00
arnaud.morvan@camptocamp.com
5af792c1f8 [processing] Call toolbox.deleteLater to avoid slot calls after unload 2018-02-21 21:45:27 +00:00
arnaud.morvan@camptocamp.com
3718d4e65b [processing] Properly load basic providers
Processing module should only register it's own basic providers.
Note that when reloading a plugin, subclasses of ProcessingProvider remains and new ones are added,
so in such cases QgsProcessingProvider.__subclasses__() return same provider class many times.
2018-02-21 21:42:43 +00:00
arnaud.morvan@camptocamp.com
d3a4a34515 [processing] Fix slot prototype in ModelerAlgorithmProvider. Fix #18162 2018-02-21 21:42:21 +00:00
Loïc Bartoletti
88a5e3204b - Rename "Advanced Shape Digitize Toolbar" -> "Shape Digitize Toolbar"
- Rewrite ui_defaults.h
2018-02-21 21:05:42 +01:00
Nyall Dawson
835cca7cae [processing] More string HIG fixes 2018-02-22 06:44:17 +11:00
Nyall Dawson
bd99f6979b More dialog title HIG fixes 2018-02-22 06:44:17 +11:00
Nyall Dawson
146d408190 [processing] Add direct action to open an existing model in editor 2018-02-22 06:44:17 +11:00
Nyall Dawson
277e06ec28 [processing] Fix some message box titles 2018-02-22 06:44:17 +11:00
Felis Pimeja
76c21ea369 Updated and vectorized several icons (#6382) 2018-02-21 15:39:25 +07:00
nirvn
6573eb30e7 [processing] small fix in the MultipleLayerWidgetWrapper wrapper 2018-02-21 12:00:32 +07:00
Nyall Dawson
585a4d3782 [processing] Split multiparts and explode are feature based algorithms 2018-02-21 09:16:43 +11:00
Nyall Dawson
43cd62b62f [processing] Tweak api for QgsProcessingFeatureBasedAlgorithm
Instead of returning a single QgsFeature from processFeature, we now
return a list of features.

This allows feature based algorithms which return multiple features
per input feature, e.g. "explode" type algorithms which split a
single input feature into multiple output features.
2018-02-21 09:16:43 +11:00
Loïc Bartoletti
55aa0b5be5 - Rename Regular Shape Digitize Toolbar to Advanced Shape Digitize
Toolbar
- Homogenize this toolbar like the others
- Not enabled by default
2018-02-20 17:43:26 +01:00
Denis Rouzaud
713bfd3452 add Q_ENUM for QgsRasterProjector::Precision 2018-02-20 02:00:57 -09:00
Nyall Dawson
3ffbd84f5f Add a bounding box intersection test to QgsGeometry
We only previously had methods for exact intersections - this
commit adds a new QgsGeometry.boundingBoxIntersects() method
which can be used to test if just the bounding boxes of
geometries/rectangles intersect.

It's fast, and doesn't care about invalid geometries (unlike
the exact intersects checks)
2018-02-20 13:20:38 +10:00
Nyall Dawson
1da2da219a Fix build 2018-02-20 11:31:33 +10:00
Nyall Dawson
3d4f6f82bb Followup 0548f4, fixes to layer metadata and metadata widget
Address outstanding review requests so that this PR can be merged
2018-02-20 11:10:55 +10:00
mj10777
0548f4267e Added QgsLayerMetadata logic to QgsDataProvider. Added setMetadata in QgsVector/RasterLayer::setDataProvider. Corrections in QgsMetadataWidget with added get/setMetadata and hasChanged functions plus checking for set mLayer pointer before use. 2018-02-20 11:06:57 +10:00
Nyall Dawson
206f22b9c7 [processing] Fix algorithm help link in modeler
Fixes #18147
2018-02-20 10:03:27 +11:00
Nyall Dawson
fdebddd13a [processing] Fix raster layers shown as inputs for certain vector algs
Fixes #18148, #18149
2018-02-20 10:03:27 +11:00
Nyall Dawson
c07f37a5cb [processing] Select by expression/attribute can run on geometryless layers 2018-02-20 10:03:27 +11:00
Juergen E. Fischer
f14b729e3b fix some references to PROJ.4 2018-02-19 22:12:09 +01:00
Denis Rouzaud
1a1b197ced use Qgsettins::enumSettingValue where possible 2018-02-19 05:55:09 -09:00
Faneva
78c79a9243 [dbmanager] fix shortcut execute query 2018-02-19 15:52:45 +03:00