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
0c7cf21fe2
Merge pull request #5535 from nyalldawson/datum
...
Datum transform handling rework, pt 1
2017-12-15 22:53:02 +11: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
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
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
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
Nyall Dawson
ca75e8c0a5
Remove obsolete python alg, add unit tests
2017-12-07 06:28:54 +11:00
Nyall Dawson
5b5560aaf9
Set default method for check validity alg
2017-12-03 15:16:17 +10:00
Nyall Dawson
5b05699fc9
Add some tags to check validity algorithm
2017-12-03 14:58:21 +10:00
Nyall Dawson
928afdd8c5
Fix geometry snapper sometimes creates unwanted overlapping segments
...
when snapping line layers
Because the default behavior of the snapper is to insert extra
vertices into the snapped geometry in order to make it 'follow'
the reference geometries exactly, this can result in unwanted
results for line layers where the resultant snapped layer
has overlapping line segments.
Since we can't always know what the desired result is that the
user wants (maybe they do want overlapping lines), instead
give them control over the result by exposing extra enum
options which never insert extra vertices.
2017-12-03 07:10:42 +10:00
Nyall Dawson
8c9147eabd
[processing] Make set m value accept dynamic m values
2017-12-02 11:17:19 +10:00
Nyall Dawson
d1a71f0971
Update algorithms for new API
2017-12-02 11:17:19 +10:00
Nyall Dawson
4b464f3d68
[processing] Allow data defined z value for "set z value" algorithm
...
Allows easy setting of z from an existing height attribute!
2017-12-02 11:17:18 +10:00
Nyall Dawson
f6e63d7f4c
Fixes and cleanups to algorithm dialogs
2017-12-01 18:15:40 +11:00
Nyall Dawson
d7111b7849
Standardise some algorithm names
2017-12-01 10:00:42 +11:00
Tim Sutton
f6acf37637
Fix processing errors on startup and execution on MacOS ( #5769 )
2017-11-30 07:17:12 +02:00
Alexander Bruy
3d4a59bb8b
[processing] cleanup files from unused code and remove some files
2017-11-28 12:27:45 +02:00
Alexander Bruy
0059b2b692
[processing] remove Python 2 compatibility layer
2017-11-28 12:27:45 +02:00
Nyall Dawson
14531964a8
Merge pull request #5719 from nyalldawson/translate_z
...
geometries: translate Z/M
2017-11-24 22:12:11 +11:00
Mathieu Pellerin
97f749e6b4
[processing] fix error when adding refactor fields alg in empty model
...
(fixes #17421 )
2017-11-24 18:04:50 +07:00
nirvn
a477ea3ae4
[processing] move grass & saga version number to tooltips
2017-11-24 17:16:25 +07:00
Nyall Dawson
ff900c0b05
[processing] Make translate algorithm native
...
And add option to translate z/m values
2017-11-24 16:18:13 +10:00
Mathieu Pellerin
1fcadb72ff
[processing] fix for import into spatialite and execute sql algorithms
2017-11-24 12:22:19 +07:00
Nyall Dawson
aca22663d0
[processing] Change save as spatialite option to save as GeoPackage
...
Since it's much more useful. Also add a prompt for layer name, so that
you can save the results of an algorithm into an existing geopackage
without wiping existing layers.
2017-11-24 09:31:50 +10:00
Nyall Dawson
8775aff71b
Fix error in Geometry by Expression
...
We can't depend on preparing the expression, as we may not have
enough context to do this during the algorithm preparation step
2017-11-24 09:31:50 +10:00
Matthias Kuhn
cd0ba918ba
Use layer context in RefactorFields algorithm
...
Fix #17533
2017-11-23 15:24:40 +01:00
Alexander Bruy
03e4756d26
[processing] don't throw error if GRASS not found on Mac ( fix #17443 )
2017-11-23 16:16:08 +02:00