# Curvature

## 语法

`Curvature (raster, curvature_type, {z_factor})`
 参数 说明 数据类型 raster The input raster dataset. Raster curvature_type 曲率类型会着重强调坡度的不同坡向。standard—将结合 profile 和 planform 曲率。planform—垂直于最大坡度的方向。它影响流经某表面的流的汇聚和分散。profile— 与坡面平行，并指示最大坡度的方向。它影响流经某表面的流的加速和减速。(默认值为 standard) String z_factor The z-factor is a scaling factor used to convert the elevation values for two purposes: To convert the elevation units (such as meters or feet) to the horizontal coordinate units of the dataset, which may be feet, meters, or degrees.To add vertical exaggeration for visual effect. If the x,y units and z units are in the same units of measure, the z-factor should be set to 1. The z-values of the input surface are multiplied by the z-factor when calculating the final output surface.(默认值为 1) Double

 数据类型 说明 Raster 输出栅格。

## 代码示例

Curvature 示例 1

``````from arcpy.ia import *
out_curvature_raster = Curvature("curvature_input.tif", "profile", 2)
out_curvature_raster.save("C:/arcpyExamples/outputs/curv_profile.tif")``````
Curvature 示例 2

``````# Import system modules
import arcpy
from arcpy.ia import *

# Set the analysis environments
arcpy.env.workspace = "C:/arcpyExamples/data"

# Set the local variables
in_raster = "curvature_input.tif"

# Execute Curvature function
out_curvature_raster = Curvature(in_raster, "planform", 3)

# Save the output
out_curvature_raster.save("C:/arcpyExamples/outputs/cur_planform.tif")``````