[GRASS-user] Cannot save map display as anything but ppm image

When I try to save my map display as any kind of image (tiff, bmp, jpeg), it displays an error “couldn’t execute gdal_translate: no such file or directory” and saves it as a ppm image. I do have gdal_translate, it is located in /usr/local/grasslib/bin/.

  1. Is this not the usual place for gdal_translate?
  2. If it is, why can Grass not find it? Is there some sort of environment variable that needs to be set?

Thanks,
Romy

Romy Schneider
Visualization Specialist
Texas Advanced Computing Center
The University of Texas at Austin
[http://www.tacc.utexas.edu](http://www.tacc.utexas.edu)

What happens when you type gdal_translate from the GRASS command prompt?

If you get the same error, you may need to make sure that /usr/local/grasslib/bin/ is in your PATH variable.

Michael


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


From: Romy Schneider romy@tacc.utexas.edu
Date: Tue, 12 Sep 2006 12:50:43 -0500
To: grassuser@grass.itc.it
Subject: [GRASS-user] Cannot save map display as anything but ppm image

When I try to save my map display as any kind of image (tiff, bmp, jpeg), it displays an error “couldn’t execute gdal_translate: no such file or directory” and saves it as a ppm image. I do have gdal_translate, it is located in /usr/local/grasslib/bin/.

  1. Is this not the usual place for gdal_translate?
  2. If it is, why can Grass not find it? Is there some sort of environment variable that needs to be set?

Thanks,
Romy

Romy Schneider
Visualization Specialist
Texas Advanced Computing Center
The University of Texas at Austin
[http://www.tacc.utexas.edu](http://www.tacc.utexas.edu)

Yeah, it says command not found. I added the path to my PATH variable, and that fixed it. Thanks.

On Sep 12, 2006, at 3:08 PM, Michael Barton wrote:

What happens when you type gdal_translate from the GRASS command prompt?

If you get the same error, you may need to make sure that /usr/local/grasslib/bin/ is in your PATH variable.

Michael


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


From: Romy Schneider <romy@tacc.utexas.edu>
Date: Tue, 12 Sep 2006 12:50:43 -0500
To: <grassuser@grass.itc.it>
Subject: [GRASS-user] Cannot save map display as anything but ppm image

When I try to save my map display as any kind of image (tiff, bmp, jpeg), it displays an error “couldn’t execute gdal_translate: no such file or directory” and saves it as a ppm image. I do have gdal_translate, it is located in /usr/local/grasslib/bin/.

  1. Is this not the usual place for gdal_translate?
  2. If it is, why can Grass not find it? Is there some sort of environment variable that needs to be set?

Thanks,
Romy

Romy Schneider
Visualization Specialist
Texas Advanced Computing Center
The University of Texas at Austin
[http://www.tacc.utexas.edu](http://www.tacc.utexas.edu)