Hello All,
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) ?
thanks a lot,
Massimo.
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 <glynn@gclements.plus.com>