2622 Commits

Author SHA1 Message Date
Nyall Dawson
4c8b1595a9 [processing] Fix GDAL algorithms do not run with memory layer inputs
Breaks execution of mixed QGIS/GDAL algorithms
2018-04-07 15:36:21 +10:00
Nyall Dawson
1942854166 [processing] Port Explode Lines to c++
Aside from the performance benefits, the Python version of this
algorithm occasionally fails on Travis with odd errors. Hopefully
by porting to c++ it will fix these, or at least give useful
debug information in the event of a fail.

Also add support for curved input geometries.
2018-04-06 15:34:52 +10:00
Nyall Dawson
ccb72ebce2 [processing] Fixes for Service Area algorithms
- Output interpolated points when travel cost falls mid-way along
an edge
- Output all intermediate reachable points also
- Make outputting upper/lower bound points optional, and non-default.
Now by default we just output all definitely reachable points and
the interpolated points along edges which correspond to the travel cost.
This allows the output to be used to correctly generate service areas
e.g. by concave/convex polygons and all reachable nodes will be
included in the area.
- Allow algorithm to optionally output a line layer (and make the
point layer optional too, and default to just the line layer output)
containing all reachable line segments (including interpolated
segments of lines when the travel cost sits midway along that
edge). This output is more easily understandably for users.
2018-04-06 12:43:52 +10:00
Nyall Dawson
78a6118ba4 [processing] Fix broken Densify by Interval algorithm, add test
Fix #18640
2018-04-06 11:50:23 +10:00
Nyall Dawson
e3bbc35bed [processing] Fix incorrect error string in field mapper algorithm 2018-04-04 05:27:32 +10:00
Nyall Dawson
d164f8ff98 [processing] Disable cancel button for GDAL algorithms
The provider doesn't support cancelation
2018-04-03 13:40:48 +10:00
Nyall Dawson
8e08bda46c [processing][grass] Fix incorrect path calculation for grass binary 2018-03-27 07:10:37 +11:00
Nyall Dawson
bec878f6f9 [processing][grass] Fix error after running grass algorithms 2018-03-27 07:10:37 +11:00
Nyall Dawson
49d585ef17 [processing][gdal] Move method to write input files to text file to GdalUtils 2018-03-22 06:46:39 +11:00
Nyall Dawson
b17feaaa97 [processing][gdal] Expose no data options for gdal merge algorithm 2018-03-22 06:46:39 +11:00
Nyall Dawson
1d8ecaf79a [processing][gdal] Use a text file for input file list to gdal_merge
Otherwise command fails when attempting to merge many rasters due
to length of command line. Now the algorithm uses the same approach
as buildvrt and creates a text file containing the names of the
rasters and then passes this to the gdal_merge command

Fixes gdal merge algorithm fails with many input files
2018-03-22 06:46:39 +11:00
Nyall Dawson
00bb177f3d [processing][gdal] Fix parsing of creation options
Creation options must be specified one at a time - the
current approach causes them to be specified once embedded
in quotation marks, which is not valid input for gdal
2018-03-21 18:36:28 +11:00
Nyall Dawson
044470d38f [processing][gdal] Skip expensive parameter validation when just showing command in dialog 2018-03-21 15:30:18 +10:00
Nyall Dawson
5436ce9a35 [processing] Avoid grass 'duplicate parameter' warning 2018-03-21 09:14:23 +11:00
Nyall Dawson
ff6ea33686 [processing] Fix broken Aggregate algorithm
Fixes #18349
2018-03-20 08:06:38 +11:00
Nyall Dawson
732c5260cc [processing] Fix Concave Hull algorithm, add tests
Fixes #18475
2018-03-19 12:00:30 +11:00
Nyall Dawson
87e8432644 [processing] Fix Points to Paths terminates when an order by
field is empty
2018-03-16 14:30:30 +11:00
Nyall Dawson
654a4a4af6 [processing] Fix algorithm progress bar resets to 0 when an algorithm
reports a non-fatal error

