Hi,
I have been trying to use GRASS without opening it explicitly
following the instructions from here:
http://grasswiki.osgeo.org/wiki/Working_with_GRASS_without_starting_it_explicitly#Python:_GRASS_GIS_6
Since I am on Windows, I had to adapt it a bit (and I tried many,
many variatio
He Pedro
Please try to specific your GISDBASE location as the code showing below;
import os
import sys
gisbase = os.environ['GISBASE'] = "C:/Program Files/QGIS
Valmiera/apps/grass/grass-6.4.3"
sys.path.append(os.path.join(os.environ['GISBASE'], "etc", "python"))
gisdbase = os.path.join(os.getenv
Hi Sittichai,
The location of the database is J:\MY_PROJECT\GRASS
Is that what you wanted to know?
Thanks,
Pedro
On Fri, Mar 6, 2015 at 5:51 PM, sittichai choosumrong <
sittichai@gmail.com> wrote:
> He Pedro
>
> Please try to specific your GISDBASE location as the code showing below
On 03/07/2015 08:31 AM, Pedro Camargo
wrote:
Hi Sittichai,
The location of the database is J:\MY_PROJECT\GRASS
Is that what you wanted to know?
So you need to
Hi Predo
> On BE2558/03/07, at 15:39, Micha Silver wrote:
>
>
>
>> On 03/07/2015 08:31 AM, Pedro Camargo wrote:
>> Hi Sittichai,
>>
>> The location of the database is J:\MY_PROJECT\GRASS
>>
>> Is that what you wanted to know?
>
> So you need to set the GISDBASE variable to the above
Hi Sittichai and Micha,
I just came back from a conference, thus back to this issue.
I tried many configurations for the code, including the following
gisdbase = os.path.join(os.getenv('APPDATA', 'grassdata'))
and
gisdbase = os.path.join('J:/MY_PROJECT/GRASS/')
and
gisdbase='J:\MY_PROJECT
On 03/15/2015 07:26 AM, Pedro Camargo
wrote:
Hi Sittichai and Micha,
I just came back from a conference, thus back to this issue.