[GRASSLIST:4808] Re: r.in.tiff: problems

Markus Neteler neteler at itc.it
Fri Nov 12 07:31:19 EST 2004


On Thu, Nov 11, 2004 at 06:05:00PM -0600, William K wrote:
> Seems a bit messy, going thru tiff, then fixing INT16 problems.  I 
> prefer to go direct from the SRTM file.
> 
> I've been using my own clunky method for generating the hdr file, but 
> Markus' would work if you just remove the gdal_translate step in 
> srtm_generate_hdr.sh.  Then just use r.in.gdal.  It correctly takes 
> care of the BIL cell center -> GRASS cell corner translation (you get a 
> raster who's bounds are 1.5 seconds outside the degree square).  You 
> could simplify it all by merging the generate hdr into r.in.srtm.

... yes, and then it should go into 5.7 ...
Please send the merged script if you find the time.

Markus




More information about the grass-user mailing list