Hot answers tagged

5

QGIS core developer Nyal Dawson explained a best-practice approach in this e-mail thread. Overview Subclass QGIS' class Grass7AlgorithmProvider Set the value of descriptionFolder to the path of the add-on in question Override the methods for logo, descriptions, name etc. An example of it, implemented by Panagiotis Mavrogiorgos is https://gitlab.com/...


5

The automatic registration actually happens for all add-ons installed from the official Addons repository. You can find in the Modules in the Layer Manager. The Addons show as a toolbox (group) on the same level as Raster or Vector: If you use g.extension on Linux (and other unix-like systems) with your local code or code which is let's say on GitHub, ...


4

The module r.geomorphon has been written for GRASS 7 (as I can see from the used functions) while the OSGeo Live DVD offers GRASS 6. Two options: install GRASS 7 (that may even work on the OSGeo Live DVD, then the module modify the code to use the GRASS 6 functions, see here Concerning Windows: if you convince the author to upload the code to the GRASS ...


3

The module v.delaunay3d is actually an addon. You need to install it with g.extension, either in the graphical user interface (see below) or from commmand line with g.extension v.delaunay3d. Edit: Since you are on Windows, you are affected by the compilation error on the server which provides the Windows GRASS GIS Addon binaries: http://wingrass.fsv.cvut....


3

So, I stumbled upon this thread and I managed to install grass-dev with sudo aptitude install grass-dev. Not really sure what the aptitude command does but it worked! I had to go through multiple options as to which solution I wanted to apply for the missing dependencies, and I chose one that installed libgdal-dev and libpq-dev. Libpq5 and other packages ...


3

I have probably found the error and updated the command in the GRASS GIS Addons repository. Within 24 hours (i.e. tomorrow), the updated module will be online available: g.extension r.viewshed.cva


3

Please enter "r.basin" (without the quotes) in the Command Console tab to see if it is there. In GRASS GIS 7 the addons should be automatically registered in the menu (maybe not the case in GRASS 6). According to http://grass.osgeo.org/download/addons/ the binaries for r.basin are correctly generated and available.


2

Version 7.0.2 is an older one. The current release is 7.0.4: https://grass.osgeo.org/news/56/15/GRASS-GIS-7-0-4-released/ If you are speaking about MS Windows, the older addons are still online but you would need to copy the files manually: https://wingrass.fsv.cvut.cz/grass70/x86/addons/ Installation trough g.extension is no longer supported for this ...


2

What is your OS, Windows, Linux, Mac OS X ? It is important because the addon needs to be compiled From g.extension On MS Windows systems, where compilation tools not readily available, g.extension downloads a compiled executable from the GRASS GIS project server. On all other operating systems where it is not difficult to install compilation tools, g....


2

Please consider to ask the authors and invite them to enhance the manual page. They will know best how to deal with the preparation of the input data.


2

I found the answer to this query. Say, we are going to calculate LST for Landsat8 scene (LC81470372015290LGN00_B2), The Basename we are going to use for prefix in above mentioned command is: LC81470372015290LGN00_B (Exclude the band number rest will be your Basename)


2

It's working already. I was able to install it successfully without change anything. So I guess they solve the problem!


2

That's a great idea for a inspection tool. Unfortunately, MapInfo Pro doesn't have such a tool right now. It could quite easily be created with MapBasic if you have any knowledge in that area. Let the user draw a polygon Loop thru all the layers and find the objects intersecting the drawn polygon In a dialog show the layers that did intersect, and the when ...


1

Generally speaking GRASS 7.6 Windows Addons are still not operational (in the term of daily builds), last build dates back to Sep 2019. Consider switching to GRASS 7.8 or wait for 7.6.2. Now back to your question, I tested r.stream.distance on my Windows 10 machine and it worked (I was able to install r.stream.distance in GRASS 7.6.1 and open GUI dialog). ...


1

Thanks! It turns out that my DEM was too large for the memory allocation that the tool defaults are set to. Changing it from 500 to 300000 worked.


1

The r.viewshed.cva addon script does not set the computational region. (Instead it allows the user to set any sub-region of the DEM. The module prints the message "Note that the routine is constrained to points in the current geographic region" to indicate this). My first guess it that the region settings do not cover the DEM at all, so you are getting the "...


1

The server was indeed apparently experiencing technical difficulties. I was finally able to install GRASS addons today using g.extension, something that I'd been trying to do for several days.


1

As mentioned in comments above by @markusN, the problem was due to Network maintenance. Best John


1

Due to adding new group of temporal addons, this was broken, fix is available in the upcoming GRASS version 7.0.5. In the meantime, you can still install extensions using g.extension module, either from command line, or through g.extension dialog.


1

The addon was broken and should be fixed now. For running it on Windows please wait for tomorrow to install the updated version. For these cases you might consider asking on grass-users mailing list where you usually get faster response.


1

Have you set the region Before running viewshed? Maybe its trying to perform viewshed where you have no dem data? You can set region in menu Settings-Region-Set region. You can also use a command line. To set to your DEM raster use command g.region rast=elevation.dem, replace elevation.dem with raster name


1

since I'm from the debian/ubuntu universe it is called differently at centos/rhel... have a look at http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS#How_to_enable_the_ELGIS6_repository at centos it is called grass-devel-* (see http://elgis.argeo.org/repos/6/elgis/x86_64/) remark: 6.4 is the old stable branch. I recommend 7.0 -> much more fun.


1

The algorithm you want is not in the latest QGIS processing toolbox either. It seems that it contains only core GRASS functions, but no add-ons. Compare http://svn.osgeo.org/grass/grass/trunk/raster/ with http://svn.osgeo.org/grass/grass-addons/grass6/raster/ GRASS can be run independent from QGIS, and you can add those extensions there following: http://...


1

Answered here: http://lists.osgeo.org/pipermail/grass-dev/2014-September/070622.html http://lists.osgeo.org/pipermail/grass-dev/2014-September/070624.html Essentially, for GUI customization, see http://trac.osgeo.org/grass/wiki/wxGUIDevelopment/Toolboxes


1

It sounds like Python is not installed or *.py files are not assocaited with the interpreter. Just so you learn something new and possible fix it yourself next time: If you go and open up the Python script file in question r.basin.py located for you in C:/Program Files (x86)/GRASS GIS 6.4.3RC3/scripts/ And then find lines in question at the most recent ...


Only top voted, non community-wiki answers of a minimum length are eligible