<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Here’s a diff on the .dox for gdaldem, as a suggestion.  (I don’t want commit access on the repository.  Is sending the diff by email the appropriate approach?)<div><br></div><div>Note I’m assuming that the other modules in gdaldem also assume that x and y units are the same.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Index: gdal_utilities.dox</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">===================================================================</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">--- gdal_utilities.dox<span class="Apple-tab-span" style="white-space:pre">  </span>(revision 26875)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+++ gdal_utilities.dox<span class="Apple-tab-span" style="white-space:pre">   </span>(working copy)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">@@ -2038,8 +2038,14 @@</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">                 [-compute_edges] [-b Band (default=1)] [-of format] [-q]</div><p style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> Notes :</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-  Scale is the ratio of vertical units to horizontal</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-   for Feet:Latlong use scale=370400, for Meters:LatLong use scale=111120)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+  gdaldem generally assumes that x, y and z units are identical.  If x (east-west)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+  and y (north-south) units are identical, but z (elevation) units are different, the</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+  scale (-s) option can be used to set the ratio of vertical units to horizontal.  For </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+  LatLong projections near the equator, where units of latitude and units of </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+  longitude are similar, elevation (z) units can be converted to be compatible</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+  by using scale=370400 (if elevation is in feet) or scale=111120 (if elevation is in </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+  meters).  For locations not near the equator, it would be best to reproject your</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">+  grid using gdalwarp before using gdaldem.</div><p style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"> <br class="webkit-block-placeholder"></p><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> \endverbatim</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> \if man</div></div><div><br></div><div><br></div><div><br></div></body></html>