r.proj - new script for re-projecting raster-maps

kang at risca.rs.msu.edu kang at risca.rs.msu.edu
Tue Jan 9 07:00:00 EST 1996



Simon,
I just finished a shell script which will do similar thing but using a
different approach.  The script will
(1) create a user specified grid coordinates in site file format, 
(2) runs the s.to.vect to be a vector point file,
(3) automatically shift to the target location/mapset and run v.proj,
(4) automatically shift back to the source location/mapset and create all the
files necessary to run i.rectify or i.rectify2, that is, POINTS, REF, and
TARGET under the group/name directory.

Then, I can easily modify the REF file to include more files and run i.rectify.

The script is very simple but don not check any possible errors.  I have used
this to project several files from LCC to TMERC and the results match pretty
well with my vector file.  If you are interested, I can send you the script.

Kang,
Michigan State University





More information about the grass-user mailing list