ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Ayuda
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plataforma de representación cartográfica para tu organización

ArcGIS Desktop

Un completo SIG profesional

ArcGIS Enterprise

SIG en tu empresa

ArcGIS Developers

Herramientas para crear aplicaciones basadas en la ubicación

ArcGIS Solutions

Plantillas de aplicaciones y mapas gratuitas para tu sector

ArcGIS Marketplace

Obtén aplicaciones y datos para tu organización.

  • Documentación
  • Soporte
Esri
  • Iniciar sesión
user
  • Mi perfil
  • Cerrar sesión

ArcMap

  • Inicio
  • Introducción
  • Cartografiar
  • Analizar
  • Administrar datos
  • Herramientas
  • Extensiones

Create Spot Heights

  • Resumen
  • Uso
  • Sintaxis
  • Muestra de código
  • Entornos
  • Información de licenciamiento

Resumen

ArcGIS Defense Mapping cartographic production tool that creates elevation point features based on contour tops and depressions. Elevation points are created in each top and depression. Point height values populate based on a digital elevation model.

Uso

  • This tool creates multiple points in areas within tops or depressions that have elevations of the same value. For example, if the tool finds two identical elevation values in different locations within the same top, it generates a point at each location.

  • Tops refer to an elevation completely surrounded by lower elevation contour lines.

    Depressions refer to an elevation completely surrounded by higher elevation contour lines.

  • Tops and depressions must be polylines that start and end at the same vertex. The tool will not create spot heights over contour lines that do not start and end at the same vertex.

Sintaxis

arcpy.defense.CreateSpotHeights(in_contour_features, contour_height_field, in_point_features, {subtype}, spot_height_field, in_raster, {in_aoi})
ParámetroExplicaciónTipo de datos
in_contour_features

Contours from which spot heights are computed.

Feature Layer
contour_height_field

Field in input contours that contains elevation values. Field type must be numeric.

Field
in_point_features

Existing points feature layer in which spot heights are created.

Feature Layer
subtype
(Opcional)

Subtype from Spot Heights Layer in which spot height features are created.

String
spot_height_field

Field in the Spot Heights layer to which elevation values are written.

Field
in_raster
[in_raster,...]

Rasters used to derive highest or lowest elevations within contour tops or depressions.

Raster Layer
in_aoi
(Opcional)

The extent where spot heights will be created. The AOI is the outer extent of all selected polygons in the feature layer. If none are selected, it is the extent of the raster. This parameter does not accept point layers as valid input.

Feature Layer

Muestra de código

CreateSpotHeights example (Python window)

The following code sample demonstrates how to execute the CreateSpotHeights tool.

# set gp environment
arcpy.env.workspace="c:/data"
arcpy.env.addOutputsToMap = True

# variables for the CreateSpotHeights tool
# Contour.gdb is located in c:/data
contourFeatures="Contour.gdb/MGCP/ContourL50K"
contourHeightField="ZVH"
# defense.gdb is located in c:/data
points="defense.gdb/Features/ElevP"
subtype="SpotElevationPoint"
spotHeightField="zv2"
# raster N35.DT2 is located in c:/data/W121
raster="W121/N35.DT2"

# execute the CreateSpotHeights tool
arcpy.CreateSpotHeights_defense(contourFeatures, contourHeightField, points, subtype, spotHeightField, raster)

Entornos

  • Espacio de trabajo actual

Información de licenciamiento

  • Basic: No
  • Standard: Requiere Defense Mapping
  • Advanced: Requiere Defense Mapping

Temas relacionados

  • An overview of the Spot Heights toolset

ArcGIS Desktop

  • Inicio
  • Documentación
  • Soporte

ArcGIS

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

Acerca de Esri

  • Quiénes somos
  • Empleo
  • Blog de Esri
  • Conferencia de usuarios
  • Cumbre de desarrolladores
Esri
Díganos su opinión.
Copyright © 2021 Esri. | Privacidad | Legal