140 Commits

Author SHA1 Message Date
Andrea Giudiceandrea
5a70c3c1b4 [processing][grass] Make some strings translatable 2024-09-11 05:59:12 +10:00
Andrea Giudiceandrea
b80bd0afa0 [processing][grass] Fix r.colors (color or rules or raster parameter)
Allow to use either the color parameter or the rules parameter or the raster parameter
2024-08-07 13:30:38 +10:00
Nyall Dawson
a42fdd8f68 Update python/plugins/grassprovider/grass_provider.py
Co-authored-by: Alexander Bruy <alexander.bruy@gmail.com>
2024-07-16 04:08:53 +10:00
Nyall Dawson
eb66f88ac9 Update python/plugins/grassprovider/grass_provider.py
Co-authored-by: Loïc Bartoletti <lbartoletti@users.noreply.github.com>
2024-07-16 04:08:53 +10:00
Nyall Dawson
c9d0d29d69 Fix comment grammar 2024-07-16 04:08:53 +10:00
Nyall Dawson
b9f6293bc7 [grass] Drop custom defaultVectorFileExtension implementation
This fixes the GRASS provider ignoring the "default output
vector layer extension" setting for processing. The override
in the grass provider is NOT required as the base class method
already applies the logic for falling back to shp when gpkg
is not available (which was added here in 2e92dabd), and
also correctly respects the default format setting.

Fixes #43988
2024-07-16 04:08:53 +10:00
Nyall Dawson
b0aab23d0f [grass] Ensure vector inputs respect layer filters
Fixes #55155
2024-07-13 05:00:14 +10:00
Nyall Dawson
495a193036 Show GRASS version info in Processing logs
Fixes #55163
2024-07-12 22:18:26 +10:00
AlisterH
47f7b3a498 Update r.param.scale.txt
Correct stated maximum value for "size" parameter.
Don't know why it would have been 69 - maybe someone intended to make that the default value?
2024-07-02 17:21:35 +10:00
Nyall Dawson
b2d0550e1e Tweak GRASS plugins metadata
- Make it clear that the old c++ plugin is deprecated
- Change links for processing grass plugin to more relevant links
- Remove outdated information from processing provider metadata
2024-06-18 05:22:16 +10:00
Even Rouault
07067d37b5 python/plugins: turn on GDAL exceptions to avoid deprecation warning
Fixes #57344
2024-05-22 13:34:35 +10:00
Nyall Dawson
c434eb8585 Update test for newer GRASS 2024-05-01 13:45:55 +10:00
Andrea Giudiceandrea
5c46dab5ce Apply suggested changes from code review
Don't rename translation context
2024-03-11 14:51:01 +10:00
Andrea Giudiceandrea
a3bb769887 [GRASS] Rename more references to grass7 2024-03-11 14:51:01 +10:00
Andrea Giudiceandrea
8309c5ecaa [processing][grass] v.transform: add missing parameters
-t, -w, -x, -y, -a and -b missing parameters added
2024-02-14 10:40:09 +10:00
Nyall Dawson
6d5ef5b961 processing plugin (mostly) works on qt6 builds now 2024-02-13 08:13:43 +10:00
Nyall Dawson
20d5b34cd3 Rename test_definition_file to definition_file
Otherwise unittest thinks the function is a test itself and runs it
accordingly, and then raises a deprecation warning because
return values are not permitted from test functions
2024-02-12 16:44:06 +10:00
Nyall Dawson
a5cfd70f59 Update python/plugins/grassprovider/grass.txt 2024-02-08 12:54:46 +10:00
Alister Hood
e6184f122f Fix Python warning
ResourceWarning: unclosed file
2024-02-08 12:54:46 +10:00
AlisterH
e71f0c793e Fix flake errors from last commit 2024-02-08 12:54:46 +10:00
AlisterH
c322c0fcf4 g.extension.list.txt - use QgsProcessingParameterEnum 2024-02-08 12:54:46 +10:00
AlisterH
71dbfc6de8 fix flake error this time? 2024-02-08 12:54:46 +10:00
AlisterH
3adff5e943 Give output variables specific names 2024-02-08 12:54:46 +10:00
AlisterH
9e5aed44d1 fix flake error 2024-02-08 12:54:46 +10:00
AlisterH
e25d905970 fix lint error 2024-02-08 12:54:46 +10:00
AlisterH
31958e0d48 Save output of g.version and g.extension.list algorithms to an output variable as well as html 2024-02-08 12:54:46 +10:00
AlisterH
0fa4ca8180 refine new information in grass7.txt 2024-02-08 12:54:46 +10:00
AlisterH
2b9e2b77be Tweak new info in grass7.txt 2024-02-08 12:54:46 +10:00
AlisterH
830dc772b6 Minor fix to g.extension.list 2024-02-08 12:54:46 +10:00
AlisterH
ddcd8f004b Tell the user that they can run without any of the options to get just the GRASS version 2024-02-08 12:54:46 +10:00
AlisterH
4b5fb54dd1 Add g.version algorithm 2024-02-08 12:54:46 +10:00
Nyall Dawson
4f6846ea56 Location of generated signature files is different on GRASS 8 2024-02-06 18:31:48 +10:00
Nyall Dawson
2fae8655a4 Ensure config file is written to correct location for grass > 7 2024-02-06 18:31:48 +10:00
Nyall Dawson
d2cbdb1274 Add some more grass raster hashes for more recent GRASS versions 2024-02-06 18:31:48 +10:00
Nyall Dawson
ea3a86508e Rename more references to grass7 to version-less "grass" 2024-02-06 18:31:48 +10:00
Nyall Dawson
0ab66b7b6f Rename grass provider files and classes to remove hardcoded version
number
2024-02-06 18:31:48 +10:00
Nyall Dawson
4ba4eae72a [processing] Rename grass7 provider to grass provider
And transparently map requests for grass7 provider to grass provider

It's misleading putting an old version number in the provider name,
when this provider supports grass versions 8 +
2024-02-06 18:31:48 +10:00
Nyall Dawson
c95df01a90 Advertise qt6 compatibility for metasearch plugin
There may be some sneaky issues still, but it at least appears to
function ok!
2024-01-31 10:55:33 +10:00
Nyall Dawson
c16a1e2b3d Update enums 2024-01-19 19:44:48 +10:00
AlisterH
0da80e4a20
Update grass7.txt
Improve and expand instructions
2023-12-20 22:00:06 +13:00
Jean Felder
e0466ab5eb plugins/tests: Port to QgisUnitTests
`unittest.TestCase` is deprecated.
2023-12-12 05:27:30 +10:00
Nyall Dawson
b757ca0770 Don't install description_to_json file 2023-12-08 19:35:06 +10:00
Nyall Dawson
67757ec349 Don't check in algorithms.json 2023-12-08 19:35:06 +10:00
Nyall Dawson
f6ff3718ea Don't require manual execution of description_to_json, run during cmake
instead
2023-12-08 19:35:06 +10:00
Nyall Dawson
ee210c018c Reformat files 2023-12-08 19:35:06 +10:00
Nyall Dawson
208c4e6919 Translate at runtime only 2023-12-08 19:35:06 +10:00
Nyall Dawson
669335d9ef Fix ext folder 2023-12-08 19:35:06 +10:00
Nyall Dawson
98e8bcce5c Install aggregated json GRASS definitions instead of .txt files 2023-12-08 19:35:06 +10:00
Nyall Dawson
b7800f22ac Allow creating GRASS algorithms from JSON definitions 2023-12-08 19:35:06 +10:00
Nyall Dawson
eb41d18c6f Add ext path to json 2023-12-08 19:35:06 +10:00