[GRASS-dev] Re: need gdal in path

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@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@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

On Mar 26, 2007, at 11:02 AM, Michael Barton wrote:

There are scripts, like r.in.aster, that require gdal.

I knew subconciously that there was an r.in.aster, I just didn't connect it with GDAL.

And the GUI uses
gdal_translate.

Oh.

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.

I'll add it back into the startup.

PS. re-cc'd to grass-dev - I think this is what you intended by using the old grass5 address.

-----
William Kyngesburye <kyngchaos@kyngchaos.com>
http://www.kyngchaos.com/

First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?
Second Pogril: I don't know. Why IS life like sticking your head in a bucket filled with hyena offal?
First Pogril: I don't know either. Wretched, isn't it?

-HitchHiker's Guide to the Galaxy