2338 Commits

Author SHA1 Message Date
Nyall Dawson
0f963dfadf [processing] Default to supporting non-file based outputs for providers
And make this support opt-out, since the vast majority of providers
are based on QGIS API and don't have external dependencies which would
restrict use of memory layers/etc.

Plus, I'd rather see non-compliant providers expose this support when
they can't use non-file-based-outputs (and make this the bug which
needs fixing) then have to rely on plugin providers to discover and
explicitly expose this support.
2018-01-29 13:14:06 +10:00
Alexander Bruy
891ca3cd11 [processing] fix wrong variable name 2018-01-26 19:35:40 +02:00
nirvn
5f5f1f9c05 [processing] don't modify output filename in build virtual raster 2018-01-24 18:18:32 +07:00
Nyall Dawson
4e6aa3c359 [processing] Fix error on win when grass path isn't set correctly 2018-01-24 19:00:58 +11:00
Alexander Bruy
77a6bbbb0a [processing] restore GDAL rasterize algorithm 2018-01-23 12:27:04 +02:00
Alexander Bruy
c09c301803 [processing] throw error if no layers selected in raster calculator
algorithm (refs #17920)
2018-01-23 10:38:59 +02:00
Mathieu Pellerin
aaf97933c2
[needs-docs][processing] merge grid algorithms and add point grid type 2018-01-23 13:54:53 +07:00
Nyall Dawson
c87f5aad1b [processing] Fix misleading errors in grid algorithms 2018-01-23 12:35:29 +11:00
Nyall Dawson
b8e1f7707c [processing] Port 'Add unique value index field' to c++
And implement some fixes/improvements (refs discussion on the dev mailing list):
- allow user to specify created field name
- allow optional creation of a summary table showing new class value vs original
value
2018-01-23 12:18:55 +11:00
Nyall Dawson
17478ea51a [processing][needs-docs] Hide variable distance buffer from toolbox
This algorithm has become a model-only algorithm, since it's
functionality is now present in the native c++ buffer algorithm
(which can now buffer by field or expression).

Ideally we'd remove this algorithm entirely, but data defined
parameters are not yet supported by the modeler gui, so we need
to keep it around for use in models for now.
2018-01-16 21:21:38 +10:00
Nyall Dawson
95db682acf [processing][needs-docs] Drop Fixed Distance Buffer algorithm
Since it's functionality is a subset of the native c++ "buffer"
algorithm, it's no longer required.
2018-01-16 21:21:38 +10:00
nirvn
9db2d64d52 [processing] fix gdal's ogrinfo algorithm 2018-01-16 18:16:35 +07:00
Alexander Bruy
eb7a187a88 [processing] add missed imports (fix #17843) 2018-01-15 20:13:38 +02:00
Alexander Bruy
7cad24d82f [processing] improve layout of the raster calculator dialog 2018-01-15 19:25:08 +02:00
Alexander Bruy
490aad112f [processing] quote layer names in raster calculator (fix #17847) 2018-01-15 19:25:08 +02:00
volaya
418d58752f [processing] added missing method to custom field calculator dialog
A much better way of doing this would be to have the dialog extend qgsprocessingalgorithmdialogbase, or to take an approach like the one used in the raster calculator, with wrapper widgets.
This is just a patch, since that option might require a larger amount of work.
2018-01-15 14:56:36 +01:00
Alexander Bruy
dc99b8b2f0 [processing] add missed return statement (fix #17821) 2018-01-15 13:19:43 +02:00
Alexander Bruy
e67aaf9a26 [processing] rename QGISAlgorithmProvider to QgisAlgorithmProvider to be
consistent with our guidelines
2018-01-15 11:59:01 +02:00
Juergen E. Fischer
0c4e8d57be translation string fix 2018-01-13 16:05:24 +01:00
Alexander Bruy
97c005a544
Merge pull request #6017 from nyalldawson/algs
[processing]  Fix some numeric parameters which should be doubles
2018-01-09 08:17:12 +02:00
Nyall Dawson
57c2f1d3da Refine algorithm name and tags 2018-01-09 14:35:48 +10:00
Nyall Dawson
f6d561655b Fix some numeric parameters which should be doubles 2018-01-09 14:34:57 +10:00
Médéric RIBREUX
712093731a Merge branch 'ProcessingGrassFixExt' of https://github.com/medspx/qgis into ProcessingGrassFixExt 2018-01-07 11:02:26 +01:00
Médéric RIBREUX
0f1cb25085 Fix v.external default configuration and handling 2018-01-07 11:01:44 +01:00
Alexander Bruy
7a2e6a476f
fix spelling 2018-01-04 09:00:42 +02:00
Médéric RIBREUX
5a3a0dab95 Remove broken algorithms and clean code 2017-12-30 17:16:16 +01:00
Médéric RIBREUX
486bcd6f24 Fix all i.* ext scripts 2017-12-29 17:13:30 +01:00
Médéric RIBREUX
e712ee6266 Fix v.net.report descriptions' 2017-12-28 18:37:17 +01:00
Médéric RIBREUX
14709f59f4 Fix nearly all v. ext scripts 2017-12-28 18:28:18 +01:00
Médéric RIBREUX
90bf630185 Fix all r algorithms ext scripts! 2017-12-27 20:13:05 +01:00
Médéric RIBREUX
8b691e87aa Handle raster files wihtout extension as GTiff + fix some ext scripts 2017-12-27 17:41:05 +01:00
Médéric RIBREUX
1f8fbf313f Fix r.li.* description files and ext scripts 2017-12-27 15:35:17 +01:00
Médéric RIBREUX
9b6f98a31a Hidden output parameters are not used in the main command anymore 2017-12-27 12:08:21 +01:00
Médéric RIBREUX
feaecea44d Fix multiple ParameterField handling 2017-12-27 11:52:01 +01:00
Médéric RIBREUX
36311ff6af Fix multiple enum parameters handling and some ext scripts 2017-12-27 11:16:14 +01:00
Médéric RIBREUX
3fa9e3c9f8 Fix QgsProcessingParameterFile bad descriptions 2017-12-27 10:19:51 +01:00
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
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