Surface Parameters (Spatial Analyst)

Available with Spatial Analyst license.

Available with 3D Analyst license.

Summary

Determines parameters of a raster surface such as aspect, slope and curvatures.

Learn more about how Surface Parameters works

Usage

  • The output parameters are calculated on a cell-by-cell basis by fitting a local surface around a target cell. The available surface parameter options for the Parameter type parameter (parameter_type in Python) are Slope, Aspect, Mean curvature, Tangential (normal contour) curvature, Profile (normal slope line) curvature, Plan (projected contour) curvature, Contour geodesic torsion, Gaussian curvature, and Casorati curvature.

  • All output parameters are calculated using geodesic coordinates and equations.

  • When the Slope (SLOPE in Python) option is specified for Parameter type, the output represents the rate of change of elevation for each digital elevation model (DEM) cell. It is the first derivative of a DEM. The range of values from the slope output depends on the type of measurement units.

  • When the Aspect (ASPECT in Python) option is specified for Parameter type, the output identifies the compass direction that the downhill slope faces for each location. It is expressed in positive degrees from 0 to 360, measured clockwise from north.

  • Curvature is used to describe the shape of a surface. When applied to earth science, it is used to help understand the impacts of gravity, erosion, and other factors upon the surface and is used in conjunction with other surface parameters to identify and classify landforms.

    • Mean curvature (MEAN_CURVATURE in Python) —The overall curvature of the surface. It is computed as the average of the minimum and maximum curvature. When this is specified for Parameter type, the output is equivalent to the mean of profile (normal slope line) and tangential (normal contour) curvatures. Its sign, positive or negative, is not a definitive indicator except at extreme values. High positive values indicate areas of maximum denudation, and high negative values indicate areas of maximum accumulation (Minár et al., 2020).
    • Profile (normal slope line) curvature (PROFILE_CURVATURE in Python)—The geometric normal curvature along the slope line. Positive values indicate areas of acceleration of surface flow and erosion. Negative profile curvature indicates areas of slowing surface flow and deposition. A positive profile (normal slope line) curvature indicates that the surface is convex at that cell in the direction of the slope. A negative curvature indicates that the surface is concave at that cell in that same direction. A value of 0 indicates that the surface is flat.
    • Tangential (normal contour) curvature (TANGENTIAL_CURVATURE in Python)—The geometric normal curvature perpendicular to the slope line, tangent to the contour line. Positive values indicate areas of diverging surface flow. Negative tangential curvatures indicates areas of converging surface flow. A positive tangential (normal contour) curvature indicates that the surface is convex at that cell perpendicular to the direction of the slope. A negative curvature indicates that the surface is concave at that cell in the direction perpendicular to the slope. A value of 0 indicates that the surface is flat.
    • Plan (projected contour) curvature (CONTOUR_CURVATURE in Python)—The curvature along contour lines.
    • Contour geodesic torsion (CONTOUR_GEODESIC_TORSION in Python)—The rate of change in slope angle along contour lines.
    • Gaussian curvature (GAUSSIAN_CURVATURE in Python)—The general curvature of a surface. It is computed as the product of the minimum and maximum curvature and can take negative and positive values. Positive values indicate that the surface is convex at that cell, while negative values indicate that it is concave. A value of 0 indicates that the surface is flat.
    • Casorati curvature (CASORATI_CURVATURE in Python)—The general curvature of the surface. It can be zero or always positive. High positive values indicate areas of sharp bending in multiple directions.

    The units of all curvature type outputs will be the reciprocal (the square of the reciprocal for Gaussian curvature) of the x,y-units of the Output Coordinate System.

  • The Quadratic (QUADRATIC in Python) option of the Local surface type (local_surface_type in Python) parameter does not fit the neighborhood cells exactly. This is the default and recommended option for most data and applications.

    • The quadratic surface minimizes the effect of noisy surface data such as a high resolution lidar surface, which is especially important when computing curvature.
    • Use the quadratic surface when specifying a neighborhood size that is larger than the cell size and when using the adaptive neighborhood option.
  • The Biquadratic (BIQUADRATIC in Python) option of the Local surface type parameter fits the data from the neighborhood cells exactly.

    • This option is suitable for a highly accurate input surface.
    • If the neighborhood distance is larger than the input raster cell size, the accuracy advantages of the biquadratic surface type will be lost. Leave the neighborhood distance as the default (equal to the cell size).
  • The Neighborhood distance (neighborhood_distance in Python) parameter determines the neighborhood size and calculates the surface parameter over this distance from the target cell center.

    • It cannot be less than the input raster cell size.
    • A smaller neighborhood distance captures more local variability in the landscape, characteristics of smaller landscape features. With high resolution elevation data, larger distances may be more appropriate.
  • If the Use adaptive neighborhood parameter is checked (use_adaptive_neighborhood is set to ADAPTIVE_NEIGHBORHOOD in Python), the neighborhood distance will change with variability in the terrain. The neighborhood distance will shrink if there is too much variability in the calculation window.

  • Specifying the surface Z unit (z-unit in Python) parameter value is important to ensure the proper computation of the slope output.

    If a z-unit is available in the vertical coordinate system of the input raster, it will be applied automatically. It is recommended that you define a z-unit for the input raster if it is missing. You can use the Define Projection tool to specify a z-unit. If it is undefined, meter will be used by default.

  • The range of values in the slope output depends on the Output slope measurement (output_slope_measurement in Python) option units:

    • Degrees (DEGREE in Python)—The range of slope values is 0 to 90.
    • Percent rise (PERCENT_RISE in Python)—The range is 0 to essentially infinity. A flat surface is 0 percent, a 45 degree surface is 100 percent, and as the surface becomes more vertical, the percent rise becomes increasingly larger.
  • If the Project geodesic azimuths parameter is checked (project_geodesic_azimuths is set to PROJECT_GEODESIC_AZIMUTHS in Python), the following are true:

    • North is always represented by 360 degrees.
    • Azimuths will be projected to correct the distortion caused by a nonconformal Output Coordinate System. These angles can be used to accurately locate points along the steepest downhill slope.

    Check the Project geodesic azimuths parameter if you're using the Surface Parameters output as a back direction input for the Input back direction or flow direction raster (in_back_direction_raster in Python) parameter for a tool in the Distance toolset.

  • If the Use equatorial aspect parameter is checked (project_geodesic_azimuths is set to USE_EQUATORIAL_ASPECT in Python), aspect will be measured from a point along the equator to correct for the skewing of direction that occurs when approaching the poles. This parameter ensures that the north-south and east-west axes are perpendicular to each other.

    Check the Use equatorial aspect parameter if the terrain is near to the north or south pole.

  • See Analysis environments and Spatial Analyst for additional details on the geoprocessing environments that apply to this tool.

  • References:

    • James D.E., M.D. Tomer, S.A. Porter. (2014). Trans-scalar landform segmentation from high-resolution digital elevation models. Poster presented at: ESRI Annual Users Conference; July 2014; San Diego, California.
    • Minár, J., Evans, I. S., & Jenčo, M. (2020). A comprehensive system of definitions of land surface (topographic) curvatures, with implications for their application in geoscience modelling and prediction. Earth-Science Reviews, 103414. https://doi.org/10.1016/j.earscirev.2020.103414

