[GRASSLIST:248] Re: Grass interface to other languages

David Finlayson dfinlays at u.washington.edu
Thu May 29 13:59:00 EDT 2003


I don't know specifically about Perl, but in Python it is easy to call 
Grass functions and capture the result with os.system().  The only hitch 
is that you need to execute the program from within a Grass shell.

David

Ganesh Kuppuswamy wrote:

>I need to use some of the grass functions(v.distance) from the another
>program which is written in perl. Are there any perl modules already
>created for
>this. If not I will try create this, and will need some direction from
>grass developers regarding the API into the grass library and which lib
>to use.
>
>Thanks
>--
>Ganesh Kuppuswamy
>
>  
>




More information about the grass-user mailing list