[GRASS-dev] Inclusion of additional files with add-on

Moritz Lennert mlennert at club.worldonline.be
Sat Aug 12 08:00:50 PDT 2017


On 12/08/17 16:45, Steven Pawley wrote:
> Hello,
> 
> I'm getting around to completing my TODO list for the add-on 
> r.terrain.texture, which includes generating the additional terrain 
> metrics (terrain surface concavity and convexity), and calculating the 
> nested 8,12 or 16 class terrain classification as per Iwahashi and Pike 
> (2007). Everything is working but the script uses r.mfilter, which I 
> supply a matrix filter to, stored as a text file.
> 
> Is there a makefile command that can be used to bundle a text file with 
> the add on, which can then be found using set_path?

Can't you include the filter as a string directly in the code ?

Moritz


More information about the grass-dev mailing list