Nyall Dawson
a38e9e66fc
[processing] Fix layerName= suffix is incorrectly passed to SAGA algorithms
...
Fixes #21569
2019-03-18 18:24:02 +10:00
Nyall Dawson
719a225bca
[processing] Port point widget wrapper to new API
...
And switch to a snapping canvas tool when selecting points from canvas
2019-03-17 16:19:40 +10:00
Nyall Dawson
95930ed68c
[processing] Fix IDW parameter value creation
2019-03-15 08:38:01 +10:00
Nyall Dawson
c24f51ece8
[processing] Fix exception in IDW interpolation
...
Fixes #21578
2019-03-15 08:38:01 +10:00
Nyall Dawson
db1645cf12
[processing] Fix processing.runAndLoadResults
...
Fixes #21551
2019-03-15 08:37:43 +10:00
Nyall Dawson
32fbf0a92b
[processing][FEATURE] New parameter type for map scales
...
This adds a new parameter type specifically for map scales,
QgsProcessingParameterScale. The values are evaluated using
self.parameterAsDouble, which returns the map scale
denominator (matching the standard in other parts of the
QGIS API).
Scale parameters are displayed to users using the standard
QgsScaleWidget, which includes the combo box of predefined
scales and a shortcut button to match the current map scale.
2019-03-13 16:52:29 +10:00
Nyall Dawson
021d1ef237
[FEATURE][processing] New parameter types for layouts and layout items
...
Allows processing algorithms which operate on a specific layout
and layout item selection
2019-03-12 08:16:52 +10:00
Nyall Dawson
5ec43cfdc1
[processing] Add project to QgsProcessingParameterWidgetContext
2019-03-12 08:16:52 +10:00
Alessandro Pasotti
8e39f0f57a
Merge pull request #9478 from elpaso/bugfix-21028-db-manager-sqlite-thread
...
[db-manager] Invalidate sqlite connection if it was created in anothe…
2019-03-11 21:28:43 +01:00
Alessandro Pasotti
8fb112d26f
[db-manager] Invalidate sqlite connection if it was created in another thread
...
Fixes #21028 - DB manager: SQLite objects created in a thread can only be used in that same thread
2019-03-11 16:04:00 +01:00
Etienne Trimaille
fa843f8705
drop old processing provider example which is not compatible QGIS 3
2019-03-11 09:38:23 +10:00
Giovanni Manghi
7aa7248b97
Better GRASS r.series description to help workaround a limitation of Processing
2019-03-11 09:22:02 +10:00
Alexander Bruy
8b621b6997
[feature][processing] expose GDAL pansharpening tool in the Processing
2019-03-11 08:48:02 +10:00
Alexander Bruy
0fcf567fb0
[processing] fix handling of the multiple layers parameter when inputs
...
are plain files
2019-03-11 08:29:03 +10:00
Nyall Dawson
82b186f00f
[processing] Allow data type for numeric inputs to be specified
2019-03-11 08:05:07 +10:00
Nyall Dawson
9f6ddaf5c5
Fix qt warning on modeler algorithm edit
2019-03-11 08:05:07 +10:00
Nyall Dawson
cf43446885
[processing] Show parameter type in input definition dialog title
2019-03-11 08:05:07 +10:00
Nyall Dawson
b66b944535
[FEATURE][processing] New Raster Boolean logical OR/AND algorithms
...
These algorithms calculate the boolean OR or AND for a set of input
rasters. For AND, if all of the input rasters have a non-zero value
for a pixel, that pixel will be set to 1 in the output raster, otherwise
it will be set to 0. For OR, if ANY of the input rasters have a non-zero
value for a pixel, that pixel will be set to 1 in the output raster,
else 0.
A reference layer parameter specifies an existing raster layer to use
as a reference when creating the output raster. The output raster will
have the same extent, CRS, and pixel dimensions as this layer
By default, a nodata pixel in ANY of the input layers will result in
a nodata pixel in the output raster. If the 'Treat nodata values
as false' option is checked, then nodata inputs will be treated the
same as a 0 input value.
Makes for much simpler raster boolean logic calculation without
the complexity of using the raster calculator (and that's not
always possible to do anyway, e.g. when ANY of the input rasters
has a nodata pixel). It's also scalable dynamic to any number of
input rasters (unlike raster calc), so is more flexible when
used within models.
2019-03-11 07:45:44 +10:00
Matthias Kuhn
7ceb97aec6
Merge pull request #9456 from Gustry/pyqt
...
replace some PyQt5 to qgis.PyQt
2019-03-10 12:08:07 +01:00
Matthias Kuhn
312473c4dd
Update python/plugins/MetaSearch/util.py
...
Co-Authored-By: Gustry <gustrimaille@yahoo.fr>
2019-03-10 06:34:10 -04:00
Matthias Kuhn
a91ecd534c
Merge pull request #9444 from NaturalGIS/gdal_fix_improve_gdal_clip_raster_by_mask
...
Fixes/improves the GDAL clip by mask layer tool
2019-03-10 10:35:13 +01:00
Etienne Trimaille
2076ca4fe0
replace some PyQt5 to qgis.PyQt
2019-03-09 22:45:51 -04:00
Alexander Bruy
80dd6d5203
[processing] add missed imports to batch panel ( fix #21486 )
2019-03-09 20:34:15 +02:00
Giovanni Manghi
78cc5b2bf5
Fixes/improves the GDAL clip by mask layer tool: removes a an option (-te) that does not make sense for the clip by mask, and adds the option to allow choose the output resolution
2019-03-09 11:46:26 +00:00
Nyall Dawson
cccf974211
[processing] Port enum widget wrapper to new API
...
Fixes:
- enum parameters set to "allow multiple" only allow a single
value selection when used in modeler
- optional enum parameters cannot be set to no value when
used outside of modeler
Fixes #20406
2019-03-08 15:46:59 +10:00
lbartoletti
f87c447d34
Add FreeBSD for SagaUtils
2019-03-07 08:48:23 +10:00
Juergen E. Fischer
be6c0738a4
fix 9f1fcb72d4
2019-03-05 23:14:43 +01:00
Nyall Dawson
8bef710cea
[processing][saga] Difference and symmetric difference algorithms have known issues in SAGA LTR
2019-03-06 06:33:06 +10:00
Nyall Dawson
63d648738d
[processing][needs-docs] By default, hide algorithms with known issues from toolbox
...
And add a Processing setting to allow these to be shown. When shown, they
are highlighted in red with a tooltip explaining that the algorithm
has known issues
2019-03-06 06:33:06 +10:00
Juergen E. Fischer
9f1fcb72d4
processing: enable translation for parameter descriptions
2019-03-05 20:16:23 +01:00
Corentin.F
8602d8fd97
Fix LineEdit name error
2019-03-05 09:59:28 +01:00
Nyall Dawson
5fca18c4ae
[processing][GRASS] Fix exceptions on Python < 3.6
...
Fixes #21173
2019-03-05 17:09:36 +10:00
Nyall Dawson
2ff0d5919c
[processing] Avoid more deprecation warnings from external libraries
2019-03-05 14:44:02 +10:00
Nyall Dawson
c1cc2b53d9
Fix qt warning on opening modeler dialog
2019-03-05 14:44:02 +10:00
Nyall Dawson
723051b291
[processing] Fix initial zoom of models on hidpi displays
...
Fixes #16456
2019-03-05 14:44:02 +10:00
Nyall Dawson
8154008daf
[processing] Fix items are not correctly placed in model designer
...
when view is not set to top-left of model scene
2019-03-05 14:44:02 +10:00
Nyall Dawson
30f786c129
[processing] Fix crashes and random behavior after dropping algorithms
...
to model designer
Also fixes drag and drop within the algorithm parameter dialog and
the qt warnings thrown during these operations
2019-03-05 14:44:02 +10:00
Nyall Dawson
e09b97f91e
[processing] Fix missing vector polygon to lines menu item
...
Fixes #21475
2019-03-05 14:34:42 +10:00
Nyall Dawson
ce5faa1524
[processing] Force regeneration of primary key for more algorithms
...
Fixes #21445
2019-03-05 07:06:30 +10:00
Nyall Dawson
9d509e7f4c
[processing] Fix outdated Find Projection docs
...
Fixes #21404
2019-03-05 07:06:08 +10:00
AnikaBettge
972e7a474d
Fix default setting for ew_step and ns_step parameter
...
Fix default setting for ew_step and ns_step parameter which must be "none" rather than 1.5 (which leads to wrong default values in GRASS GIS)
2019-03-04 21:00:30 +10:00
Nyall Dawson
558d5365b5
Add new plugin metadata string to indicate whether a plugin
...
implements Processing providers
Plugins which implement providers should include the
hasProcessingProvider=yes
line within their metadata.txt file. This allows for rapid
identification of all plugins which implement Processing
functionality.
2019-03-02 12:06:59 +10:00
AnikaBettge
819f275ba4
Fix default setting for gauss parameter
...
Fix default setting for gauss parameter which must be "none" rather than 0 (which leads to empty maps as gauss=0 is unhelpful)
2019-03-02 06:09:04 +10:00
Nyall Dawson
dab4a04309
[processing] Draw arrows connected to selected/hovered components
...
slightly darker
Makes it easier to track connections in a complex model
2019-03-01 15:39:49 +10:00
Nyall Dawson
2178e1a71a
[processing] Pre-highlight model components on hover
2019-03-01 15:39:49 +10:00
Nyall Dawson
93de4d15a6
[processing] Show tooltips in modeler when hovering over model component
2019-03-01 15:39:49 +10:00
nirvn
b5146db92e
Use the QgsSqliteUtils system tables list in DB Manager
2019-03-01 12:30:04 +07:00
Nyall Dawson
885f47d2af
[processing] Avoid creation of gui components at startup
2019-02-28 19:38:53 +10:00
Nyall Dawson
3f735368f6
astyle
2019-02-27 09:41:11 +10:00
Juergen E. Fischer
5aecf74e9a
saga help fix
2019-02-26 23:17:50 +01:00