[GRASS-user] 1)Color rules problem loading srtm.hgt 2)Merge two raster

WolfgangZ wollez at gmx.net
Sat Jul 14 08:59:00 EDT 2007


nikguitar schrieb:
>> If you are using data from SRTM30_PLUS, you shouldn't use r.in.srtm,
>> but r.in.bin
>> try:
>>
>> r.in.bin -s -b input=/home/guano/Desktop/w060s10.Bathmetry.srtm
>> output=teste bytes=2 north=-10 south=-60 east=-20 west=-60 rows=6000
>> cols=4800 --overwrite
>>
>> remember to set bytes=2, turn byte swap (-b) and signed data (-s)
> 
> It works! Now I'm asking me why I have to set coordinates if the SRTM is a
> georeferenced format?
> Anyway thank you a lot.
> 

the only information is hidden in the filename. The r.in.srtm skript 
uses that information to import the data correctly. r.in.bin reads only 
binary matrixes.




More information about the grass-user mailing list