ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Surface Spot

  • 描述
  • 插图
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

Calculates surface values for each point of a point feature class by interpolating from a raster, TIN, or terrain dataset surface.

Calculated values are added to the input feature class attributes.

旧版本:

This is a deprecated tool that has been superseded by the Add Surface Information tool.

插图

Surface Spot illustration

使用方法

  • Ensure the input surface and the input feature class have overlapping extents.

  • Use the Z Factor parameter to convert the output field to the desired units.

语法

arcpy.ddd.SurfaceSpot(in_surface, in_feature_class, {out_spot_field}, {z_factor}, {method}, {pyramid_level_resolution})
参数说明数据类型
in_surface

The input raster, TIN, or Terrain dataset surface to be used for interpolation.

Terrain Layer; TIN Layer; Raster Layer
in_feature_class

The input point feature class to which the interpolated values will be added.

Feature Layer
out_spot_field
(可选)

The name of the attribute field to be added to the input feature class. By default, the field name will be Spot.

String
z_factor
(可选)

The factor multiplied by the surface values to convert them to new values added to the input feature class. Used to convert z units to match x,y units.

Double
method
(可选)

Algorithm used to calculate surface values.

String
pyramid_level_resolution
(可选)

The resolution of the terrain dataset pyramid level to use for geoprocessing. The default is 0, full resolution.

Double

派生输出

名称说明数据类型
output_feature_class

Feature Layer

代码示例

Surface Spot example 1 (Python window)

The following Python Window script demonstrates how to use the Surface Spotfunction in immediate mode.

import arcgisscripting
gp = arcgisscripting.create()

gp.CheckOutExtension("3D")
gp.workspace = "C:/data"
gp.SurfaceSpot_3d("elevation_tin", "points.shp", "SPOT", 3.28)

环境

  • 当前工作空间
  • 临时工作空间
  • 范围

许可信息

  • Basic: 需要 3D Analyst
  • Standard: 需要 3D Analyst
  • Advanced: 需要 3D Analyst

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明