8621 Commits

Author SHA1 Message Date
AlisterH
5e29c75d2f Update python/plugins/grassprovider/Grass7Utils.py
Co-authored-by: Loïc Bartoletti <lbartoletti@users.noreply.github.com>
2023-07-06 13:45:15 +10:00
AlisterH
47fa0c8197 Update python/plugins/grassprovider/Grass7AlgorithmProvider.py
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-07-06 13:45:15 +10:00
AlisterH
75d204d766 Update python/plugins/grassprovider/Grass7AlgorithmProvider.py
Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-07-06 13:45:15 +10:00
AlisterH
6cc773d758 Add comments 2023-07-06 13:45:15 +10:00
AlisterH
c0ca40aebb add userDescriptionFolder() method 2023-07-06 13:45:15 +10:00
AlisterH
2c006b185d fix lint errors 2023-07-06 13:45:15 +10:00
AlisterH
f08e5e9469 support grass algorithms in profile folder 2023-07-06 13:45:15 +10:00
Loïc Bartoletti
c298bda614 Update python/plugins/processing/tools/dataobjects.py
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2023-07-05 06:06:10 +10:00
Loïc Bartoletti
09ac50fd36 move logic to QgsProcessingUtils and create a convenient method resolveDefaultEncoding() 2023-07-05 06:06:10 +10:00
Loïc Bartoletti
9bd8c1298c Processing: determine and set default encoding from locale
A shapefile can have a .cpg file to determine its encoding.
However, in processing, this file is not created when the
encoding is set to the magic "System" value.

This PR aims to propose to automatically determine the system
encoding using QT's codecForLocale.

So, even when using the magic "System" value, the cpg file
will be created with the true system encoding name.

Fixes #50603
2023-07-05 06:06:10 +10:00
ASAI Hitoshi
04952b447e Add antialias setting to raster tile processing plugin 2023-07-03 10:46:09 +10:00
Andrea Giudiceandrea
5377930242 GRASS: add ext module for v.reclass
In order to check that either 'rules' or 'column' parameter is set
2023-07-03 07:36:30 +10:00
Andrea Giudiceandrea
534d9f329d Fix v.reclass description file
Make the 'column' parameter optional
2023-06-30 06:44:56 +10:00
Julien Cabieces
b4613b9839
Fixes #53204 : use setting from registry in processing config (#53458) 2023-06-14 10:25:36 +02:00
Nyall Dawson
30acad6819 Cleanup iface signal connections when unloading processing
plugin

