154 Commits

Author SHA1 Message Date
Alexander Bruy
f1e67c3aa3 fix typos 2025-06-11 12:18:25 +12:00
Alexander Bruy
85aae08ee9 update and improve readme file for Processing GRASS provider (fix #29140) 2025-06-11 12:18:25 +12:00
Juergen E. Fischer
d9b5d8c9c5 update_ts.sh: alternatively use pylupdate6 + python translation string fixes 2025-03-23 23:23:02 +01:00
Jan Caha
374f2a0e59 tests for postgreraster provider in grass algorithms 2025-01-08 17:46:21 +01:00
Jan Caha
63524b16e7 fix postgresraster provider in grass algorithm r.in.gdal 2025-01-08 13:02:30 +01:00
Andrea Giudiceandrea
2d70b7afa2 [processing][grass] Fix v.mkgrid
Use parameter "type" instead of flag "-p" and add missing "-a" flag
2024-12-23 08:33:03 +09:00
Nyall Dawson
c1809728ff
Fix regex 2024-12-18 15:04:49 +10:00
Nyall Dawson
787f8072d1
Enable test which passes now 2024-12-18 13:20:52 +10:00
Nyall Dawson
d3df8c13cb
Only run i.smap , i.maxlik tests on older GRASS
Newer ones have the raster paths hardcoded into
the signature file, and we can't handle that currently
in the test suite
2024-12-18 13:20:52 +10:00
Nyall Dawson
6aa594dcb6
Allow skipping tests by grass version 2024-12-18 13:20:52 +10:00
Nyall Dawson
67a67c30e9
Resync grass plugin algorithm test base file 2024-12-18 13:20:52 +10:00
Nyall Dawson
49f9cfb358
Adapt some grass tests to account for formats used in newer GRASS versions 2024-12-18 13:20:52 +10:00
Denis Rouzaud
0f032e5f2d run pre-commit on all files 2024-11-29 15:38:02 +01:00
Nicolas Godet
5c803b120e Report GRASS warnings with pushWarning instead of reportError and check translated warning or error 2024-10-25 11:52:18 +10:00
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