Nyall Dawson
f4f4ca3d83
Raise GeoAlgorithmExecutionException when encountering invalid
...
geometries in QgsProcessingUtils::getFeatures
2017-04-26 12:53:35 +10:00
Nyall Dawson
8cf1617f5d
Use context to control vector.features()
2017-04-26 12:53:35 +10:00
Nyall Dawson
3f137e123d
Add context argument to other vector methods
2017-04-26 12:53:35 +10:00
Nyall Dawson
adc7cf0ec2
Add context argument to vector.features
2017-04-26 12:53:35 +10:00
Nyall Dawson
f3cfb8b759
Add invalid geometry handling method to processing context
2017-04-26 12:53:35 +10:00
Nyall Dawson
06a20b935d
Add UseSelection flag to QgsProcessingContext
...
Indicates whether only selected features should be used in
algorithms
2017-04-26 12:53:35 +10:00
Nyall Dawson
dd4f530cfb
[processing] Pass context argument to processAlgorithm
2017-04-26 12:53:35 +10:00
Nyall Dawson
6b260ffee6
Remove deprecated assertEquals use
2017-04-25 19:00:13 +10:00
Nyall Dawson
997b6304c8
Merge pull request #4402 from nyalldawson/iterator_invalid_geom
...
Add invalid geometry handling to QgsFeatureRequest/QgsVectorLayerFeatureIterator
2017-04-25 18:32:35 +10:00
Nyall Dawson
ee777447a9
[processing] Remove special handling for invalid geometries
...
Instead rely on QgsFeatureRequest method. There's a temporary
loss of the feedback on encountering an invalid geometry
when abort on invalid is set, but that will be resurrected
when all of vector.features is moved to c++
2017-04-25 16:16:17 +10:00
Even Rouault
965350b3ae
DBManager: fix importing a new layer in a GeoPackage ( #16295 )
2017-04-24 21:41:25 +02:00
Alexander Bruy
8c80a60c33
Merge pull request #4385 from volaya/remove_processing_commander
...
[FEATURE][processing] remove processing commander
2017-04-24 09:00:13 +03:00
rldhont
1bbc39e887
[BUGFIX][Processing] Fix spatialite version comparison
2017-04-20 15:16:55 +02:00
volaya
5b8c083da7
indentation fix
2017-04-20 14:47:02 +02:00
volaya
e5dd93663e
[processing] fixed I/O of models
2017-04-20 14:03:09 +02:00
volaya
54e30b93f3
improvements for extracts within subsets
2017-04-20 14:03:08 +02:00
volaya
414772b6f4
[processing] removed commander
2017-04-20 10:37:50 +02:00
Denis Rouzaud
be9a51c42d
sipify QgsMapLayerModel, QgsMapLayerProxyModel
2017-04-19 16:44:36 +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
Alexander Bruy
a82aba9cd6
Merge pull request #4338 from timlinux/processing-fixes
...
[processing] Added more error handling for cases when processing help causes an error
2017-04-07 08:46:20 +03:00
Alexander Bruy
2308b07671
fix indentation
2017-04-07 08:25:02 +03:00
Nyall Dawson
837ee29488
Indentation
2017-04-07 13:38:24 +10:00
Nyall Dawson
11d71d98bc
Attempt to fix failing GDAL test
2017-04-07 13:34:06 +10:00
Nyall Dawson
5a6f11d52e
Some cleanups
2017-04-07 13:21:28 +10: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
9a97a87b4d
Use display name in algorithm help
2017-04-07 13:21:28 +10:00
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
Tim Sutton
2bdef02bfa
Added more error handling for cases when processing help causes an error
2017-04-06 12:13:50 +02: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