Parameters

LabelExplanationData Type
Input surface raster

The input surface raster.

Raster Layer
Parameter type
(Optional)

Specifies the output surface parameter type that will be computed.

  • SlopeThe rate of change in elevation will be computed. This is the default.
  • AspectThe downslope direction of the maximum rate of change for each cell will be computed.
  • Mean curvatureThe overall curvature of the surface will be measured. It is computed as the average of the minimum and maximum curvature. This curvature describes the intrinsic convexity or concavity of the surface, independent of direction or gravity influence.
  • Tangential (normal contour) curvatureThe geometric normal curvature perpendicular to the slope line, tangent to the contour line will be measured. This curvature is typically applied to characterize the convergence or divergence of flow across the surface.
  • Profile (normal slope line) curvatureThe geometric normal curvature along the slope line will be measured. This curvature is typically applied to characterize the acceleration and deceleration of flow down the surface.
  • Plan (projected contour) curvatureThe curvature along contour lines will be measured.
  • Contour geodesic torsionThe rate of change in slope angle along contour lines will be measured.
  • Gaussian curvatureThe overall curvature of the surface will be measured. It is computed as the product of the minimum and maximum curvature.
  • Casorati curvatureThe general curvature of the surface will be measured. It can be zero or any other positive number.
String
Local surface type
(Optional)

Specifies the type of surface function that will be fitted around the target cell.

  • QuadraticA quadratic surface function will be fitted to the neighborhood cells. This is the default.
  • BiquadraticA biquadratic surface function will be fitted to the neighborhood cells.
String
Neighborhood distance
(Optional)

The output will be calculated over this distance from the target cell center. It determines the neighborhood size.

The default value is the input raster cell size, resulting in a 3 by 3 neighborhood.

Linear Unit
Use adaptive neighborhood
(Optional)

Specifies whether neighborhood distance will vary with landscape changes (adaptive). The maximum distance is determined by the neighborhood distance. The minimum distance is the input raster cell size.

  • Unchecked—A single (fixed) neighborhood distance will be used at all locations. This is the default.
  • Checked—An adaptive neighborhood distance will be used at all locations.
