[GRASS-dev] Re: need gdal in path
Michael Barton
michael.barton at asu.edu
Mon Mar 26 12:02:03 EDT 2007
There are scripts, like r.in.aster, that require gdal. And the GUI uses
gdal_translate.
Perhaps the best thing would be to add a grass environmental variable
GRASS_GDALPATH. This could be set by platform at runtime with init.sh along
with other variables like GRASS_PROJSHARE. This is another one.
I can set these in my .profile. But it is something that the binary needs to
do at runtime for most folks if possible.
Michael
On 3/26/07 8:57 AM, "William Kyngesburye" <kyngchaos at kyngchaos.com> wrote:
> Ah, actually, I used to have this in the grass.sh startup. But I
> figured that since 6.3 now defaults to the library-based r.out.gdal,
> that is unnecessary, and adds more build configuration.
>
> If you want the GDAL framework tools accessible in GRASS (and any
> other Terminal), add the framework Programs folder to your shell PATH
> in your .bash_profile.
>
> On Mar 26, 2007, at 10:45 AM, Michael Barton wrote:
>
>> William,
>>
>> Now that gdal is a framework, it is no longer automatically in the
>> path when you start GRASS. Is there somewhere in the app build that
>> sets paths where gdal¹s framework path could be added?
>>
> -----
> William Kyngesburye <kyngchaos at kyngchaos.com>
> http://www.kyngchaos.com/
>
> "I ache, therefore I am. Or in my case - I am, therefore I ache."
>
> - Marvin
>
>
__________________________________________
Michael Barton, Professor of Anthropology
School of Human Evolution & Social Change
Center for Social Dynamics & Complexity
Arizona State University
phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton
More information about the grass-dev
mailing list