14895 Commits

Author SHA1 Message Date
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
f9fb4085b2 Tweaks to layout item combo box 2019-03-12 08:16:52 +10:00
Nyall Dawson
0003e91f27 Add methods to resolve parameters to layouts/layout items 2019-03-12 08:16:52 +10:00
Nyall Dawson
ba82954ac5 [processing] Add new parameter type for layout item objects 2019-03-12 08:16:52 +10:00
Nyall Dawson
dd49720863 [processing] Add new parameter type for print layout names 2019-03-12 08:16:52 +10:00
Nyall Dawson
5ec43cfdc1 [processing] Add project to QgsProcessingParameterWidgetContext 2019-03-12 08:16:52 +10:00
Nyall Dawson
8d77a6bdcc New gui class QgsLayoutComboBox
Shows a list of layouts
2019-03-12 08:16:52 +10:00
Nyall Dawson
cba22770dc Move layout manager model from app to core and add unit tests 2019-03-12 08:16:52 +10:00
Nyall Dawson
0b270f98fb
Merge pull request #9454 from nastasi-oq/distribute-equispaced2
[layout] add new vertical and horizontal equispaced distributions
2019-03-12 06:29:33 +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
Matthias Kuhn
f575656ddb
Merge pull request #9461 from m-kuhn/pal_cleanup
Some cleanup in labeling and pal
2019-03-11 07:38:47 +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
a133bcae45
Fix sip bindings and ignore missing docs 2019-03-10 18:37:41 +01:00
Matthias Kuhn
2ab58c94db
Rule based labeling RAII 2019-03-10 17:27:50 +01:00
Matthias Kuhn
da0e4741c1
Pal should also use 64 bit fids 2019-03-10 17:27:50 +01: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
Matteo Nastasi
37d482c696 Merge remote-tracking branch 'mainstream/master' into distribute-equispaced2 2019-03-10 01:00:05 +01:00
Alexander Bruy
80dd6d5203 [processing] add missed imports to batch panel (fix #21486) 2019-03-09 20:34:15 +02:00
Matteo Nastasi
7c6b66be8a [FEATURE] [needs-docs] add new vertical and horizontal equispaced distributions 2019-03-09 18:18:07 +01: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
Mathieu Pellerin
3057fd61b0
[plugin manager] Dont disconnect overall finished signal 2019-03-09 18:45:30 +07:00
Alessandro Pasotti
ec0ff4abb5
Merge pull request #9417 from elpaso/bugfix-21497-make-features-compatible
Fix makeFeatureCompatible wrong field count
2019-03-08 12:16:06 +01:00
Denis Rouzaud
0e5c91234f add missing new line 2019-03-08 12:00:02 +01:00
Denis Rouzaud
d0fceef23a
Merge pull request #9425 from 3nids/scope_base_enum
Scope based enum
2019-03-08 11:38:01 +01: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
Denis Rouzaud
20883c9532 run sipify 2019-03-07 21:07:53 +01:00
Denis Rouzaud
717ea437c1 use scope based enum for QgsAdvancedDigitizingDockWidget::AditionalConstraints 2019-03-07 16:34:16 +01:00
Alessandro Pasotti
0325a37ff9 Fix makeFeatureCompatible wrong field count
Fixes #21497 - Copying features from source layer to target layer - field values are not copied
2019-03-07 14:45:04 +01:00
lbartoletti
f87c447d34 Add FreeBSD for SagaUtils 2019-03-07 08:48:23 +10:00
Harrissou Sant-anna
53a717a41b Fix formatting in pyqgis documentation (#9396)
* Fix API documentation

* Fix sip doc
2019-03-06 20:09:26 +01: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
Nyall Dawson
c0640c67b0 [processing] Add flag for algorithms with 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