How To: Create a hillshade or slope using data in Geographic coordinates
When performing a hillshade or slope function in ArcGIS, the Z units are presumed to be the same as the horizontal (x,y) units. When working with data in geographic coordinates, this is a problem because the linear distance of a degree of latitude varies.
In some cases, a value of 0.000003 was suggested as the Z factor to account for the actual Z unit in meters. While that value can still be used, this article presents a more accurate method of determining the Z factor when the Z units are in meters.
The following procedure assumes the Z units of the raster being used to generate the hillshade or slope are meters. If the Z units of the data being used are feet, first use the raster calculator to multiply the raster by the conversion factor 0.3048, so that the z units are meters.
- Determine what the middle latitude of the area of interest is.
- Convert that degree value to radians.
1 degree = 0.0174532925 radians
- Use the value in radians in the following equation:
Z factor = 1.0 / (113200 * cos(<input latitude in radians>))
- Use this calculated Z factor in the hillshade or slope tool.
Last Published: 5/5/2016
Article ID: 000007956
Software: ArcGIS-ArcEditor 9.3.1, 9.3, 9.2, 9.1, 9.0, 8.3, 8.2, 8.1.2, 8.1, 10 ArcGIS-ArcInfo 9.3.1, 9.3, 9.2, 9.1, 9.0, 8.3, 8.2, 8.1.2, 8.1, 8.0.2, 8.0.1 ArcGIS-ArcView 9.3.1, 9.3, 9.2, 9.1, 9.0, 8.3, 8.2, 8.1.2, 8.1 ArcView GIS 3.3, 3.2a, 3.2, 3.1, 3.0b, 3.0a, 3.0