Fixes #53455
2023-06-14 17:33:47 +10:00
Andrea Giudiceandrea
e450b2d9c5 [grass] r.series: add missing tvalue option 2023-06-13 07:30:04 +10:00
Alexander Bruy
7543fabc91 add "resample" to the list of tags for GDAL's warp algorithm (fix #49208) 2023-06-08 08:39:25 +10:00
Alexander Bruy
a84011ecd7 do not raise error in processing algoirthm if map tool previously used
by the canvas was destroyed (fix #53294)
2023-06-08 08:37:17 +10:00
Alexander Bruy
8923c43311 set default value for CRS parameter in Define Shapefile projection
algorithm (fix #53309)

If default value is not set and prameter is not optional its widget end
up in conflicting state: invalid CRS is set but widget requires a valid
one. As a result even if user selects a valid crs, widget fails to
validate selection.
2023-06-08 08:31:30 +10:00
Loïc Bartoletti
9938c594d0 [GRASS] Use -stable link to manuals 2023-06-07 10:00:23 +10:00
Nyall Dawson
b141f2f7b4
Fix grass provider points to out of date help documents
Instead of storing the calculated default URL for the help
documentation within the user's profile, make the help
PATH setting an optional override. This avoids the setting persisting
an older help URL when the user's grass installation is
updated to a newer version.

Change the existing setting key to a new one so that the
setting is reset for all users, so that old profile
settings don't apply and override the default.

Fixes #53105
2023-06-06 08:48:05 +10:00
Harrissou Sant-anna
52ec6016a7
Add 'Int8' as raster data types to Processing GDAL algorithms (#51755) 2023-06-01 22:39:01 +02:00
AlisterH
8e9901baa6 modernise 2023-05-31 10:09:47 +10:00
AlisterH
7a25346cc7 fix flake test I think 2023-05-31 10:09:47 +10:00
AlisterH
f1f4d243fc override processInputs for g.extension algorithms 2023-05-31 10:09:47 +10:00
AlisterH
6bae9e07c9 Update g.extension.list.txt
Write list to file
2023-05-31 10:09:47 +10:00
AlisterH
aea90ec68a Add algorithm to list GRASS addons 2023-05-31 10:09:47 +10:00
AlisterH
e4b10d15c4 Add algorithm to manage GRASS addons 2023-05-31 10:09:47 +10:00
Alexander Bruy
d0c7c6e930 fix formula for exponential interpolation
The scale_exp function renamed to scale_polynomial and has an alias
scale_exp to preserve backward compatibility.

A new function using correct formula was added as scale_exponential.
2023-05-31 09:02:01 +10:00
AlisterH
c286091846 Update grass7.txt
add note about reloading descriptions
2023-05-26 09:22:52 +10:00
AlisterH
ff8727ae6e Update grass7.txt
Correct the list of vector output types (guess I was interrupted while working on this section).
2023-05-26 09:22:52 +10:00
AlisterH
ce9e9bfd5c Update python/plugins/grassprovider/grass7.txt
Correction from nicogodet

Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-05-26 09:22:52 +10:00
AlisterH
a98f02e9fe Update python/plugins/grassprovider/grass7.txt
Correction from nicogodet

Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-05-26 09:22:52 +10:00
AlisterH
1fb475cfb2 Update python/plugins/grassprovider/grass7.txt
Suggested change from nicogodet

Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-05-26 09:22:52 +10:00
AlisterH
523f1f9245 Update grass7.txt
Update "advanced" information based on https://medspx.fr/blog/Qgis/grass_processing_provider/
2023-05-26 09:22:52 +10:00
AlisterH
7803d42bc0 Update grass7.txt
Add more parameters and examples
2023-05-26 09:22:52 +10:00
AlisterH
9803db451f Update python/plugins/grassprovider/grass7.txt
suggested change from nicogodet

Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-05-26 09:22:52 +10:00
AlisterH
ce7429b2c7 Update python/plugins/grassprovider/grass7.txt
suggested change from nicogodet

Co-authored-by: Nicolas Godet <39594821+nicogodet@users.noreply.github.com>
2023-05-26 09:22:52 +10:00
AlisterH
b223dcc7c8 Update guide for GRASS algorithms 2023-05-26 09:22:52 +10:00
Andrea Giudiceandrea
0a68d2ca10 [dbmanager] Remove Delete and Rename actions for Project layers
since it is not possible to remove or rename the Virtual Layers / Project layers items
2023-05-25 09:05:31 +10:00
Pedro Venancio
7bd4c5b0af Update v.neighbors.txt
Additional options for aggregate statistics, based on https://grass.osgeo.org/grass82/manuals/v.neighbors.html
2023-05-25 09:04:22 +10:00
Nyall Dawson
c32bc17973 Defer calling postProcessors until layers have been added to layer tree
It's possible that an algorithm's postProcessor may contain logic
relating to the layer tree, so make sure that all layers have
already been added to the tree before calling postProcessors
2023-05-10 13:17:55 +10:00
Nyall Dawson
a52e0bdd22 Respect layer output ordering when adding processing results layers 2023-05-03 18:29:28 +10:00
Nyall Dawson
70c91eb96b Always expand processing results groups by default 2023-05-03 18:29:28 +10:00
Nyall Dawson
f8ff71031d Minor lint fixes 2023-05-03 18:29:28 +10:00
Nyall Dawson
42e9b916c5 Respect output group name when loading layers 2023-05-03 18:29:28 +10:00
Nyall Dawson
26ce45d6d5 Remove unused argument 2023-05-03 18:29:28 +10:00
Nyall Dawson
2e83566aef More minor cleanups 2023-05-03 18:29:28 +10:00
Nyall Dawson
3651c8dd73 Refactor out some more postprocessing logic 2023-05-03 18:29:28 +10:00
Nyall Dawson
3d166989cb [processing] Cleanup some post-processing code 2023-05-03 18:29:28 +10:00