620 Commits

Author SHA1 Message Date
Nyall Dawson
97c1b0d322 [FEATURE] Port autoincremental field to c++
Also add:
- support for setting initial value for field to start at
- support for user-set field names (instead of always using 'AUTO')
2017-10-13 08:26:36 +10:00
Nyall Dawson
61dc8ea28f [FEATURE][processing] New 'assign projection' algorithm
This algorithm assigns a new projection to a vector layer.
It creates a new layer with the exact same features and
geometries as the input one, but assigned to a new CRS.
E.g. the geometries are not reprojected, they are just
assigned to a different CRS.

This algorithm can be used to repair layers which have
been assigned an incorrect projection.
2017-10-13 08:26:36 +10:00
Nyall Dawson
bd24c8b664 Allow selection of a subset of fields to keep for hub lines algorithm 2017-10-13 08:26:36 +10:00
Nyall Dawson
cc19d0a70d Port hub lines algorithm to c++
Also:
- optimise a bit
- retain z/m values
- use point on surface for non-point layers, instead of
center of geometry bounding box
2017-10-13 08:26:36 +10:00
Nyall Dawson
cac171a2e0 Port Join Attributes to c++, add option to select subset of fields to copy 2017-10-13 08:26:36 +10:00
Alexander Bruy
ea7ca58442 [processing] add second hash for linear grid interpolation test 2017-10-11 17:55:26 +03:00
Alexander Bruy
c0e47a71ae [processing] disable test for script-based algorithms as GDAL scripts
are not available on Travis
2017-10-11 17:06:11 +03:00
Alexander Bruy
21e4fc515e [processing] exclude location field from check 2017-10-11 17:06:11 +03:00
Alexander Bruy
49f9ceef1a [processing] disable clip by polygon tests as they pass locally but
fail on Travis with TopologyException

ERROR 1: TopologyException: Input geom 1 is invalid: Self-intersection
at or near point 2 -1 at 2 -1
2017-10-11 17:06:11 +03:00
Alexander Bruy
2104b273af [processing][API]introduce QgsProcessingOutputFile output and fix gdal2xyz test 2017-10-11 17:06:11 +03:00
Alexander Bruy
79c26c384d [processing] fix execute sql test 2017-10-11 17:06:11 +03:00
Alexander Bruy
4ac442f5a3 [processing] fix test for clip vector by mask algorithms 2017-10-11 17:06:11 +03:00
Alexander Bruy
f65de2caa9 [processing] fix clip by extent tests 2017-10-11 17:06:11 +03:00
Alexander Bruy
97238fd687 [processing] fix SQL-based geoprocessing tools and tests 2017-10-11 17:06:11 +03:00
Alexander Bruy
e165d45a0f [processing] fix GDAL raster tests 2017-10-11 17:06:11 +03:00
Alexander Bruy
613852758e fix indentation 2017-10-11 17:06:11 +03:00
Alexander Bruy
c4c780fa04 [processing] tests for clipping (raster and vector) algorithms 2017-10-11 17:06:11 +03:00
Alexander Bruy
1ece552c40 [processing] fix import 2017-10-11 17:06:11 +03:00
Alexander Bruy
ff75873eb8 [processing] tests for OGR-based algorithms 2017-10-11 17:06:11 +03:00
Alexander Bruy
3750a5bf63 [processing] restore one side buffer algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
98dfda3aa7 [processing] restore buffer algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
fde5c89d97 fix typos and add tests for gdal algorithms 2017-10-11 17:06:11 +03:00
Alexander Bruy
9b74d9f2df [processing] restore offset curve algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
105222ea8c [processing] restore ogrinfo algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
7c9d634323 [processing] rename some algorithms to avoid naming conflicts and
maintain consistency
2017-10-11 17:06:11 +03:00
Alexander Bruy
10baf9a1c4 [processing] restore proximity algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
587907e003 [processing] restore clip raster by mask algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
1744ad7114 [processing] restore clip raster by extent algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
26f80351f0 [processing] restore nearest neighbor interpolation 2017-10-11 17:06:11 +03:00
Alexander Bruy
ad591c768e [processing] restore inverse distance to a power algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
dc7b9e41bc [processing] restore grid data metrics algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
8c09860dd7 [processing] restore moving average interpolation 2017-10-11 17:06:11 +03:00
Alexander Bruy
6ec7b6e741 remove duplicate tests 2017-10-11 17:06:11 +03:00
Alexander Bruy
f663ceb8dd [processing] restore slope algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
c9ea8892d5 [processing] restore TPI algorithm 2017-10-11 17:06:11 +03:00
Alexander Bruy
c53ff66caf fix permissions 2017-10-11 17:06:11 +03:00
Mathieu Pellerin
61dcba4a81 [processing] add area to raster layer unique values report algorithm (#5334) 2017-10-10 13:52:16 +07:00
Mathieu Pellerin
201091ea3e [FEATURE][processing] raster layer unique values count algorithm (#5308) 2017-10-09 16:42:17 +07:00
Matthias Kuhn
191a952e13
[processing] Add new projection candidate to test 2017-09-28 13:22:33 +02:00
Matthias Kuhn
c1d32f6095
[processing] Fix test "Polygon buffer with dissolve" 2017-09-28 13:22:33 +02:00
Matthias Kuhn
ceb3883dfd
[processing] Fix test "Single sided buffer multiline (bevel)" 2017-09-28 13:22:32 +02:00
Nyall Dawson
0943cd5d51 Resurrect commented out zonal stats test 2017-09-26 15:30:14 +10:00
Nyall Dawson
fddb6a59a1 Make shortest path test less fussy 2017-09-26 15:19:05 +10:00
Nyall Dawson
79b143bd15 Enable a commented out processing test 2017-09-26 15:16:49 +10:00
Alexander Bruy
73d6058bd1 ignore crs for network analysis tests 2017-09-25 13:26:30 +03:00
Alexander Bruy
745111dbdb [processing] enable network analysis tests 2017-09-25 11:20:42 +03:00
Nyall Dawson
5a802b595d Add missing test files 2017-09-23 10:36:33 +10:00
Nyall Dawson
ae42bf4b6e Update expected test results (rename field) 2017-09-23 09:27:26 +10:00
Nyall Dawson
0dd434c183 [processing] Port mean coordinates to c++
And remove final use of inefficient vector.extractPoints function
2017-09-23 09:25:18 +10:00
Nyall Dawson
21f92a6fb2 Port line intersection and split with lines to c++ 2017-09-22 15:19:32 +10:00