[GRASS-dev] using slope/aspect functions inside our module

Markus Neteler neteler at itc.it
Wed Jul 4 03:35:43 EDT 2007


Yann wrote on 07/03/2007 08:29 AM:
> Hello,
>
> In a given chain processing module (DN->high-level product) in development, 
> there is a need of calculating slope and aspect, i would like to use the 
> existing code as a library or something to the similar effect.
>
> Anyone could explain if it is possible and how it could be possible?
>   
A fancy solution would be to wrap r.slope.aspect in SWIG. See
swig/perl/R_slope_aspect/
But a good solution would not make a local copy of the code.
FYI: I have just updated the PERL part of the SWIG interface to
the current 6.3 state.

Markus

------------------
ITC -> dall'1 marzo 2007 Fondazione Bruno Kessler
ITC -> since 1 March 2007 Fondazione Bruno Kessler
------------------




More information about the grass-dev mailing list