[GRASS-dev] r.in.gdal manual: update link to esri hdr of GLOBE DEM

Chemin, Yann (IWMI) Y.Chemin at cgiar.org
Tue Jun 7 00:29:50 EDT 2011


Source:
---------
http://www.ngdc.noaa.gov/mgg/topo/elev/esri/arcgis/

Code:
-------
#GLOBE DEM import in GRASS GIS
#Using ESRI BIL format with HDR

g.region rows=21600 cols=43200 res=0:00:30 n=89.9999999961111
s=-89.9999999961111 w=-179.999999993056 e=179.999999993056

echo "Run for inside GRASS GIS"

for file in *.bil
do
	r.in.gdal -o input=$file output=$file --overwrite
done

r.patch input=$(g.mlist type=rast pattern=*.bil fs=,) output=dem
--overwrite
r.colors map=dem rules=srtm





More information about the grass-dev mailing list