Denis Rouzaud
eddf6feb45
modernize CMakeLists.txt files
2020-11-12 07:14:46 +10:00
Andrea Giudiceandrea
e7e08fd504
Fix grassname of raster layer bands in r_rgb.py
2020-09-24 18:45:59 +10:00
zhanggaolei
3119eb7de2
fixed #38938 Wrong GRASS processing description files
2020-09-23 18:26:40 +10:00
Peter Petrik
24cfedf03f
fix #32511 always detect GRASS installation folder on MacOS
2020-09-18 10:56:44 +10:00
Sylvain POULAIN
78cea71e00
Missing options for r.neighbors in processing
...
All options added : https://grass.osgeo.org/grass78/manuals/r.neighbors.html
2020-08-05 06:28:12 +10:00
Andrea Giudiceandrea
ef11ad32b1
Don't load GRASS algs if GRASS is not installed
...
Fixes qgis_process that incorrectly lists GRASS algorithms among the available processing algs even when GRASS is not installed in the system
2020-08-04 14:51:34 +10:00
Nyall Dawson
ef19911f11
[processing][grass] Correctly return the actual generated filename
...
locations as the algorithm results, don't just echo back the parameter
value
Otherwise we don't return the correct value for temporary file locations
or for file paths during model execution
Fixes #36379
2020-06-12 05:00:49 +10:00
Alexander Bruy
683f69c6cf
add ext module for r.tileset
2020-05-24 20:39:24 +03:00
Alexander Bruy
e014684b56
[processing] fix r.tileset algorithm
2020-05-24 20:38:28 +03:00
Alexander Bruy
263d2a871d
[processing] redirect tool standard output to fake Processing output in
...
some GRASS algorithms (fix #36520 )
2020-05-24 08:52:53 +03:00
Alexander Bruy
938dc618b1
update algorithms which use "ext" mechanism
2020-05-22 11:13:22 +03:00
Alexander Bruy
b5d323c583
[processing] fix handling for stdout and file outputs in GRASS
...
algorithms when temporary files are used
2020-05-22 10:30:07 +03:00
Nyall Dawson
c6690c2ee8
Create runtime profiles for various startup/provider initialisation
...
tasks in processing
Attempting to diagnose occasional very slow QGIS startup times
2020-05-19 04:35:34 +10:00
Nyall Dawson
e76013e9cd
Fix F523 flake issues
2020-05-12 14:24:40 +10:00
Nyall Dawson
b6a7a10703
Fix some more python formatting issues, remove more flake exceptions
2020-05-11 11:41:50 +10:00
Alexander Bruy
30219ecd65
[processing] fix file filter for i.landsat.toar ( fix #36290 )
2020-05-09 13:33:17 +03:00
Matthias Kuhn
a5f557f085
Fix escaping issues
2020-05-05 23:22:12 +02:00
Alexander Bruy
6c2937fd86
[processing] set correct filter for v.in.lidar ( fix #35700 )
2020-04-11 05:22:09 +10:00
Juergen E. Fischer
edee4a3d10
spelling fixes ( closes #32408 )
2020-02-28 21:04:02 +01: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
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
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
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
Markus Neteler
f497cf4f41
v.to.rast: fix va -> val
2019-12-10 08:17:48 +10:00
Nyall Dawson
8d6101cdc7
[processing] Support grass version 7.8
2019-11-11 18:11:15 +10:00
Alexander Bruy
75bc01bf58
Fix default value
2019-11-05 08:16:56 +02:00
Giovanni Manghi
0c4dbf9f4c
fixes default GRASS output geometry type
2019-11-04 23:44:01 +00:00
Giovanni Manghi
414807a74f
fix typo
2019-10-26 21:14:37 +10:00
Giovanni Manghi
76bc160612
change v.voronoi description
2019-10-26 21:14:37 +10:00
Giovanni Manghi
0fee816414
fixes again GRASS7 v.voronoi
2019-10-26 21:14:37 +10:00
Juergen E. Fischer
b81d306047
spelling fixes ( closes #32408 )
2019-10-26 10:50:30 +10:00
ThiesVanLoon
93a52b47f7
Bug fix resolving issue 32172
...
The 'upload' parameter value 'to_attr' should not involve a closing bracket
https://github.com/qgis/QGIS/issues/32172
2019-10-09 13:39:34 +02:00
Dimitris Salmas
0a27b7b131
bug fix
...
Bug fix for ERROR: Output distance in meters for lat/lon is only possible with 'metric=geodesic'
2019-08-02 17:08:53 +03:00
Alexander Bruy
e45b62c6af
re-enable some disabled test and fix broken r.describe algorithm
2019-07-16 06:20:23 +10:00
Alexander Bruy
807564a435
[processing] improve handling of the HTML outputs in GRASS provider ( fix #30609 )
2019-07-16 06:20:23 +10:00
Panos Mavrogiorgos
d8b0cdacb7
Make setting "Grass7AlgorithProvider.activateSetting" optional.
...
This change makes it easier to subclass `Grass7AlgorithProvider` which
allows e.g. to expose GRASS Addons as QGIS plugins.
Disclaimer: `Grass7AlgorithProvider` is a private API and it may change
without warning. 3rd parties that rely on this should expect
that their code will break in future releases.
For more info please check the comments at #30252
Nevertheless, it currently is possible to subclass with something like this:
class CustomGrassBasedProvider(Grass7AlgorithmProvider):
# Set descriptionFolder to our own description directory
descriptionFolder = os.path.join(os.path.dirname(__file__), 'description')
# 3rd party plugins don't need an activation/deactivation setting
activateSetting = None
# define the rest of the methods that are needed (e.g. name(), id() etc)
# ...
Fixes #30241
Continues #9202
2019-06-29 09:51:13 +10:00
Panos Mavrogiorgos
03f1ae9576
Stop hardcoding activation setting name in Grass7AlgorithmProvider
2019-06-29 09:51:13 +10:00
Juergen E. Fischer
6bdb259627
translation string fix
2019-06-27 13:58:46 +02:00
Alexander Bruy
53f1acd7bb
[processing] set correct default for r.stream.extract algorithm ( fix #30231 )
2019-06-22 14:39:47 +03:00
Juergen E. Fischer
72af468228
translation string fixes
2019-06-17 09:40:29 +02:00
Alexander Bruy
ab646c4d75
[processing] split r.sun into two algorithms as it has mutually
...
exclusive options (fix #21637 )
2019-05-23 10:13:50 +03:00
Alexander Bruy
88647ff5a6
[processing] use correct parent layer parameter in v.net.distance
...
algorithm (fix #22013 )
2019-05-23 09:45:22 +10:00
Alexander Bruy
bef58ac6a7
[processing] use correct file extension in r.in.lidar.info ( fix #21910 )
2019-05-23 09:44:39 +10:00
Juergen E. Fischer
ac5e945742
translation string fixes
2019-05-20 01:05:56 +02:00
Bas Couwenberg
2628c480c5
Don't include revision in sources.
...
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
epifanio
841b191ea8
[processing] Add r.geomorphon grass command and module in grass core plugin ( #9625 )
...
* Create r.geomorphon.qgm
* Add files via upload
* Update default.qgc
* Create r.geomorphon.txt
Adding the description file to add the `r.geomorphon` command into `QGIS.Processing.GRASS`
* Update grass7_algorithms_raster_tests.yaml
Adding test for `r.geomorphon`
* fixing wrong spelling
thanks trevis
* Update grass7_algorithms_raster_tests.yaml
adding corrected unit test
* Create r.geomorphon.qgm
* Add files via upload
* Update default.qgc
* Create r.geomorphon.txt
Adding the description file to add the `r.geomorphon` command into `QGIS.Processing.GRASS`
* Update grass7_algorithms_raster_tests.yaml
Adding test for `r.geomorphon`
* fixing wrong spelling
thanks trevis
* Delete CTestCostData.txt
* Delete CTestCostData.txt
* Delete CTestCostData.txt
* Delete CTestCostData.txt
2019-04-27 10:37:43 +02:00
Matthias Kuhn
f26ca3649f
Merge pull request #9649 from NaturalGIS/fix_grass7_v_voronoi_again
...
Fix grass7 v.voronoi again
2019-04-27 10:37:11 +02:00