Nyall Dawson
f587430d23
Remove ad-hoc python provider connection parameters and replace
...
with proper provider connection parameters
2020-03-10 19:10:52 +10:00
Nyall Dawson
4e1e68461d
Snap Geometries algorithm is capable of running in-place mode
2020-03-06 18:24:01 +10:00
Juergen E. Fischer
edee4a3d10
spelling fixes ( closes #32408 )
2020-02-28 21:04:02 +01:00
Håvard Tveite
833202f32c
Update the short help description of the Random points along line algorithm
...
Fixes #33160
2020-02-28 10:23:53 +10:00
gacarrillor
d016d46c49
Improve readability in refactor fields UI
2020-02-24 06:20:25 -05:00
gacarrillor
2007370f61
Ensure backwards compatibility with calls not passing 'constraints' key
...
e.g., processing.execAlgorithmDialog(..., 'FIELDS_MAPPING':[{'expression': 't_id', 'length': -1, 'name': 't_id', 'precision': 0, 'type': 4}], ...)
2020-02-22 23:31:55 -05:00
gacarrillor
016a813afe
Refactor fields UI: Add 'template' to label to link that layer to new column
2020-02-22 18:05:23 -05:00
gacarrillor
b05437c833
'Template properties' column for Refactor Fields algorithm
...
as a hint on template/target layer constraints.
A row of a template layer field with constraints is coloured and a tooltip shows the constraints in the corresponding 'Template properties' cell.
2020-02-22 17:21:13 -05:00
gacarrillor
09fc2c3406
Highlight NOT NULL target fields in the Refactor fields algorithm's UI:
...
+ By adding a new 'NOT NULL' column in the mapping widget, and
+ By adding an orange color (same as used in attribute form warnings) to the whole row.
New paragraph added to help panel to let users know why some rows are coloured.
2020-02-21 16:51:42 -05:00
Harrissou Sant-anna
eb55d7555e
Fix geometry type for "Convert geometry type" algorithm
2020-02-20 08:46:32 +10:00
Nyall Dawson
692a14090b
[needs-docs] Rename "Define layer projection" to "Define Shapefile projection"
...
This algorithm ONLY works on shapefile inputs, so make that clear in the algorithm's
display name and helper strings
2020-02-05 04:56:29 +10:00
Nyall Dawson
dae36b343e
Remove qpj files when defining shp projection from processing and Proj >= build
...
is present
These files aren't/shouldn't be used under proj 6 builds
2020-02-05 04:56:29 +10:00
Nyall Dawson
f41dd11e92
[processing] Define Layer Projection tool should write .prj files
...
using WKT1 ESRI format, not GDAL
Fixes #34007
2020-02-05 04:56:29 +10:00
Andrea Giudiceandrea
02a6fd40cd
Fix "Random points along line" alg
...
Fixes "Random points along line" (qgis:randompointsalongline) algorithm.
See https://github.com/qgis/QGIS/issues/33156#issuecomment-581395400
2020-02-04 08:13:03 +10:00
Andrea Giudiceandrea
e82ba52584
Fix "Random points along line" alg
...
Fixes "Random points along line" (qgis:randompointsalongline) algorithm
Fixes #33156
2020-02-04 08:13:03 +10:00
PedroVenancio
68cbc5b027
Add new -e -n flags
...
New features in GRASS 7.6: Add -n flag to create aspect as degrees clockwise from North (azimuth), with flat = -9999 (like gdaldem); new -e flag to compute values at edges (like gdaldem -compute_edges).
2020-01-30 08:47:45 +10:00
Harrissou Sant-anna
b0bffba9a1
Add short help to gdal's build virtual vector alg
2020-01-29 11:42:06 +10:00
Harrissou Sant-anna
adf63d6a90
Remove QGIS "build virtual vector" alg help
2020-01-29 11:42:06 +10:00
Andrea Giudiceandrea
41c847136e
Remove qgis:pointsalonglines python alg help
...
after "Points along geometry" algorithm port to C++ since 3.8 qgis\QGIS@f30fcca5ece7019d83d2b385f954a0335c84e7c6 qgis\QGIS#30175
2020-01-28 05:10:22 +10:00
Andrea Giudiceandrea
2c84b43c18
Remove qgis:creategrid python alg help
...
after "Create grid" algorithm port to C++ qgis/QGIS@9e9ade3903
2020-01-27 16:25:17 +10:00
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
Andrea Giudiceandrea
0d4d8254c1
[SAGA] Fix saga_cmd command with multiple outputs
...
Fixes a regression bug accidentally introduced with 40134d6473fcdbd8b6f53c3ea3db01e2dd606419 (PR #8968 ) and backported with a887b7d34bfa44a8400bcaa986ede96e15a760c9 (PR #9231 ): when there are multiple output parameters processAlgorithm incorrectly generates multiple saga_cmd commands, instead of a single command containing the output parameters.
Fixes #33658
2020-01-13 13:19:33 +13:00
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