[GRASS-SVN] r68436 - grass/trunk/scripts/r.import

svn_grass at osgeo.org svn_grass at osgeo.org
Mon May 16 01:25:15 PDT 2016

Author: neteler
Date: 2016-05-16 01:25:14 -0700 (Mon, 16 May 2016)
New Revision: 68436

r.import manual: SRTM V3 example added

Modified: grass/trunk/scripts/r.import/r.import.html
--- grass/trunk/scripts/r.import/r.import.html	2016-05-15 21:45:42 UTC (rev 68435)
+++ grass/trunk/scripts/r.import/r.import.html	2016-05-16 08:25:14 UTC (rev 68436)
@@ -57,8 +57,35 @@
 the <b>-n</b> flag. For further explanations of <b>-n</b> flag, please refer
 the to <a href="r.proj.html">r.proj</a> manual.
+<h3>Import of SRTM V3 global data at 1 arc-seconds resolution</h3>
+The SRTM V3 1 arc-second global data (~30 meters resolution) are available
+from EarthExplorer (<a href="http://earthexplorer.usgs.gov/">http://earthexplorer.usgs.gov/</a>).
+The SRTM collections are located under the "Digital Elevation" category.
+Example for North Carolina sample dataset (the tile name is "n35_w079_1arc_v3.tif"):
+<div class="code"><pre>
+# set computational region to e.g. 10m elevation model:
+g.region raster=elevation -p
+# Import with reprojection on the fly. Recommended parameters:
+# resample   Resampling method to use for reprojection - bilinear
+# extent     Output raster map extent - region: extent of current region
+# resolution Resolution of output raster map
+#  - region: current region resolution - limit to g.region setting from above
+r.import input=n35_w079_1arc_v3.tif output=srtmv3_resamp10m resample=bilinear \
+  extent=region resolution=region title="SRTM V3 resampled to 10m resolution"
+# beautify colors:
+r.colors srtmv3_resamp10m color=elevation
+<h3>Import of WorldClim data</h3>
 Import of a subset from <a href="">Bioclim data set</a>, to be reprojected
 to current location projection (North Carolina sample dataset). While normally
 the full raster map is imported, we spatially subset using the <em>extent</em>

More information about the grass-commit mailing list