scripting to make geo tiffs
Anthony G Burns
anthony.burns at ga.nrcs.usda.gov
Fri Apr 23 10:04:15 EDT 1999
R Joe Brandon
I modified a script developed by Jill Schuler to create a true geotif file.
The libtiff and libgeotiffs libraries must be available as the script is
using these libraries to create the geotif by placing geo coordinates tags
in the tiff file. The script works on grass files in the UTM projection,
but could easily be modified to work in other projections (portions of the
tags are hard coded in the script). You can loop throught a list of file
names to create the geotiffs. The syntacs would be rast.to.geo <input
raster file name > <output geotif file name> The scripts appends a tif
extension to the output name.
The scripts requires a good bit of disk space as it creates a uncompressed
tiff as an intermediate step and they can be quite large.
If you think this can help you, let me know.
Anthony Burns
GIS Specialist
NRCS
anthony.burns at ga.nrcs.usda.gov
At 02:20 PM 4/22/99 -0500, you wrote:
>
>A friend has about 1500 GRASS files that he needs to make geo tiffs of.
>Does anyone know of a good way to do this in GRASS? Currently he is
>trying to use PCI to convert them, but its scripting language is very poorly
>set up.
>
>R. Joe Brandon
>---------------------------------------------------------------------
>Center for Advanced Spatial Technologies (fax) 501 575-5218
>Rm. 12 Ozark Hall 501 575-4277
>University of Arkansas rjoe at cast.uark.edu
>Fayetteville, AR 72701
>Updated! -> http://www.cast.uark.edu/~rjoe
>
>Computers are actually powered by Chaos theory, not electricity...that
>is just for the fan. (T. Hesser)
>---------------------------------------------------------------------
>
Anthony G Burns
USDA-NRCS
GIS Specialist
Gainesville, Georgia
anthony.burns at ga.nrcs.usda.gov
770-536-6981
More information about the grass-user
mailing list