5717 Commits

Author SHA1 Message Date
Médéric RIBREUX
433d376c8a Fix optional None input parameters handling 2017-12-26 18:53:30 +01:00
Médéric RIBREUX
5321ee5ea2 Update TODO list 2017-12-26 18:28:21 +01:00
Alexander Bruy
9fb386ac60
Merge pull request #5945 from medspx/ProcessingGrassFixDescV
[Processing] Fix description files for GRASS provider
2017-12-25 09:40:36 +02:00
Médéric RIBREUX
a540a93e24 Fix i.modis.qc description file 2017-12-23 10:24:52 +01:00
Tom Kralidis
04b18f4d43 [bugfix] [MetaSearch] make gml:Envelope CRS explicit for spatial queries
(fixes #17739)
2017-12-22 16:21:25 -05:00
Tom Kralidis
e16dfe4ff0
MetaSearch: remove duplicate field 2017-12-22 09:21:39 -05:00
Trashmonk
d908518c49 Update Rasterize.py 2017-12-21 17:55:02 +01:00
Trashmonk
82df4de88a Update Rasterize.py 2017-12-21 17:55:02 +01:00
Trashmonk
4fbea38439 Added transparency to areas with no vector data.
Originally the background colour defaulted to white with no transparency for areas without vector data. I have added an alpha channel to the geotiff and set it zero (full transparency) for areas with no vector data. This could be optional, in case the user wants a solid background.
2017-12-21 17:55:02 +01:00
Borys Jurgiel
ecb9611b00 Fix group id of GDAL algorithms. Follows up 53bc147dca00 2017-12-20 12:07:32 +01:00
Nyall Dawson
4643712a1e Fix missing transform contexts for QgsDistanceArea
QgsDistanceArea.setSourceCrs() now requires a QgsTransformContext
argument.
2017-12-20 17:37:46 +10:00
Nyall Dawson
6528f1c307 Require a transform context when setting the destination crs for
a feature request

Forces correct datum handling for these requests, and removes
a few more uses of the deprecated/datum unaware transforms.
2017-12-20 12:32:20 +10:00
Médéric RIBREUX
1ba1dbed7b Fix also i.* description files 2017-12-16 11:12:12 +01:00
Médéric RIBREUX
6d4d291f0b Review ParameterNumber for r.* description files 2017-12-16 11:12:12 +01:00
Médéric RIBREUX
507af21f2f Review optional ParameterNumbers 2017-12-16 11:12:12 +01:00
Médéric RIBREUX
f70032bab6 Fix v.buffer 2017-12-16 11:12:12 +01:00
Médéric RIBREUX
5b86407338 Fix parameters and support empty default values for Enums 2017-12-16 11:12:12 +01:00
Médéric RIBREUX
a8afd12f51 First fixes before tests 2017-12-16 11:12:12 +01:00
Nyall Dawson
252f0802b1 Follow up 647bd25 2017-12-16 13:54:26 +10:00
Nyall Dawson
647bd256b1 [processing] Use a more unique separator for log file
Fixes #17704
2017-12-16 11:59:11 +10:00
Nyall Dawson
0c7cf21fe2
Merge pull request #5535 from nyalldawson/datum
Datum transform handling rework, pt 1
2017-12-15 22:53:02 +11:00
Alexander Bruy
e9feeaacc6
Merge pull request #5875 from alexbruy/processing-editor
[FEATURE][processing][needs-docs] add find and replace functionality to script editor
2017-12-15 13:21:41 +02:00
Alexander Bruy
a0ce648175 [processing] use groupId when constructing help URL 2017-12-15 12:11:46 +02:00
Alexander Bruy
5016c21ed3 [FEATURE][processing][needs-docs] add find and replace functionality to
Processing script editor (forward-port from 2.18 branch)
2017-12-15 11:07:15 +02:00
Nyall Dawson
5b1da988ba [processing] List unique values improvements
- allow running on non-spatial tables
- allow choice of more than one field
2017-12-15 15:46:50 +11:00
Nyall Dawson
86d9492372 Remove context-unaware QgsCoordinateTransform constructors from Python bindings
This forces Python code and plugins to become datum transform
aware, and given that upgrading python code is easy (just
add QgsProject.instance() as a new argument to the constructor)
it's relatively painless to force this on PyQGIS users.

Also fix upgrade the easy QgsCoordinateTransform c++ constructors
where the project is available, or where using QgsProject::instance()
is safe to do.

For others, just avoid the deprecated warnings until we can
get access to the correct project instance where the transform
is being constructed.
2017-12-15 14:13:22 +10:00
Nyall Dawson
db07bc6c07
Merge pull request #5867 from alexbruy/processing-group
[processing] add groupId() method to get untranslated algorithm group
2017-12-15 12:25:45 +11:00
Nyall Dawson
bbf00279ad [processing] Don't sort field names in multi-field input dialog
Field names should always be listed in the order that the layer
defines them
2017-12-15 08:58:54 +11:00
Alexander Bruy
2674022b6c [processing] add group id to scripts 2017-12-14 18:10:35 +02:00
Alexander Bruy
dca37abd0e [processing] add group id to QGIS algorithms 2017-12-14 18:04:12 +02:00
Alexander Bruy
53bc147dca [processing] add group id to GDAL algorithms 2017-12-14 18:04:11 +02:00
Alexander Bruy
5e157c967d [processing] add group id to SAGA algorithms 2017-12-14 18:04:11 +02:00
Alexander Bruy
6f43954839 [processing] add group id to GRASS algorithms 2017-12-14 18:04:02 +02:00
Matthias Kuhn
b619dcb00a Refactor fields configuration in the modeler does not insist on layer
Inside the modeler, there is not enough knowledge about the layer on
which the refactor fields algorithm will run.
Let's be graceful with error messages here therefore.
2017-12-14 09:04:07 +01:00
Matthias Kuhn
e9d4c06cb2 Make string translatable 2017-12-14 09:04:07 +01:00
Matthias Kuhn
3d626b716a Fix file mode 2017-12-14 09:04:07 +01:00
Nyall Dawson
457abe7bbf
Merge pull request #5859 from nyalldawson/project_icon
Use qgs project icon derivative for project home in browser
2017-12-14 10:02:58 +11:00
Nyall Dawson
af0e369834 Fix actions on model items in browser 2017-12-14 07:46:39 +10:00
volaya
ea49c8276c [processing] Set value of unused optional layer parameters to None instead of empty string 2017-12-13 14:39:12 +01:00
volaya
1648c79dc2 [processing] fixed parsing of integer parameters 2017-12-13 14:39:11 +01:00
volaya
0858652e84 [Processing] correctly report missing layers in postprocessing task 2017-12-13 14:39:10 +01:00
volaya
1b8fa82790 [processing] fixed saga algs descriptions 2017-12-13 14:39:09 +01:00
Mathieu Pellerin
353ca633b0
Tiny spatialite-related improvement & fix (#5857)
* [spatialite provider] when creating an empty layer, primary key should be autoincrement
* [processing] fix import into spatialite's primary key parameter
* [spatialite provider] case insensitive search for table names
2017-12-13 14:38:42 +07:00
Alexander Bruy
79d83f2066 [processing] use core methods for raster and vector extensions handling 2017-12-11 09:38:14 +02:00
Nyall Dawson
53ebe050bd
Merge pull request #5825 from nyalldawson/gdal
[processing] Some GDAL algorithm fixes
2017-12-09 17:26:41 +11:00
Nyall Dawson
b578f8af35 Fix layer handling in import to postgis algs 2017-12-08 15:25:25 +10:00
Nyall Dawson
2d4a465212 [processing][gdal] Spatial extent filter for import to postgis
should be optional
2017-12-08 15:24:30 +10:00
Nyall Dawson
846400cb70 Resurrect GDAL import to PostGIS (available connections) alg
Fixes #17605
2017-12-08 15:18:03 +10:00
Nyall Dawson
be962c7d8b Faster command generation in gdal algorithm dialog, by skipping forced incompatible layer exports 2017-12-08 14:50:03 +10:00
Nyall Dawson
96c7e6e0a6 [processing][gdal] Cleanup some code, add method to customise
generated command based on whether the algorithm is actually
executing or just being displayed in the UI as a command
2017-12-08 14:09:08 +10:00