Nyall Dawson
703898e923
Update test masks
2018-02-25 12:47:58 +11:00
Nyall Dawson
1bada065ed
[FEATURE][processing] Add 'Project points (cartesian)' algorithm
...
Projects points from an input point layer by a specified distance
and bearing (azimuth). Supports dynamic parameters for the distance
and bearing so that they can use field values or expressions.
2018-02-24 14:23:10 +11:00
Alexander Bruy
c12884cc6b
[processing] remove obsolete script tests
2018-02-06 19:25:48 +02:00
Alexander Bruy
23a5dd3197
[processing] fix file permissions
2018-02-06 19:25:48 +02:00
Alexander Bruy
15a185dab0
[processing] turn keep n biggest parts script into normal algorithm
2018-02-05 08:50:44 +02:00
Alexander Bruy
5ad3af592f
[processing] remove tests for old scripts
2018-02-05 08:50:37 +02:00
Alexander Bruy
e1a64f6a8f
[processing] remove unused files
2018-02-05 08:50:37 +02:00
Mathieu Pellerin
e0c12d519f
[processing] nodes -> vertices algorithm renaming
...
- "Extract nodes" renamed to "Extract vertices"
- "Extract specific nodes" renamed to "Extract specific vertices"
2018-01-29 19:16:43 +07:00
Alexander Bruy
77a6bbbb0a
[processing] restore GDAL rasterize algorithm
2018-01-23 12:27:04 +02:00
Mathieu Pellerin
aaf97933c2
[needs-docs][processing] merge grid algorithms and add point grid type
2018-01-23 13:54:53 +07:00
Nyall Dawson
b8e1f7707c
[processing] Port 'Add unique value index field' to c++
...
And implement some fixes/improvements (refs discussion on the dev mailing list):
- allow user to specify created field name
- allow optional creation of a summary table showing new class value vs original
value
2018-01-23 12:18:55 +11:00
Nyall Dawson
95db682acf
[processing][needs-docs] Drop Fixed Distance Buffer algorithm
...
Since it's functionality is a subset of the native c++ "buffer"
algorithm, it's no longer required.
2018-01-16 21:21:38 +10:00
Nyall Dawson
5b1da988ba
[processing] List unique values improvements
...
- allow running on non-spatial tables
- allow choice of more than one field
2017-12-15 15:46:50 +11:00
Nyall Dawson
ca75e8c0a5
Remove obsolete python alg, add unit tests
2017-12-07 06:28:54 +11:00
Nyall Dawson
5a818707c7
Update tests
2017-12-03 17:06:20 +10:00
Nyall Dawson
e12621ce2a
Add API method to remove duplicate nodes from geometries
...
Removes duplicate nodes from the geometry, wherever removing the
nodes does not result in a degenerate geometry.
By default, z values are not considered when detecting duplicate
nodes. E.g. two nodes with the same x and y coordinate but
different z values will still be considered duplicate and one
will be removed. If useZValues is true, then the z values are
also tested and nodes with the same x and y but different z
will be maintained.
Note that duplicate nodes are not tested between different
parts of a multipart geometry. E.g. a multipoint geometry
with overlapping points will not be changed by this method.
The function will return true if nodes were removed, or false
if no duplicate nodes were found.
Includes unit tests and a processing algorithm which exposes
this functionality.
2017-12-03 14:58:21 +10:00
Nyall Dawson
6b23e1f299
Merge pull request #5600 from Gustry/sortby
...
add order by expression algorithm
2017-12-02 11:43:48 +11:00
Nyall Dawson
8026008ae7
[processing] group option for autoincrement field algorithm
2017-12-01 20:42:38 +11:00
Nyall Dawson
f6e63d7f4c
Fixes and cleanups to algorithm dialogs
2017-12-01 18:15:40 +11:00
Etienne Trimaille
7303297d7f
add some notes in processing test readme
2017-11-30 15:22:13 +01:00
Etienne Trimaille
1b8faa2a79
add sort by expression algorithm
2017-11-30 15:22:13 +01:00
Matteo Ghetta
a10e753820
processing test for difference algorithm ( #5764 )
2017-11-29 15:25:30 +01:00
Alexander Bruy
e0290a9f23
Merge pull request #5745 from alexbruy/processing-cleanup
...
Processing cleanup
2017-11-29 09:44:55 +02:00
Nyall Dawson
62dbf4ce26
GML is too fragile, but shapefiles, you've never let me down...
2017-11-29 15:50:58 +11:00
Nyall Dawson
f8bad4977d
[processing] Make split with lines output single part features
...
instead of keeping parts collected into a single multipart feature
2017-11-29 15:50:58 +11:00
Alexander Bruy
3d4a59bb8b
[processing] cleanup files from unused code and remove some files
2017-11-28 12:27:45 +02:00
Nyall Dawson
b786ed03b2
Add a unit test
2017-11-24 16:26:41 +10:00
Nyall Dawson
ff900c0b05
[processing] Make translate algorithm native
...
And add option to translate z/m values
2017-11-24 16:18:13 +10:00
Mathieu Pellerin
793fb6114b
[processing] add vertex id details to extract nodes algorithms
2017-11-16 17:46:47 +07:00
matteo
c321700ada
[processing] test for union algorithm
2017-11-15 11:27:30 +11:00
Nyall Dawson
fc6c69bedf
Fix calculation of distance to vertex for multi part, multi ring
...
and curved geometries
2017-11-14 21:52:28 +11:00
nirvn
b7d05829ce
try to make travis happy
2017-11-13 17:36:36 +07:00
Alexander Bruy
713dc970d8
disable SAGA test until we have SAGA support on Travis
2017-11-09 18:58:19 +02:00
Alexander Bruy
4b63975eaf
[processing] tests for SAGA provider and related fixes
2017-11-09 18:56:44 +02:00
Alexander Bruy
b4214798e9
[processing] infrastructure for SAGA tests
2017-11-09 18:56:44 +02:00
Nyall Dawson
ba62ffce2c
Make constructors for QgsVectorLayer and QgsRasterLayer more flexible
...
...by moving extra arguments to new LayerOptions structs. This allows
us to more easily add new layer constructor options without making
the API cumbersome to use.
2017-11-09 14:28:51 +11:00
Nyall Dawson
fe78611cf5
Simplify interpolation API
...
Don't require both pixel size and row/col count in constructor,
since we can calculate the pixel size from the extent and row/column
count.
2017-11-03 14:00:07 +10:00
Nyall Dawson
bee2a1a86e
Update Python code
2017-11-03 10:33:04 +10:00
Nyall Dawson
2bdc323d72
More test tolerance
2017-10-31 16:01:33 +10:00
Nyall Dawson
284c4d35cd
Fix tests
2017-10-31 16:01:33 +10:00
Nyall Dawson
8f22f5eb3b
[processing] Misc fixes for network analysis tools
...
Also maintain attributes in service area from layer alg, add test
Fixes #17325
2017-10-31 16:01:32 +10:00
Nyall Dawson
5ffd7214ee
[processing] Shortest path handling for multipoint layers
...
Fixes shortest path algorithms fail for multipoint source layers
or layers with null geometries
Refs #17325
2017-10-31 16:00:18 +10:00
Nyall Dawson
4372ac2658
[FEATURE][processing] Native c++ snap to grid algorithm
...
With support for snapping Z/M values, keeping curves
2017-10-27 15:16:15 +10:00
Alexander Bruy
04a8418a32
add tests for distance matrix algorithm
2017-10-24 15:27:23 +03:00
lbartoletti
977ce426db
[FEATURE][processing]Transect processing
...
Adds a C++ version of the "ststion lines" plugin as a
new processing algorithm for creating transect lines.
2017-10-24 05:42:03 +11:00
rldhont
efb84fd2ca
Merge pull request #5337 from dmarteau/qgis_utils_refactoring
...
Disable message hook and import override at runtime
2017-10-20 10:25:45 +02:00
Alexander Bruy
a6ac876d90
[processing] update test data
2017-10-18 18:41:39 +03:00
David Marteau
40b916c7a3
Disable message hook and import override at runtime
2017-10-17 09:40:22 +02:00
Nyall Dawson
54f8825350
Fix processing tests
2017-10-16 20:10:37 +11:00
Nyall Dawson
e92e20e613
Move native c++ processing algorithms from core library to analysis
...
And split into separate files for each algorithm
2017-10-16 20:10:37 +11:00