3163 Commits

Author SHA1 Message Date
Alexander Bruy
5e62e60de9 [processing] add user-defined parameters to gdal_rasterize 2020-01-06 11:19:55 +10:00
Alexander Bruy
b511841775 [processing] fix v.net,centrality 2020-01-06 11:19:55 +10:00
Alexander Bruy
dcabb0536b [processing] fix r.rescale and r.rescale.eq 2020-01-06 11:19:55 +10:00
Alexander Bruy
0b749558b9 [processing] add proper support for range parameters (fix #29269) 2020-01-06 11:19:55 +10:00
Nyall Dawson
fcdf1f6e78 Fix test 2020-01-05 20:58:10 +10:00
Nyall Dawson
42885bfbb7 [needs-docs][processing] Move Build Vector VRT to gdal provider
and setup alias to avoid script/model breakage. This algorithm
uses GDAL utilities and fits better alongside the other GDAL based
algorithm rather than in the qgis provider.
2020-01-05 20:58:10 +10:00
Alex
e9aff0b695 join by location c++ port 2020-01-03 05:25:33 +10:00
Panos Mavrogiorgos
0c3cb558a8 Introduce GRASS_USE_REXTERNAL setting
GRASS GIS, in addition to importing data in its native formats via
`r.in.gdal`/`v.in.ogr` (and likewise `r.import`/v.import`),
also supports `r.external`/`v.external` which only link the data into
the GRASS DB.

Nevertheless, both `r.external` and `v.external` occasionally have problems,
especially on windows. E.g.:

- https://trac.osgeo.org/grass/ticket/3927

GRASS 7 Processing Plugin already has a setting that controls whether
`v.external` is used (disabled by default).

With this commit the complementary setting for `r.external` gets added too.
Usage of `r.external` is disabled by default. This is changing the existing
behavior, which was to use r`r.external`. The downsides of this change
should be the somewhat lower import speed + higher disk usage. Nevertheless
this way we have the same default value as `v.external` + we circumvent the
`r.import/v.import` shortcomings.
2020-01-02 18:26:49 +10:00
Andrea Giudiceandrea
ef9b8c2c25 Fix missing flags in r.reclass.area GRASS alg
Fixes #33569
2020-01-02 11:43:10 +10:00
Andrea Giudiceandrea
19465c6295 Fix validity mask filename quoting in Fillnodata alg
Fixes a bug similar to #33562
2020-01-01 09:07:58 +10:00
Andrea Giudiceandrea
fbca3641e5 Fix validity mask filename quoting in Sieve alg
Fixes #33562
2020-01-01 09:07:58 +10:00
Nyall Dawson
12006de1aa [processing] Port Delete Duplicate Geometries to c++ 2019-12-31 15:06:42 +10:00
Andrea Giudiceandrea
c062b52fd8 Fix SAGA Raster Buffer algorithm (GridBuffer.txt)
Since SAGA 2.3.0, DIST and BUFFERTYPE parameters for Gid Buffer module were renamed to DISTANCE and TYPE, respectively.
2019-12-29 05:49:27 +10:00
Nyall Dawson
b37dd0984e Rip off a band aid, and deprecate all "proj4" calls from the API
Alias these across to new "proj" methods, which don't include the
version number.
2019-12-20 12:13:06 +10:00
Alexander Bruy
a0b392da12 [processing] url-encode path to tiles in XYZ algorithm (fix #32589) 2019-12-18 08:50:23 +10:00
Håvard Tveite
512eb4d2b8
Fix the label of the output parameter of the TPI algorithm 2019-12-13 11:09:45 +01:00
Alexander Bruy
0219d0019e
Merge pull request #33290 from alexbruy/port-algorithms
[processing] port some algorithms to C++
2019-12-12 08:21:57 +02:00
Alexander Bruy
3910d7774b use deprecated flag instead of hidden 2019-12-10 08:42:33 +02:00
Markus Neteler
f497cf4f41 v.to.rast: fix va -> val 2019-12-10 08:17:48 +10:00
Alexander Bruy
d40a036c03 [processing] port random extract to C++
Also fix unreported bug caused incomplete results when same FID
was used multiple times
2019-12-09 13:28:32 +02:00
Alexander Bruy
cc5b6e74f4 [processing] port zonal statistics to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
4622661f59 [processing] port truncate table to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
c974125fd9 [processing][needs-docs] replace set raster style and set vector style
Python algorithms with generics set layer style C++ algorithm
2019-12-09 13:28:32 +02:00
Alexander Bruy
b85fe90955 [processing] port raster layer statistics to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
2ff85f92df [processing] port pole of inaccessibility to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
2caf9e6ac3 [processing] port points from polygons algorithm to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
df3e801f31 [processing] port nearest neighbour analysis algorithm to C++ and add
test
2019-12-09 13:28:32 +02:00
Alexander Bruy
eec0ac07f8 [processing] port geometry by expression to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
c2d1649e60 [processing] port extract specific vertices algorithm to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
e0136ff65c [processing] port extract layer extent to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
9615306f44 [processing] port sum line length algorithm to C++ 2019-12-09 13:28:32 +02:00
Alexander Bruy
eeaffb9d79 [processing] port add table field algorithm to C++ 2019-12-09 13:28:32 +02:00
Alessandro Pasotti
60c401a8d2
Merge pull request #32999 from elpaso/rasterize-c-plus-plus-concurrent
Rasterize: QtConcurrent version
2019-12-06 14:58:35 +01:00
Martin Schitter
cfbe66473e Fix single threaded use of MBTiles generator 2019-12-06 10:59:00 +01:00
mash-graz
89f1640419 successive ThreadPoolExecutors for all zoom levels
instead of using only one ThreadPoolExecutor for all MetaTiles, its now handled in a loop and new ThreadPools for the next zoom level will be started when all work for the previous one is already done. i guess, this will fix the issues and interferences described in #32471 and shouldn't be much slower.
2019-12-06 10:59:00 +01:00
Nyall Dawson
d969e41799 [processing][saga] Allow saga algorithms to be run under SAGA 7.3,
but show a huge obnoxious "NOT OFFICIALLY SUPPORTED" warning

SAGA 7.3 is the new SAGA LTR, so we eventually need to move towards this.

But adding full support is going to be a painstaking tedious process. So
allow users to use this combination, but totally at their own risk.

TODO: Make SAGA provider a 3rd party plugin only and save QGIS core dev sanity ;)
2019-12-06 17:35:41 +10:00
root676
590c57c05e remove python alg help 2019-11-27 04:18:28 +10:00
root676
08c194c7e0 remove python version of Random points in extent algorithm 2019-11-27 04:18:28 +10:00
Nyall Dawson
ab6239b753 Don't report success when a calculation error occurred 2019-11-26 18:25:26 +10:00
Nyall Dawson
0b3b7123b9 [processing] Port "Count points in polygon" algorithm to c++ 2019-11-26 13:45:08 +10:00
Alexander Bruy
0800c5ddaa remove Python version of the Grid algorithm, it was ported to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
524f66da78 [processing] port single-sided buffer algorithm to C++ and make distance
parameter dynamic
2019-11-26 03:56:24 +10:00
Alexander Bruy
f1d6080082 [processing] port set Z value algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
9411d96f60 [processing] port set M value algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
5324d7f98d [processing] port points layer from table to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
9289d53a6c [processing] port orthogonalize algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
aed17baed3 [processing] port spatial index algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
7033c31063 [processing] port create attribute index algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
a1e75e9df3 [processing] port constant raster algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
06a71403fe [processing] port terrain analysis algoithms to C++ 2019-11-26 03:56:24 +10:00