[GRASS-SVN] r32251 - grass/branches/develbranch_6/scripts/r.shaded.relief

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 24 05:02:39 EDT 2008


Author: neteler
Date: 2008-07-24 05:02:39 -0400 (Thu, 24 Jul 2008)
New Revision: 32251

Modified:
   grass/branches/develbranch_6/scripts/r.shaded.relief/description.html
   grass/branches/develbranch_6/scripts/r.shaded.relief/r.shaded.relief
Log:
units parameter clarified (merge from trunk)

Modified: grass/branches/develbranch_6/scripts/r.shaded.relief/description.html
===================================================================
--- grass/branches/develbranch_6/scripts/r.shaded.relief/description.html	2008-07-24 09:02:27 UTC (rev 32250)
+++ grass/branches/develbranch_6/scripts/r.shaded.relief/description.html	2008-07-24 09:02:39 UTC (rev 32251)
@@ -34,15 +34,14 @@
 <B>scale</B> than vertical scale. If 'scale' is a number then the ewres 
 and nsres are multiplied by that scale to calculate the shading. (Default=1.0 
 for equivalent horizontal and vertical scales.)
-<br>For ETOPO2 data a scale factor of 10000 generates an acceptable
-shading effect.
 
-<LI>For the special case when a latitude-longitude projection is used 
-with an elevation map measured in meters or feet, the <B>units</B> can
-be set to automatically set the horizontal scale to the the number of 
-meters or feet in a degree of latitude. The script scales latitude and 
-longitude equally, so it's only approximately right, but for shading 
+<LI>For the special case when a latitude-longitude projection is used with an
+elevation map measured in meters (e.g., SRTM, ETOPO2 etc.) or feet, the 
+<b>units</b> can be set to automatically set the horizontal scale to the the number of 
+meters (scale=111120) or feet (scale=370400) in a degree of latitude. The script scales
+latitude and longitude equally, so it's only approximately right, but for shading 
 it's close enough. It makes the difference between a usable and unusable shade.
+The <b>units</b> parameter overrides the <b>scale</b> parameter.
 
 <LI>The <b>zmult</b> exaggeration factor that changes the apparent relief
 for the shaded relief map.  This can be any positive (or negative) floating

Modified: grass/branches/develbranch_6/scripts/r.shaded.relief/r.shaded.relief
===================================================================
--- grass/branches/develbranch_6/scripts/r.shaded.relief/r.shaded.relief	2008-07-24 09:02:27 UTC (rev 32250)
+++ grass/branches/develbranch_6/scripts/r.shaded.relief/r.shaded.relief	2008-07-24 09:02:39 UTC (rev 32251)
@@ -97,9 +97,10 @@
 #% option
 #%  key: units
 #%  type: string
-#%  description: Set scaling factor (applies to lat./long. locations only)
+#%  description: Set scaling factor (applies to lat./long. locations only, none: scale=1)
 #%  required : no
-#%  options: meters,feet
+#%  options: none,meters,feet
+#%  answer: none
 #% end
 
 if  [ -z "$GISBASE" ] ; then



More information about the grass-commit mailing list