[GRASSLIST:9864] Re: import binary file with a header
Glynn Clements
glynn at gclements.plus.com
Tue Jan 17 01:31:02 EST 2006
Anja Drews wrote:
> I would like to import an image file which has a header. It is an
> ordinary binary file with 2 bytes per pixel, with an extension of
> 950x1536 rows and columns, and an image header of 256. r.in.bin seems
> not to account for any header information and r.in.gdal does not support
> this format. How can I get this images in GRASS?
Remove the header with dd, e.g.:
dd if=infile of=outfile bs=256 skip=1
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list