We're doing it from Java in my lab. So it should be possible from Python. I can 
ask the RA who is doing the Java programming about it if you're interested.

Michael
____________________
C. Michael Barton
Director, Center for Social Dynamics & Complexity 
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:          480-965-7671 (SHESC),  480-727-0709 (CSDC)
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu











On Oct 16, 2010, at 9:00 AM, <[email protected]> wrote:

> Message: 6
> Date: Fri, 15 Oct 2010 23:07:31 +0100
> From: Glynn Clements <[email protected]>
> Subject: Re: [GRASS-dev] running grass from python
> To: Massimo Di Stefano <[email protected]>
> Cc: GRASS developers grass-developers <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> Massimo Di Stefano wrote:
> 
>> i'm intersted to know if it is possible to use the grass functionalities 
>> directly from python
>> without the needs to run a grass session from bash.
>> 
>> i think the first thisk i have to do is to set my PYTHONPATH to where i have 
>> grass-python libs
>> then i have to set the grass environment vars (gisenv?)
>> 
>> have you any hints on how to do it (if possible) ?
> 
> http://grass.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly
> 
> The most important environment variables are GISBASE, GISRC, PATH and
> LD_LIBRARY_PATH (or equivalent).
> 
> --
> Glynn Clements <[email protected]>

_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to