Nyall Dawson
fb1cf1e185
Remove processing algList
...
All functionality has been moved to QgsProcessingRegistry
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
Nyall Dawson
0e72fe0591
Fix error when trying to run processing algs
...
Caused by trying to deepcopy a c++ object. This is a temporary
fix - when the next part of the processing/c++ work lands algorithm
copies will no longer be required
2017-04-07 09:36:45 +10:00
Etienne Trimaille
9c832adc51
disable export button if we try to export a raster layer ( #4319 )
2017-04-07 09:14:36 +10:00
Borys Jurgiel
e5d10b6946
Fix Refactor Fields error if layer has no features
2017-04-06 10:14:01 +02:00
Richard Duivenvoorde
a30cf2923c
Fix dutch service url
...
English 'eng' is now a poorly implemented redirect to 'dut', which fails. So fixing this already here while the redirect is fixed at the Kadaster
2017-04-05 13:58:03 +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
84897e3d14
[processing] cast setting size value to int
...
fixes #16347
2017-04-04 12:09:36 +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
Tom Kralidis
c403994d02
[FEATURE] [needs-docs] MetaSearch: add support for ESRI MapServer/FeatureServer layer integration ( fixes #16320 )
2017-04-03 12:22:59 -04:00
Tom Kralidis
d6433c5b4c
MetaSearch: set 4326 as default CRS, use WKT to feed polygon geometry
2017-04-03 08:01:18 -04:00
Nyall Dawson
6e8a696ef4
Update PreconfiguredAlgorithm for new API
2017-04-03 21:20:56 +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
52cc002990
Simple c++ base class for processing algorithms
2017-04-03 21:17:45 +10:00
Nyall Dawson
e462bfb106
[processing] Fix MessageBarProgress
2017-04-03 20:59:21 +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
Nyall Dawson
2354696f26
Fix error when enabling additional providers in processing
...
Add an interface method to show the options dialog at a specific
page. This is required since plugins can now embed their options
in the main options dialog, so they may also need a way to
force this dialog to open.
Implement this in processing so that enabling additional providers
works again.
2017-03-24 11:16:49 +10:00
rldhont
2fe7caf787
[Processing] Saga: update gdal_io and Flow Accumulation (Flow Tracing)
2017-03-22 19:17:18 +01:00
Alexander Bruy
1a46ddbf28
[processing][API] rename runalg() and runandload() to improve
...
readability
2017-03-22 19:17:12 +02:00
Alexander Bruy
e1a01106dd
[processing][API] rename alglist() to printAlgorithms() to improve
...
readability. Also introduce algorithmsList() call which returns
available Processing algorithms as list
2017-03-22 19:11:43 +02:00
Alexander Bruy
c1e6ba0f40
[processing] rename AlgorithmExecutor's runalg() and runalgIterating()
...
to avoid overlapping with general functions and improve readability
2017-03-22 19:11:36 +02:00
Alexander Bruy
79566f7649
remove unused method
2017-03-22 17:03:51 +02:00
Alexander Bruy
ccbca66492
code cleanups
2017-03-22 16:17:05 +02:00
Alexander Bruy
acd37449f3
[processing][API] rename algoptions() to algorithmOptions()
2017-03-22 15:44:04 +02:00
Alexander Bruy
3e4fb56eea
[processing][API] rename alghelp to algorithmHelp
2017-03-22 15:25:12 +02:00
Alexander Bruy
060a57f12b
Merge pull request #4287 from nyalldawson/processing_default_layer
...
[processing] Default to current layer in layer selection combos
2017-03-22 08:18:19 +02:00