In generating output from r.reclass, I wish to transfer the product as a
binary image to IDRISI. I can do it by creating an ASCII file using
r.out.ascii, but this then has to be rewritten as a string for importing
into IDRISI. GRASS will generate a binary image file when using
i.rectify which is directly transferable to IDRISI. However, in the
raster operations this does not happen. How can I create a binary image
in the raster operations ? Can anyone help ?
Thanks
Tony Palmer
--
Dr A.R. (Tony) Palmer | Roodeplaat Grassland |Tel: Intl-27-461-22638
Principal Agricultural| Institute |Fax: Intl-27-461-22398
Researcher | PO Box 101 |e-mail:plad@hippo.ru.ac.za
| 6140 Grahamstown |
| South Africa |
If you would like to import raster files from grass into idrisi, the raster
maps will have to meet the following conditions:
1 Values wiil have to be in the range from 0 to 255 (1 byte / cell)
(you can accomplish this by rescaling (r.rescale)
2 r.rescale does not actually produce a new raster image. You can create one
running r.resample on the rescaled map
3 The files must be in uncompressed format (run r.compress -u)
The cell directory of your current mapset will contain a binary file, which
can be used as an image file in idrisi
Ronald Wiemer
Archis
The Netherlands