Alexander Bruy
c440ade2d8
[processing] remove Z/M addition from "random" algorithms
2017-07-24 09:20:47 +03:00
Alexander Bruy
c7645a3884
[processing] port Random points along lines
2017-07-24 09:20:47 +03:00
Alexander Bruy
f8b0c06942
[processing] port Random points in polygons
2017-07-24 09:20:47 +03:00
Alexander Bruy
ae2e32b36e
[processing] restore Random points in layer bounds
2017-07-24 09:20:47 +03:00
Alexander Bruy
eb9f45cbb0
[processing] port Random points within extent
2017-07-24 09:20:47 +03:00
Giovanni Manghi
dfc9285121
master: fix SAGA LTR mosaiking tool
2017-07-21 14:42:14 +01:00
Nyall Dawson
eb5ac44b27
Update test
2017-07-21 11:28:43 +10:00
Giovanni Manghi
5e03f579d1
mater: fix SAGA LTR Catchement Area tools
2017-07-20 12:15:09 +01:00
Nyall Dawson
96cf6612d3
Port geometry by expression to new API
2017-07-20 15:28:50 +10:00
Nyall Dawson
c0669d4fd2
Port extend lines to new API
2017-07-20 15:28:50 +10:00
Nyall Dawson
1cac3bb635
Port single sided buffer to new API
2017-07-20 15:28:50 +10:00
Nyall Dawson
4a935c1090
Resurrect Translate algorithm
2017-07-20 15:28:50 +10:00
Nyall Dawson
d4af76150f
Flip some more algorithms to feature based algorithms
2017-07-20 15:28:50 +10:00
Sandro Santilli
9efd666e48
Test that PostGIS query can be passed as both unicode and string literal
...
See https://issues.qgis.org/issues/16833
2017-07-19 19:05:39 +02:00
Sandro Santilli
2a572be73e
Add test for #16833
...
Tested to pass with Python 2.7.13
2017-07-19 16:48:36 +02:00
Nyall Dawson
29855b3942
Change signature of processFeature so that features are no longer modified in place
2017-07-18 19:56:42 +10:00
Nyall Dawson
dd0f18355b
[FEATURE] Followup addition of set Z/M values algs with Drop Z/M Values algorithm
...
Allows easy access to drop any z or m values present in a layer (e.g. if
required for compatibility with a database destination, etc)
2017-07-18 19:41:33 +10:00
Nyall Dawson
340cf93f93
[FEATURE] New algorithms to add Z/M values to existing geometries
...
Allows upgrading geometries to include these dimensions, or
overwriting any existing Z/M values with a new value.
Intended mostly as a test run for QgsProcessingFeatureBasedAlgorithm
2017-07-18 19:41:33 +10:00
Nyall Dawson
b9f225905a
Port a single python algorithm to QgsProcessingFeatureBasedAlgorithm
2017-07-18 19:41:33 +10:00
Nyall Dawson
7e3c435dd6
Port some existing algorithms to QgsProcessingFeatureBasedAlgorithm
2017-07-18 19:41:33 +10:00
Alexander Bruy
f3f74a9ddf
[processing] adapt network analysis algorithms to latest API changes
2017-07-17 11:32:12 +03:00
Alexander Bruy
4a6ceffc54
[processing] make service area outputs optional
2017-07-17 11:09:28 +03:00
Alexander Bruy
bee5683643
[processing] allow diferent CRS for point layers and network layer
2017-07-17 11:09:28 +03:00
Alexander Bruy
95de3a414a
[processing] add cancellation support where possible
2017-07-17 11:09:28 +03:00
Alexander Bruy
5af177e963
[processing] restore Service area from layer
2017-07-17 11:09:28 +03:00
Alexander Bruy
abd14e8b94
[processing] restore Service area from point
2017-07-17 11:09:28 +03:00
Alexander Bruy
1e795960b6
[processing] restore Shortest path from layer to point
2017-07-17 11:09:28 +03:00
Alexander Bruy
494ceff3b4
[processing] restore Shortest path from point to layer
2017-07-17 11:09:28 +03:00
Alexander Bruy
c5ed53942c
[processing] restore Shortest path from point to point
2017-07-17 11:09:28 +03:00
Matthias Kuhn
246685b0cb
[processing] Better error reporting in point on surface
2017-07-17 08:38:01 +02:00
Nyall Dawson
3a2710efe5
Merge pull request #4870 from nyalldawson/algs3
...
Port 4 more algs to new API
2017-07-17 07:51:47 +10:00
Nyall Dawson
6487fbb2d1
Port Reverse Line Direction to new API, add test
2017-07-17 07:24:33 +10:00
Tom Kralidis
97c1def8b5
Merge pull request #4857 from jcomas/patch-1
...
[MetaSearch] Update connections-default.xml
2017-07-16 07:53:25 -04:00
Nyall Dawson
9cbc8cc20f
Port Offset line, Orthogonalize and Pole of Inaccessibility to new API
...
Improvements:
- Fix handling of multiline outputs for Offset Line algorithm
2017-07-16 20:39:43 +10:00
Nyall Dawson
23a4d6028a
Merge pull request #4868 from nyalldawson/nn
...
Port Remove Null Geometries algorithm to c++/new API
2017-07-16 20:20:23 +10:00
Matthias Kuhn
261391d499
Handle geos errors
2017-07-16 10:35:47 +02:00
Matthias Kuhn
102188aca4
Port PointOnSurface QGIS algorithm
2017-07-16 10:35:47 +02:00
Nyall Dawson
1342f4d9ac
Add API to set optional destination parameters as not created by default
...
This allows optional outputs (such as null geometry features detected
by the Remove Null Geometries algorithm) to be skipped by default
when desirable.
2017-07-16 18:19:24 +10:00
Nyall Dawson
5deb8fcb87
Port Remove Null Geometries algorithm to c++/new API
...
Enhancements:
- add a new optional output for null geometries, and make
the non-null geometry output optional. This allows the algorithm
to act as a router for features with null/not null geometries
inside of a model
2017-07-16 17:56:10 +10:00
Nyall Dawson
aec6a79462
Merge pull request #4863 from nyalldawson/nn
...
Port 2 more processing algorithms
2017-07-16 17:30:15 +10:00
Matthias Kuhn
99a9e249f5
Fix file permissions for processing algs
2017-07-16 08:01:06 +02:00
Nyall Dawson
1b1dc7de63
Port Extract Nodes to new API
...
Improvements:
- Retain Z/M values from input geometries
2017-07-16 15:55:05 +10:00
Nyall Dawson
bb344bcee2
Fix typo
2017-07-15 22:08:39 +10:00
Nyall Dawson
ea06500caf
Port Unique Values algorithm to new API
...
Improvements:
- by default output a table with unique values, instead of a HTML
file. This allows the values to be more easily used in follow up
analysis (e.g. in a model). HTML output is still available, but
not output by default
2017-07-15 22:07:12 +10:00
Nyall Dawson
82edbab814
Fix mean coords uses old exception
2017-07-15 21:17:50 +10:00
Nyall Dawson
b7f888bf5b
Port Distance Matrix algorithm to new API
...
Enhancements:
- support source/target layers in different CRS
- output layers with geometry (i.e. keep input point geometry - avoids
need to rejoin result back to original table to get geometry)
- keep original data types for id fields
- don't fire off many single feature requests - instead request
multiple features at once to improve speed
2017-07-15 20:33:53 +10:00
Nyall Dawson
7f58af11ae
Port mean coords algorithm to new API
...
Improvements:
- Don't export UID class field if no class field was set
2017-07-15 20:33:08 +10:00
Nyall Dawson
a6736ceb77
Add ability to select output fields from both layers to Intersection algorithm
2017-07-15 17:40:45 +10:00
Nyall Dawson
02bf88c4b7
Port Line Intersection algorithm to new API
...
Improvements
- allow different CRS between layers
- instead of optionally allowing selection of a single field to keep from
both inputs, allow selection of multiple fields
2017-07-15 17:40:45 +10:00
Nyall Dawson
eaad18c6ad
Merge pull request #4861 from nyalldawson/nn
...
Port nearest neighbour alg to new API
2017-07-15 17:40:32 +10:00