Nyall Dawson
dd4f530cfb
[processing] Pass context argument to processAlgorithm
2017-04-26 12:53:35 +10:00
volaya
5b8c083da7
indentation fix
2017-04-20 14:47:02 +02:00
volaya
54e30b93f3
improvements for extracts within subsets
2017-04-20 14:03:08 +02:00
Denis Rouzaud
0b0e8a6a89
move QgsFieldModel and QgsFieldProxyModel to core and sipify
2017-04-19 16:44:36 +02:00
Alexander Bruy
737906c55c
[processing] add information message when feature skipped
2017-04-19 14:06:16 +03:00
Alexander Bruy
1016119468
[processing] prevent division by zero in random points in polygons fixed
2017-04-19 14:01:41 +03:00
Alexander Bruy
3b5b191730
[processing] fix parsing selection parameter in translate algorithm
2017-04-19 12:23:35 +03:00
Nyall Dawson
cc5b9bfe17
More QgsDistanceArea API cleanups and simplification
...
- setEllipsoidalMode() was removed. Ellipsoidal calculations are
now enabled whenever a valid ellipsoid() has been set. Set the
ellipsoid to 'NONE' to disable ellipsoidal calculations.
- ellipsoidalEnabled() was removed. Ellipsoidal calculations
are now enabled whenever a valid ellipsoid() is set. Check
willUseEllipsoid() to determine whether ellipsoidal
calculations will be performed.
- sourceCrs() and setSourceCrs() now always take and return
QgsCoordinateReferenceSystem objects. All string/ID based CRS
methods were removed.
- geographic() was removed. This was only used internally
in one place, so was replaced with sourceCrs().isGeographic() instead.
- some largely overlapping measurement functions were consolidated
2017-04-18 08:14:16 +10:00
matteo
16c8dac2ac
travis fix
2017-04-12 21:07:30 +02:00
matteo
bca0ca25ee
2 new plots added
2017-04-12 21:07:30 +02:00
matteo
0c5b667986
fix category error and remove np dependency
2017-04-12 21:07:30 +02:00
Nyall Dawson
1bc3b28f94
Fix processing error when grass7 not available
2017-04-07 13:21:28 +10:00
Nyall Dawson
ebd851993a
Remove processing specific methods for adding/removing providers
...
QgsProcessingRegistry methods should always be used instead
2017-04-07 13:21:28 +10:00
Nyall Dawson
fdcf04f9f3
Remove AlgorithmProvider
...
Totally ported to QgsProcessingProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
42a614154c
Also refactor provider context menu actions and remove from AlgorithmProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
651355d569
Refactor provider actions and remove from AlgorithmProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
117260dcf3
Remove activation control from AlgorithmProvider
...
Split between QgsProcessingProvider and subclasses
2017-04-07 13:21:28 +10:00
Nyall Dawson
ff32054da6
Fix some breakage
2017-04-07 13:21:28 +10:00
Nyall Dawson
3739c3aa51
Move tr out of AlgorithmProvider to subclasses
2017-04-07 13:21:28 +10:00
Nyall Dawson
4970bb4cd5
Move more algList functionality to QgsProcessingRegistry
2017-04-07 13:21:28 +10:00
Nyall Dawson
2a1a71574a
Move algorithm id (previously commandLineName) to QgsProcessingAlgorithm
2017-04-07 13:21:28 +10:00
Nyall Dawson
b3142a0baf
Move provider algorithm handling to QgsProcessingProvider
2017-04-07 13:21:28 +10:00
Borys Jurgiel
e5d10b6946
Fix Refactor Fields error if layer has no features
2017-04-06 10:14:01 +02:00
Nyall Dawson
377b181c4e
Port more processing dataobjects methods to c++
...
Also
- simplify and add tests
- remove large memory leak (persistant store of all non-project layers)
- remove broken support for direct loading postgres/virtual layers
by string (Python version was very broken and would never match
a postgres/virtual layer)
2017-04-05 19:50:46 +10:00
Nyall Dawson
ee29fa66f9
Use QgsMapLayerComboBox in processing field calculator
2017-04-05 18:39:12 +10:00
Nyall Dawson
8ffdb362cc
Port some processing dataobjects routines to c++
2017-04-05 15:27:17 +10:00
Nyall Dawson
51517fd77e
Merge pull request #4311 from nyalldawson/proc_c4
...
Simple c++ base class for processing algorithms
2017-04-05 06:17:11 +10:00
volaya
85e83e1470
[Processing] prevent error when running escapeAndJoin with empty param string
...
fixes #16200
2017-04-04 15:10:58 +02:00
volaya
7a12d5fa32
Revert "[Processing] prevent error when running escapeAndJoin with empty param string"
...
This reverts commit c2a566a3a7bfe369832e5361a0c582bfe2ea5a98.
2017-04-04 15:09:45 +02:00
volaya
c2a566a3a7
[Processing] prevent error when running escapeAndJoin with empty param string
...
fixes #16200
2017-04-04 13:02:31 +02:00
volaya
439b9de98d
fixed saga algorithm to adapt it to 2.3 syntax
2017-04-04 11:04:22 +02:00
Nyall Dawson
d2a242aa95
Move format handling flags to QgsAlgorithmProvider
2017-04-04 08:15:54 +10:00
Nyall Dawson
2be4c6a15e
Fix failing test
2017-04-03 21:17:45 +10:00
Nyall Dawson
a0bd464232
Use formatted name for algorithm names
...
Avoids conversion of names later and gives clearer separation
between visible names and internal names
2017-04-03 21:17:45 +10:00
Nyall Dawson
e506ceb1f8
Move flags (hide from toolbox, etc) to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
6987d7b37c
Port handling of algorithm names to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
dc729c1b5a
Move algorithm group handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
faa8a653b2
Move algorithm icon handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
28e75731e1
Move tag handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
26495dbd81
[processing] Move dataobjects.getSupportedOutputVectorLayerExtensions
...
to QgsVectorFileWriter
2017-04-03 15:41:32 +10:00
Nyall Dawson
636e9c5ea3
[FEATURE] Add geometry snapper modes to only snap end points of lines
...
Allows snapping of end points only, or end point to end point only
Also update processing algorithm to match
2017-03-30 15:52:49 +10:00
Nyall Dawson
92249c1a33
[FEATURE][processing] Snap Geometries algorithm can now snap
...
within the same layer
Allows closure of gaps within a layer
2017-03-30 13:54:05 +10:00
volaya
ca5f99de1c
Merge pull request #4278 from sfkeller/patch-1
...
[processing] Updated ogr2ogr.py with GeoPackage in FORMATS and EXTS.
2017-03-29 14:43:21 +02:00
Nyall Dawson
99f186a7d2
Clean up progress handling in QgsProcessingFeedback
2017-03-29 09:02:30 +10:00
Alexander Bruy
b8cb196322
Merge pull request #4293 from alexbruy/processing-api
...
[processing][needs-docs] Processing API improvements
2017-03-27 10:25:43 +03:00
Nyall Dawson
a769448e70
Also port processing densify to distance to c++
...
- Add QgsGeometry method to densify by distance
- Fix bug in processing algorithm which resulted in duplicate
vertices and incorrectly spaced extra vertices
2017-03-25 16:23:29 +10:00
Nyall Dawson
77e7693c48
Fix spelling errors in processing algorithm help
2017-03-25 16:23:29 +10:00
Nyall Dawson
b90aa916e6
Port processing Densify Geometries algorithm to use c++ densify
...
Rough benchmark using 50k geometry polygon shapefile
Before: 1m25s
After: 21s
2017-03-25 16:23:29 +10:00
Mathieu Pellerin
40f86b2033
[processing] GRASS 7.2 support: use SQL compatible output names ( #4298 )
...
(fixes #16370 )
2017-03-24 08:35:57 +07:00
rldhont
2fe7caf787
[Processing] Saga: update gdal_io and Flow Accumulation (Flow Tracing)
2017-03-22 19:17:18 +01:00