Boolean
Z unit
(Optional)

The linear unit of vertical z-values.

It is defined by a vertical coordinate system if it exists. If a vertical coordinate system does not exist, the z-unit should be defined from the unit list to ensure correct geodesic computation. The default is meter.

  • InchThe linear unit will be inches.
  • FootThe linear unit will be feet.
  • YardThe linear unit will be yards.
  • Mile USThe linear unit will be miles.
  • Nautical mileThe linear unit will be nautical miles.
  • MillimeterThe linear unit will be millimeters.
  • CentimeterThe linear unit will be centimeters.
  • MeterThe linear unit will be meters.
  • KilometerThe linear unit will be kilometers.
  • DecimeterThe linear unit will be decimeters.
String
Output slope measurement
(Optional)

The measurement units (degrees or percentages) that will be used for the output slope raster. This parameter is only active when Parameter type is Slope.

  • DegreeThe inclination of slope will be calculated in degrees.
  • Percent riseThe inclination of slope will be calculated as percent rise, also referred to as the percent slope.
String
Project geodesic azimuths
(Optional)

Specifies whether geodesic azimuths will be projected to correct the angle distortion caused by the output spatial reference.

  • Unchecked—Geodesic azimuths will not be projected. This is the default.
  • Checked—Geodesic azimuths will be projected.
Boolean
Use equatorial aspect
(Optional)

Specifies whether aspect will be measured from a point on the equator or from the north pole.

  • Unchecked—Aspect will be measured from the north pole. This is the default.
  • Checked—Aspect will be measured from a point on the equator.
Boolean

Return Value

LabelExplanationData Type
Output raster

The output raster.

Raster

SurfaceParameters(in_raster, {parameter_type}, {local_surface_type}, {neighborhood_distance}, {use_adaptive_neighborhood}, {z_unit}, {output_slope_measurement}, {project_geodesic_azimuths}, {use_equatorial_aspect})
NameExplanationData Type
in_raster

The input surface raster.

Raster Layer
parameter_type
(Optional)

Specifies the output surface parameter type that will be computed.

  • SLOPEThe rate of change in elevation will be computed. This is the default.
  • ASPECTThe downslope direction of the maximum rate of change for each cell will be computed.
  • MEAN_CURVATUREThe overall curvature of the surface will be measured. It is computed as the average of the minimum and maximum curvature. This curvature describes the intrinsic convexity or concavity of the surface, independent of direction or gravity influence.
  • TANGENTIAL_CURVATUREThe geometric normal curvature perpendicular to the slope line, tangent to the contour line will be measured. This curvature is typically applied to characterize the convergence or divergence of flow across the surface.
  • PROFILE_CURVATUREThe geometric normal curvature along the slope line will be measured. This curvature is typically applied to characterize the acceleration and deceleration of flow down the surface.
  • CONTOUR_CURVATUREThe curvature along contour lines will be measured.
  • CONTOUR_GEODESIC_TORSIONThe rate of change in slope angle along contour lines will be measured.
  • GAUSSIAN_CURVATUREThe overall curvature of the surface will be measured. It is computed as the product of the minimum and maximum curvature.
  • CASORATI_CURVATUREThe general curvature of the surface will be measured. It can be zero or any other positive number.
String
local_surface_type
(Optional)

Specifies the type of surface function that will be fitted around the target cell.

  • QUADRATICA quadratic surface function will be fitted to the neighborhood cells. This is the default.
  • BIQUADRATICA biquadratic surface function will be fitted to the neighborhood cells.
String
neighborhood_distance
(Optional)

The output will be calculated over this distance from the target cell center. It determines the neighborhood size.

The default value is the input raster cell size, resulting in a 3 by 3 neighborhood.

Linear Unit
use_adaptive_neighborhood
(Optional)

Specifies whether neighborhood distance will vary with landscape changes (adaptive). The maximum distance is determined by the neighborhood distance. The minimum distance is the input raster cell size.

  • FIXED_NEIGHBORHOODA single (fixed) neighborhood distance will be used at all locations. This is the default.
  • ADAPTIVE_NEIGHBORHOODAn adaptive neighborhood distance will be used at all locations.
Boolean
z_unit
(Optional)

The linear unit of vertical z-values.

It is defined by a vertical coordinate system if it exists. If a vertical coordinate system does not exist, the z-unit should be defined from the unit list to ensure correct geodesic computation. The default is meter.

  • INCHThe linear unit will be inches.
  • FOOTThe linear unit will be feet.
  • YARDThe linear unit will be yards.
  • MILE_USThe linear unit will be miles.
  • NAUTICAL_MILEThe linear unit will be nautical miles.
  • MILLIMETERThe linear unit will be millimeters.
  • CENTIMETERThe linear unit will be centimeters.
  • METERThe linear unit will be meters.
  • KILOMETERThe linear unit will be kilometers.
  • DECIMETERThe linear unit will be decimeters.
