The simplest way to reproject a bunch of tiff files into a new
projection is to use gdalwarp in a loop. Something like,
for i in `ls *.tif | awk 'BEGIN {FS="."} ; {print $1} '`; do
gdalwarp s_srs epsg:26910 t_srs epsg:2766 $i.tif $i_spcs-
CaliforniaZone1.tif
done
You'll have to play with the syntax as I don't use it very often but
this example should transform all the tiff files in the local
directory from epsg:26910 (NAD83 UTM10) to epsg:2766 (SPCS NAD83
California zone 1).
Cheers,
Mike
On 3-Jul-07, at 3:11 PM, [EMAIL PROTECTED] wrote:
If I have about 800 raster files in tiff format that are in the
wrong projection. Is there a way to change their coordinate
systems all at once. After examining r.region it seems to only
want to change one raster at a time. Will I have to build a
command in unix, in order to change these rasters projections?
Thanks
Aaron
_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser
_______________________________________________
grassuser mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grassuser