Raster map to ARC/INFO
Anantha Prasad
prasad at landcover.inhs.uiuc.edu
Tue Sep 21 17:00:34 EDT 1993
The best way is to use
r.out.ascii grassmap > grassmap.asc
You then have to edit grassmap.asc to change the header of the ascii file
to the format
required by Arc/Info's "asciigrid" command to convert to Arc/Info GRID.
This is easily done...
ASCIIGRID <in_ascii_file> <out_grid> {INT | FLOAT}
For eg., the header should be:
ncols 480
nrows 450
xllcorner 378923
YLLCORNER 4072345
cellsize 30
43 2 45 7 3 56 2 5 23 65 34 6 32 54 57 34 2 2 54 6
35 45 65 34 2 6 78 4 2 6 89 3 2 7 45 23 5 8 4 1 62 ...etc etc
All this info can be got by the header in grassmap.asc and g.region
Hope this helps...
Anantha Prasad
More information about the grass-user
mailing list