Nyall Dawson
3d6e4963f6
[processing] Move base class of ParametersPanel to c++
2020-03-25 09:42:17 +10:00
Cédric Traizet
fb419b638d
OTB plugin modification for OTB 7.1
2020-03-25 08:22:46 +10:00
Matthias Kuhn
342f1e3396
Merge pull request #31387 from gacarrillor/colour_refactor_fields
...
Show 'template layer' constraints info in the Refactor fields algorithm's UI
2020-03-18 07:10:06 +01:00
Nyall Dawson
8b54d2f06c
[processing] Fix conversion of ESRI CRS when running GDAL algorithms under proj 6
...
Fixes #35123
2020-03-17 16:58:09 +10:00
Nyall Dawson
184bb0ebb2
Port last postgis alg to connections API
2020-03-17 15:10:53 +10:00
Nyall Dawson
cd2caf84f7
Raise an exception when connection is not specified
2020-03-17 15:10:53 +10:00
Nyall Dawson
3c3efe5f7a
Remove unused spatialite python connection class
2020-03-17 15:10:53 +10:00
Nyall Dawson
ba010f8803
[processing] Use core connections API for Spatialite algorithms instead
...
of Python reimplementation
2020-03-17 15:10:53 +10:00
Nyall Dawson
97e47fa7b8
[processing] Use core connections API instead of Python GeoDB class
...
for postgres connection handling
2020-03-17 15:10:53 +10:00
Nyall Dawson
517aa9667b
[processing] Port DestinationSelectionPanel to c++
...
This is basically a 1:1 port (+some fixes relating to incorrect signal
emissions and many more tests)
2020-03-17 07:24:40 +10:00
Nyall Dawson
fe4b2c89f9
Drop PostgisTableSelector
2020-03-16 19:42:02 +10:00
Nyall Dawson
edd0635fe3
[processing] Move responsiblity for creation of file filter strings from python to c++
2020-03-16 10:08:46 +10:00
gacarrillor
766b1e43b4
Optionally, remove empty geoms in RemoveNullGeometries algorithm
2020-03-15 17:37:51 +10:00
Nyall Dawson
edfc51139b
Remove unused redundant algorithm
2020-03-14 16:57:14 +10:00
Nyall Dawson
83d2a816fb
[processing] Use proper database schema/table name widgets in algorithms
2020-03-14 16:57:14 +10:00
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