1455 Commits

Author SHA1 Message Date
Alexander Bruy
1fe16b712a use native algorithm instead of RectanglesOvalsDiamondFixed 2020-01-15 13:41:52 +02:00
Alexander Bruy
c752919dd0 [processing][needs-docs] port Rectangle,ovals,diamonds algorithm to C++
and make width, height and rotation parameters dynamic.

Old Python implementations marked as deprecated to maintain API
compatibility.
2020-01-15 13:41:52 +02:00
Etienne Trimaille
0a4f0e51a6 add field name when reporting an error in refactorfield algo 2020-01-14 11:32:48 +13: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
Nyall Dawson
12006de1aa [processing] Port Delete Duplicate Geometries to c++ 2019-12-31 15:06:42 +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
Alexander Bruy
3910d7774b use deprecated flag instead of hidden 2019-12-10 08:42:33 +02: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
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
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
Alessandro Pasotti
24307f9e5f
Merge pull request #32992 from elpaso/rasterize-c-plus-plus
Port Processing Rasterize to C++
2019-11-21 17:33:31 +01:00
Alessandro Pasotti
797af951c4 Processing rasterize: add extent buffer 2019-11-21 09:58:18 +01:00
javicasnov
742c7b95d7 Tiles XYZ fixed scale-dependant styles 2019-11-21 08:24:37 +10:00
javicasnov
20736b9ac1 Update TilesXYZ.py
Solve issue #30524. Now tiles are drawn correctly if there are layers with scale-dependant styles
2019-11-21 08:24:37 +10:00
Juergen E. Fischer
d401c84008 another translation string fix 2019-11-18 18:21:06 +01:00
Juergen E. Fischer
74a6871d9e translation string fixes 2019-11-18 13:19:25 +01:00
Nyall Dawson
3b8565115a Also lazy load numpy 2019-11-17 17:08:12 +10:00
Nyall Dawson
2d83fb2e1d Remove unused code 2019-11-17 17:08:12 +10:00
Nyall Dawson
a27db3533c [processing] Only load plotly library on demand (i.e. at time of algorithm
execution)

Because:
1. It's nicer to show all algorithms on all installs, and give a descriptive
error message to users when they try to run algorithms which depend on Plotly
if the library is missing. Otherwise on some installs these algorithms are
just missing for no apparent reason.

2. The plotly library takes a long time to load on windows (3-4 seconds),
so by moving this load to an on-demand load at time of algorithm execution
we can shave a few seconds off the QGIS startup time for ALL users.
2019-11-17 17:08:12 +10:00
Nyall Dawson
2a5ee9b563 [processing] Warn when we know for certain that no spatial index
exists on a source used for the Join by Location algorithm

Advise users that performance will be severely degraded as a result.
2019-11-17 04:54:41 +10:00
Alessandro Pasotti
25edd83b0a Processing raster calc: add missing btns and validate
Validate expression
2019-11-15 15:49:18 +01:00
Håvard Tveite
b0c1827b78 Update python/plugins/processing/algs/qgis/Rasterize.py
Don't know how the A ended up here - sorry.
2019-11-14 12:36:00 +10:00
Håvard Tveite
904d1d6c2d The "Convert map to raster" algorithm does not handle extent CRS correctly
Fixes: #32829
2019-11-14 12:36:00 +10:00