Matthias Kuhn
1f38b441e7
Merge pull request #9493 from m-kuhn/fix-geomvalidator-freeze
...
Fix freeze in geometry validator
2019-03-18 15:47:03 +01:00
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
bdbb622bac
Fix crash when using QgsLayoutItemComboBox when null values
...
are displayed
Turns out there is NO reliable way to create a proxy model
which adds new rows to a model, so just bite the bullet and
do it in the underlying model (yuck)
2019-03-18 17:32:31 +10:00
Håvard Tveite
1205fbfa71
[processing] Add missing RasterLayer input parameter
2019-03-18 07:51:15 +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
Peter Petrik
37faa0d883
Add option to format time in mesh layer ( #9452 )
...
[feature] [mesh] #20731 add option to format time in mesh layer
There is new settings dialog that can be opened by button next to time slider. User can set reference time and time format (e.g. 2019-03-21 22:01:11).
2019-03-15 08:42:28 +01: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
Hugo Mercier
a7d060bb96
Merge pull request #9494 from mhugo/force_provider_constraints
...
Allow the strength of provider constraints to be soft
2019-03-14 08:42:12 +01:00
Hugo Mercier
1eaa5bbf96
Allow the strength of provider constraints to be set to soft
2019-03-13 15:30:29 +01:00
Matthias Kuhn
ee1e7385ce
Add dox
2019-03-13 07:56:55 +01:00
Nyall Dawson
46e3304d2c
Fix naming collision
2019-03-13 16:52:29 +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
ca7008c285
Add API to allow QgsScaleWidget to accept NULL values
2019-03-13 16:52:29 +10:00
Nyall Dawson
7c582063c1
Add API to allow null values in QgsScaleComboBox
2019-03-13 16:52:29 +10:00
Matthias Kuhn
60512e92df
Clear and load in getFeatures()
2019-03-12 14:28:52 +01:00
Matthias Kuhn
9a839c97f3
Copy data for background threads
...
reduce requirements to run code on main thread which risks freezes
because of deadlocks
2019-03-12 14:28:52 +01:00
Matthias Kuhn
857fe53773
[FEATURE] Merge pull request #9460 from m-kuhn/labeling_geometry_generator
...
➿ Geometry generators for labeling ➿
2019-03-12 14:15:51 +01:00
Julien Cabieces
1dc146a7ca
Change 'since' version to 3.4.6 ( #9480 )
2019-03-12 12:05:36 +01:00
Harrissou Sant-anna
4b9f4da929
Use Qt style "returns .." tense instead of "return .."
2019-03-12 14:42:36 +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
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
05ff817a97
Update docs
2019-03-11 12:48:14 +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
67e1c333ee
Save geometry generator enabled/disabled state independently
2019-03-10 13:36:52 +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