String
output_slope_measurement
(Optional)

The measurement units (degrees or percentages) that will be used for the output slope raster. This parameter is only enabled when parameter_type = "SLOPE".

  • DEGREEThe inclination of slope will be calculated in degrees.
  • PERCENT_RISEThe inclination of slope will be calculated as percent rise, also referred to as the percent slope.
String
project_geodesic_azimuths
(Optional)

Specifies whether geodesic azimuths will be projected to correct the angle distortion caused by the output spatial reference.

  • GEODESIC_AZIMUTHSGeodesic azimuths will not be projected. This is the default.
  • PROJECT_GEODESIC_AZIMUTHSGeodesic azimuths will be projected.
Boolean
use_equatorial_aspect
(Optional)

Specifies whether aspect will be measured from a point on the equator or from the north pole.

  • NORTH_POLE_ASPECTAspect will be measured from the north pole. This is the default.
  • EQUATORIAL_ASPECTAspect will be measured from a point on the equator.
Boolean

Return Value

NameExplanationData Type
out_raster

The output raster.

Raster

Code sample

SurfaceParameters example 1 (Python window)

The following sample demonstrates the use of this tool in the Python window.

This example generates a slope raster with output values in percentages using an adaptive neighborhood method. The maximum neighborhood distance is 5 meters.

from arcpy.sa import *
outSurfaceParameters = SurfaceParameters("elevation_1m.tif", "", "", "5 METERS",
                                         "ADAPTIVE_NEIGHBORHOOD", "", "PERCENT_RISE")
outSurfaceParameters.save("C:/sapyexamples/output/outsurfaceparameters01.tif")
SurfaceParameters example 2 (stand-alone script)

The following sample demonstrates the use of this tool in a stand-alone Python script.

This example generates a profile (normal slope line) curvature raster using an adaptive neighborhood method. The maximum neighborhood distance is 10 meters.

# Name: SurfaceParameters_Ex_02.py
# Description: Derive profile (normal slope line) curvature for a 1m resolution
# elevation raster over an adaptive neighborhood distance of maximum 10m. 
# Requirements: Spatial Analyst Extension

# Import system modules
import arcpy
from arcpy.sa import *

# Set environment settings
arcpy.env.workspace = "C:/sapyexamples/data"

# Check out the ArcGIS Spatial Analyst extension license
arcpy.CheckOutExtension("Spatial")

# Set local variables
inRaster = "elevation_1m.tif"
inParameterType = "PROFILE_CURVATURE"
inNeighborhoodDistance = "10 METERS"
inUseAdaptiveNeighborhood = "ADAPTIVE_NEIGHBORHOOD"

# Execute the tool
outSurfaceParameters = SurfaceParameters(inRaster, inParameterType, "",
                                         inNeighborhoodDistance, inUseAdaptiveNeighborhood)

# Save the output 
outSurfaceParameters.save("C:/sapyexamples/output/outsurfaceparameters02.tif")
SurfaceParameters example 3 (stand-alone script)

The following sample demonstrates the use of this tool in a stand-alone Python script.

This example generates an aspect raster using a neighborhood distance of 5 meters. Correct for direction distortions from using a nonconformal projection.

# Name: SurfaceParameters_Ex_03.py
# Description: Derive aspect for an elevation surface over a distance of 5m, correct
# for direction distortion from non-conformal projection system. 
# Requirements: Spatial Analyst Extension

# Import system modules
import arcpy
from arcpy.sa import *

# Set environment settings
arcpy.env.workspace = "C:/sapyexamples/data"

# Check out the ArcGIS Spatial Analyst extension license
arcpy.CheckOutExtension("Spatial")

# Set local variables
inRaster = "elevation_1m.tif"
inParameterType = "ASPECT"
inNeighborhoodDistance = "5 METERS"
inProjectGeodesicAzimuths = "PROJECT_GEODESIC_AZIMUTHS"

# Execute the tool
outSurfaceParameters = SurfaceParameters(inRaster, inParameterType, "",
                                         inNeighborhoodDistance, "", "", "",
                                         inProjectGeodesicAzimuths)

# Save the output 
outSurfaceParameters.save("C:/sapyexamples/output/outsurfaceparameters03.tif")

Licensing information

  • Basic: Requires Spatial Analyst or 3D Analyst
  • Standard: Requires Spatial Analyst or 3D Analyst
  • Advanced: Requires Spatial Analyst or 3D Analyst

Related topics