Fixes the "flashy" progress bar when an algorithm encounters a lot
of errors.
2018-03-15 13:43:01 +11:00
Alexander Bruy
88e8acddf8
Merge pull request #6571 from slarosa/fix_18183
[processing] SAGA "output extent" should not be mandatory (fix #18183)
2018-03-13 08:45:45 +02:00
Nyall Dawson
251e1d5352 [FEATURE][processing] Add line sinuosity to "Export Geometry Info"
Adds line sinuosity and straight distance to the stats calculated
by "Export Geometry Info"

Fixes #12376
2018-03-12 14:58:04 +11:00
Ari Jolma
08332e73a2 [processing][gdal] color relief alg: add the default color option, i.e., no switches 2018-03-12 10:43:47 +11:00
Nyall Dawson
8df954d6b8 [processing] Port Delete Holes algorithm to c++, allow dynamic
min area parameter
2018-03-12 10:41:22 +11:00
Salvatore Larosa
23172a101e [processing] Fixes #18183: SAGA "output extent" should not be mandatory 2018-03-10 22:08:07 +01:00
Matthias Kuhn
cdef548cb8 Fix Fields Mapping parameter id 2018-03-07 09:00:33 +11:00
Matthias Kuhn
a337d2050b Make use of new processing parameter infrastructure 2018-03-07 09:00:33 +11:00
Nyall Dawson
871132eae6 [processing] Port point on surface to c++ 2018-03-04 08:52:34 +11:00
nirvn
55764689ed fix one-to-one, one-to-many wording 2018-03-02 21:01:12 +07:00
Alexander Bruy
22fea14a17 [processing] remove explicit outputs definitions 2018-03-02 10:35:56 +02:00
Mathieu Pellerin
6f47b25037
[FEATURE][processing] one-to-many join support to the join attribute table alg. (#6499) 2018-03-02 11:58:16 +07:00
Matthias Kuhn
592c9b24b9 Expose fields mapping parameter to modeler 2018-03-01 08:13:08 -05:00
Alexander Bruy
88734647ce [processing] fix typo (fix #18248) 2018-03-01 10:40:27 +02:00
Salvatore Larosa
5fda4025f4 [processing] fixes missing icon for create grid algorithm 2018-02-28 21:50:49 +01:00
nirvn
2af9c40882 [processing] add tags to statistics by categories algorithm 2018-02-28 11:31:29 +07:00
nirvn
89e2b02122 [processing] add tags to refactor fields algorithm 2018-02-28 11:31:29 +07:00
Alexander Bruy
4777abb48e [processing] add icons to SAGA algorithms (fix #18211) 2018-02-26 10:37:17 +02:00
Nyall Dawson
44896c3636 [processing] Fix grass point parameter evaluation 2018-02-26 17:10:09 +11:00
Nyall Dawson
cc10bbd950 [processing] Allow empty expressions in refactor fields alg
Fixes #15640
2018-02-26 10:20:19 +11:00
Nyall Dawson
2900acef51 [processing] Fix crash when algorithms fail to prepare
Refs #15640
2018-02-26 10:20:19 +11:00
Alexander Bruy
25c5d8dbea Revert fixes to gdal algorithms, need to investigate further 2018-02-25 08:49:55 +02:00
Salvatore Larosa
332c8a59b9 [processing] Fixes #18187: SAGA output extent values are not in the right order 2018-02-24 22:57:40 +01:00
Alexander Bruy
f3af22e16e follow up f638b3cb 2018-02-24 20:28:22 +02:00
Alexander Bruy
f638b3cb52 [processing] fix wrong variable name in GDAL alggorithms base class 2018-02-24 19:51:34 +02:00
tilmanb
176591b471
Update header comment to reflect actual file name
The filename in the top comment now matches the real file name.
2018-02-23 17:15:53 +01:00
Alexander Bruy
131efbdd1e
Merge pull request #6367 from slarosa/fix_saga_osx
[processing] fix execution of SAGA algorithms under macos
2018-02-23 12:18:03 +02:00
Felis Pimeja
76c21ea369 Updated and vectorized several icons (#6382) 2018-02-21 15:39:25 +07:00
Nyall Dawson
585a4d3782 [processing] Split multiparts and explode are feature based algorithms 2018-02-21 09:16:43 +11:00
Nyall Dawson
43cd62b62f [processing] Tweak api for QgsProcessingFeatureBasedAlgorithm
Instead of returning a single QgsFeature from processFeature, we now
return a list of features.

This allows feature based algorithms which return multiple features
per input feature, e.g. "explode" type algorithms which split a
single input feature into multiple output features.
2018-02-21 09:16:43 +11:00
Nyall Dawson
c07f37a5cb [processing] Select by expression/attribute can run on geometryless layers 2018-02-20 10:03:27 +11:00
Juergen E. Fischer
2c53630747 add missing copyright headers 2018-02-18 20:53:40 +01:00
Juergen E. Fischer
dcfe5ca63f update translation strings 2018-02-18 17:35:34 +01:00