Nyall Dawson
7544cdb2ee
[processing][grass] Disable some failing tests
2018-04-10 09:57:58 +10:00
Nyall Dawson
e83cd6155f
[processing] Better debugging for failed tests
2018-04-10 09:57:58 +10:00
Nyall Dawson
20bbef3800
[processing][grass] Fix broken r.lake algorithm
2018-04-10 09:57:58 +10:00
Nyall Dawson
cba395e8c4
[processing][grass] Fix broken r.his algorithm
2018-04-10 09:57:58 +10:00
Nyall Dawson
89a3dd5e15
[processing][grass] Fix broken r.cost algorithm
2018-04-10 09:57:58 +10:00
Nyall Dawson
f03baa871a
[processing][grass] Don't try to create skipped optional outputs
2018-04-10 09:57:58 +10:00
Nyall Dawson
ee185cce4d
[processing] Fix python runAlgorithm when algorithm has missing optional outputs
2018-04-10 09:57:58 +10:00
Nyall Dawson
60efbb539e
[processing][grass] Fix broken r.li.renyi.ascii alg
2018-04-10 09:57:58 +10:00
Nyall Dawson
1fc5a0e597
[processing][grass] Fix broken r.statistics alg
2018-04-10 09:57:58 +10:00
Nyall Dawson
41a27f700f
Attempt SAGA tests on Travis
2018-04-10 09:57:58 +10:00
Nyall Dawson
ea24847adf
[processing] Try to resurrect grass tests
2018-04-10 09:57:58 +10:00
Matthias Kuhn
5b7b7be6e7
Merge pull request #6755 from m-kuhn/minimal_processing_fixes
...
Some fixes for processing
2018-04-09 12:34:03 +02:00
Matthias Kuhn
4a14a36034
Remove leftover method getCustomModelerParametersDialog
2018-04-09 09:15:15 +02:00
Nyall Dawson
7fa9d4120a
[processing] Fix Distance Matrix alg considers distances to
...
same points
Add more unit tests
Fixes #17350
2018-04-09 12:48:50 +10:00
Nyall Dawson
3dec1755b6
[processing][grass] Allow operation on only selected vector features
...
Fixes #18218
2018-04-09 10:58:41 +10:00
Nyall Dawson
92634a9d92
[processing][grass] Allow use of feature sources as vector inputs
2018-04-09 10:58:41 +10:00
Nyall Dawson
b28e580a79
Indentation
2018-04-09 10:58:41 +10:00
Nyall Dawson
8b04188230
Don't use hardcoded paths in test
2018-04-09 10:58:41 +10:00
Nyall Dawson
aca75cfa6e
[processing][grass] Fix use of v.external with ogr layers which
...
do not support random read
These layers are not compatible with v.external, so we have to
use v.in.ogr for them
2018-04-09 10:58:41 +10:00
Nyall Dawson
8ba762a630
[processing][grass] Fix grass vector algs don't work with memory layers
...
Fixes broken grass algs inside models (fixes #18662 )
2018-04-09 10:58:41 +10:00
Nyall Dawson
f928e3dde9
[processing][grass] Add some missing imports
2018-04-09 10:58:41 +10:00
Nyall Dawson
c50a039745
[processing][grass] Push feedback object to algorithm methods
2018-04-09 10:58:41 +10:00
Nyall Dawson
ccccad54c0
[processing] Fix exception in processing.run when feedback
...
object is not specified
2018-04-09 09:18:04 +10:00
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
ebab649438
Fix some locator filters show results when no string is entered
...
and filter prefix is not used
2018-04-06 12:44:56 +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
Matthias Kuhn
4e4c189820
Remove unrequired cast
2018-04-05 22:50:13 +02:00
Matthias Kuhn
6eabb45043
Fix type hints in ModelerParametersDialog attributes
2018-04-05 22:47:23 +02:00
Matthias Kuhn
7c191a46c2
Make modeler text translatable
2018-04-05 22:47:12 +02:00
Matthias Kuhn
0aa8241da4
Avoid catch all exception
2018-04-05 22:46:59 +02:00
Nyall Dawson
8aa9a82d28
[FEATURE][processing] Add algorithm to swap x/y coordinate values
...
This algorithm swaps the X and Y coordinate values in input
geometries. It can be used to repair geometries which have
accidentally had their latitude and longitude values reversed.
2018-04-05 06:35:13 +10:00
Nyall Dawson
e3bbc35bed
[processing] Fix incorrect error string in field mapper algorithm
2018-04-04 05:27:32 +10:00
Nyall Dawson
08d30c3b9f
[processing] Add method for algorithms to preprocess parameter values
...
Allows algorithms to pre-processes a set of parameters, allowing the
algorithm to clean their values.
This method is automatically called after users enter parameters, e.g.
via the algorithm dialog. This method should NOT be called manually
by algorithms.
2018-04-03 18:36:39 +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
Rashad Kanavath
3408e02c46
[processing] create and manage label in WidgetWrapper
...
ModelerParametersDialog and ParametersPanel have to keep list of
wrappers only. widget and label( if needed) are created through
WidgetWrapper.createLabel()
2018-04-03 06:09:44 +10:00
Nyall Dawson
a82bffcc72
String capitalization
2018-04-02 17:57:03 +10:00
Nyall Dawson
ad3f1781d7
[processing][needs-docs] Rename "Add Script from Template" to
...
"Create New Script from Template"
2018-04-02 17:57:03 +10:00
matteo
11c0e562bf
fix indentation
2018-03-31 18:30:40 +11:00
matteo
925d45dffb
new LoadFromTemplate action in toolbar dropdown
2018-03-31 18:30:40 +11:00
matteo
deaeaa6e97
remove useless action from script editor
2018-03-31 18:30:40 +11:00
matteo
61c3b485ef
remove load template button action and fix double separator
2018-03-31 18:30:40 +11:00
matteo
0abd3fd226
add shortHelpString in script template
2018-03-31 18:30:40 +11:00
matteo
966bb1734f
Renamed script_template.py to ScriptTemplate.py
2018-03-31 18:30:40 +11:00
matteo
b72f0f0e90
Minor changes in Dialog
2018-03-31 18:30:40 +11:00
matteo
ca210dcad7
removed useless dots in UI
2018-03-31 18:30:40 +11:00
matteo
cdac11f132
Typo and remove shortcut
2018-03-31 18:30:40 +11:00
matteo
78ce8dde32
other indentation fixes
2018-03-31 18:30:40 +11:00
matteo
4f55c29cab
fix indentation
2018-03-31 18:30:40 +11:00