Re: [GRASS-user] How to use g.extension in GRASS7.8

2023-01-09 Thread Stefan Blumentrath
Hei Bernardo, The problem is likely that the layout of the addon repo changed after 7.8.5, thus the path is not constructed correctly by g.extension in that version. A workaround could be to fetch the add on repo with git (git clone https://github.com/osgeo/grass-addons) And then point

Re: [GRASS-user] Probabilistic neighborhood analysis

2023-01-09 Thread Maris Nartiss
Hello Bernardo, although a solution with r.mapcalc random could be made to work, I'd say creating a new dedicated module is the way to go. Just an idea – create neighbour count raster (how many cells with centre class are in a sliding window), in second pass unroll classes based on their count and

Re: [GRASS-user] How to use g.extension in GRASS7.8

2023-01-09 Thread Markus Neteler
Hi, On Mon, Jan 9, 2023 at 11:50 AM Bernardo Santos via grass-user wrote: > > Hi, > > I am trying to install the extension r.area using the g.extension tool in > GRASS 7.8. > However, I get the error that it was not found in the Github repo (because > the repo changed). > Here the error: > > >

Re: [GRASS-user] How to use g.extension in GRASS7.8

2023-01-09 Thread Veronica Andreo
Which GRASS 7.8 you have and which operating system? Any chances you can update to GRASS 8.2? El lun, 9 ene 2023 a las 10:58, Bernardo Santos via grass-user (< grass-user@lists.osgeo.org>) escribió: > Hi Markus, > > That was my first try, and then I get the error below: > > > g.extension

Re: [GRASS-user] How to use g.extension in GRASS7.8

2023-01-09 Thread Bernardo Santos via grass-user
Hi Markus, That was my first try, and then I get the error below: > g.extension extension=r.areaFetching from GRASS GIS Addons > repository (be patient)...svn: E17: URL > 'https://github.com/OSGeo/grass-addons/trunk/grass7/raster/r.area' doesn't > existERROR: GRASS Addons not found B

Re: [GRASS-user] How to use g.extension in GRASS7.8

2023-01-09 Thread Markus Neteler
Hi Bernardo, On Mon, Jan 9, 2023 at 2:58 PM Bernardo Santos wrote: > > Hi Markus, > > That was my first try, and then I get the error below: > > > g.extension extension=r.area > Fetching from GRASS GIS Addons repository (be patient)... > svn: E17: URL >

[GRASS-user] How to use g.extension in GRASS7.8

2023-01-09 Thread Bernardo Santos via grass-user
Hi, I am trying to install the extension r.area using the g.extension tool in GRASS 7.8.However, I get the error that it was not found in the Github repo (because the repo changed).Here the error: > g.extension extension=r.areaFetching from GRASS GIS Addons > repository (be patient)...svn:

Re: [GRASS-user] Probabilistic neighborhood analysis

2023-01-09 Thread Bernardo Santos via grass-user
Hi Ken, The fuzzy logic tools seem interesting! But I am new to the concept so I did not really think about how could I set functions/rules that increase with the frequency of a land cover class...Do you know any example in this context? I thought that people working with satellite imagery

Re: [GRASS-user] Probabilistic neighborhood analysis

2023-01-09 Thread Bernardo Santos via grass-user
Hi Vero, Thanks for the suggestion.I tried it, but it only gives different weights to the values within the neighborhood according to a distance decay function. However, the values are still determined "deterministically". What I could do is to use the function terra::focal() in R, since within

[GRASS-user] Mini project 2023: Week 5: Improving Single-Window GUI user experience

2023-01-09 Thread Linda Kladivová
Hello guys, I am sending my fifth report regarding the GRASS mini-project which is also available here: [1]. 1) What did I complete this week? The PR ​(https://github.com/OSGeo/grass/pull/2682)[2] implementing the Export history button in the Console pane was merged. The first part

Re: [GRASS-user] How to use g.extension in GRASS7.8

2023-01-09 Thread Bernardo Santos via grass-user
Hi Markus and Vero, Thanks. Indeed, my GRASS version is old:GRASS 7.8.5Ubuntu 18.04.6 LTS I unfortunately do not have a way to upgrade it myself since this is a company server shared with other people (and we have been fighting with IT to change to GRASS 8).But maybe it is easier to at lease