Raster Aspect

Open Table of Contents ToolBox Implementation
Calculates the aspect (the direction in which slope faces) of each cell of the input raster in degrees. The result added to ArcMap is categorized in 9 groups.
  • N - North ( 0 to 22.5 and 337.5 to 360)
  • NE - North East (22,5 to 67.5)
  • E - East (67.5 to 112.5)
  • SE - South East (112.5 to 157.5)
  • S - South (67.5 to 112.5)
  • SW - South West (202.5 to 247.5)
  • W - West (247.5 to 292.5)
  • NW - North West (292.5 to 337.5)
  • U - Undefined - Slope = 0

Read more about Aspect and its importance here.

Inputs:

  • Input raster dataset
  • Output raster name and format

Output:

  • A floating point raster.

Example:

Source Elevation raster

Result Aspect raster

Notes:

  • Initially the name of the output raster defines the raster format
    • no extension specified - ESRI binary GRID
    • .img extension (for example raster1.img) - ERDAS IMAGINE image.
    • .tif extension (for example raster1.tif - Tagged Image File Format (TIFF) image.
  • The initial output raster format can be changed by selecting the desired output in the dialog.
  • Currently only file based rasters are supported. Rasters cannot be stored in a GeoDatabase. After you get the desired result, you can export the raster to a GeoDatabase using the standard ArcGIS tools.
  • The input raster must be in a projected coordinate system.

ToolBox implementation

Command line syntax

ETS_GPRasterAspect <Input Raster>  <Out Raster>

Parameters

Expression Explanation
<Input Raster> A Raster dataset or Raster layer
<Out Raster> A String - the full name of the output raster (A raster with the same full name should not exist). The output raster type depends on the extension of the output file(see Notes above)

Scripting syntax

ETS_GPRasterAspect (Input Raster,  Out Raster)

All ESRI products mentioned are trademarks of Environmental Systems Research Institute, Inc.
Copyright: Ianko Tchoukanski