ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Hilfe
  • Sign Out
ArcGIS Desktop

ArcGIS Online

Die Mapping-Plattform für Ihre Organisation

ArcGIS Desktop

Ein vollständiges professionelles GIS

ArcGIS Enterprise

GIS in Ihrem Unternehmen

ArcGIS Developers

Werkzeuge zum Erstellen standortbezogener Apps

ArcGIS Solutions

Kostenlose Karten- und App-Vorlagen für Ihre Branche

ArcGIS Marketplace

Rufen Sie Apps und Daten für Ihre Organisation ab.

  • Dokumentation
  • Support
Esri
  • Anmelden
user
  • Eigenes Profil
  • Abmelden

ArcMap

  • Startseite
  • Erste Schritte
  • Karte
  • Analysieren
  • Verwalten von Daten
  • Werkzeuge
  • Erweiterungen

Create Low And High Spots

  • Zusammenfassung
  • Verwendung
  • Syntax
  • Codebeispiel
  • Umgebungen
  • Lizenzinformationen

Zusammenfassung

ArcGIS Defense Mapping cartographic production tool that finds the high and low spot heights for each feature in an input area of interest. Spot heights are appended to a Defense Mapping feature class.

Verwendung

  • The Input Area of Interest must have an NRN field. The NRN field uniquely identifies an area of interest within the Input Area of Interest features.

  • NoData cells in Input Rasters will not be used in the calculation on high and low spots.

  • Spot heights are written to the ZVH field in Input Spot Height Features.

  • This tool uses tools from the Spatial Analyst extension.

Syntax

arcpy.defense.CreateLowAndHighSpots(Input_Area_of_Interest, Input_Rasters, Input_Spot_Height_Features, {Spot_Height_Subtype})
ParameterErklärungDatentyp
Input_Area_of_Interest

A feature layer that describes the processing extent. This tool computes high and low spot heights for each feature in the feature layer. You can select features in this feature layer to limit the processing area.

Feature Layer
Input_Rasters
[Input_Rasters,...]

These rasters are used to determine high and low values within an area of interest. If you specify more than one raster, all input rasters must have the same bit depth and number of bands.

Raster Layer
Input_Spot_Height_Features

An existing Defense Mapping point feature layer to which the tool appends spot heights.

Feature Layer
Spot_Height_Subtype
(optional)

An existing subtype in Input Spot Height Features. The tool adds spot heights to this subtype.

String

Codebeispiel

CreateLowAndHighSpots example (Python window)

The following code example demonstrates how to execute the CreateLowAndHighSpots function.

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

# local variables
areaOfInterest = "C:/Program Files (x86)/ArcGIS/EsriDefenseMapping/Desktop10.1/ReferenceData/MapIndex.mdb/MapIndex/TLM100_Index"
areaOfInterestLyr="TLM100IDX"
whereclause="NRN='V695X1856'"

# raster N35.DT2 is located in c:/data/W121
raster="W121/N36.DT2"
rasterLyr="n36"
spotHeightFeatures="defense.gdb/Features/ElevP"
spotHeightFeaturesLyr="ElevPLyr"
heightSubtype="SpotElevationPoint"

# make a feature layer from area of interest and spot heights
arcpy.MakeFeatureLayer_management(spotHeightFeatures,spotHeightFeaturesLyr)
arcpy.MakeRasterLayer_management(raster,rasterLyr)
arcpy.MakeFeatureLayer_management(areaOfInterest,areaOfInterestLyr)
arcpy.SelectLayerByAttribute_management(areaOfInterestLyr,"NEW_SELECTION",whereclause)

# execute the CreateLowAndHighSpots_defense tool
arcpy.CreateLowAndHighSpots_defense(areaOfInterestLyr,raster,spotHeightFeaturesLyr,heightSubtype)

Umgebungen

  • Aktueller Workspace

Lizenzinformationen

  • Basic: Nein
  • Standard: Erfordert Defense Mapping and Spatial Analyst
  • Advanced: Erfordert Defense Mapping and Spatial Analyst

Verwandte Themen

  • An overview of the Spot Heights toolset

ArcGIS Desktop

  • Startseite
  • Dokumentation
  • Support

ArcGIS

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

Über Esri

  • Über uns
  • Karriere
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Wir sind an Ihrer Meinung interessiert.
Copyright © 2021 Esri. | Datenschutz | Rechtliches