Find Highest Or Lowest Point (Defense)

Available with Spatial Analyst license.

Summary

Finds the highest or lowest point of the input surface within a defined area.

Usage

  • The output may contain more than one highest or lowest point if points with identical values are found.

  • The output contains a field named Elevation with the elevation value of the highest or lowest point. The units of the highest or lowest elevation point are the z-units (elevation) of the input surface. Check the input surface metadata for this unit.

Parameters

LabelExplanationData Type
Input Surface

The input elevation raster surface.

Raster Layer; Mosaic Dataset; Mosaic Layer
Output Feature Class

The feature class containing the output highest or lowest point.

Feature Class
Highest or Lowest Point

Specifies the type of operation the tool will perform.

  • Highest pointsThe highest points will be found. This is the default.
  • Lowest pointsThe lowest points will be found.
String
Input Area
(Optional)

The input polygon feature class within which the highest or lowest point will be found.

Feature Set

arcpy.defense.FindHighestLowestPoint(in_surface, out_feature_class, high_low_operation_type, {in_feature})
NameExplanationData Type
in_surface

The input elevation raster surface.

Raster Layer; Mosaic Dataset; Mosaic Layer
out_feature_class

The feature class containing the output highest or lowest point.

Feature Class
high_low_operation_type

Specifies the type of operation the tool will perform.

  • HIGHESTThe highest points will be found. This is the default.
  • LOWESTThe lowest points will be found.
String
in_feature
(Optional)

The input polygon feature class within which the highest or lowest point will be found.

Feature Set

Code sample

FindHighestLowestPoint example 1 (Python window)

The following Python window script demonstrates how to use the FindHighestLowestPoint function.

import arcpy
arcpy.env.workspace = r"C:/Data.gdb"
arcpy.defense.FindHighestLowestPoint("n36.dt2","FindHighestPoint",
                                     "HIGHEST", "AOI")
FindHighestLowestPoint example 2 (stand-alone script)

The following example uses the FindHighestLowestPoint function in a sample workflow.

# Description: Find highest point at an airport - can be a possible obstruction.

# Import system modules
import arcpy

# Set environment settings
arcpy.env.workspace = r"C:/Data.gdb"
arcpy.env.overwriteOutput = True

# Select Charlotte airport area from airports layer
airports = "Airports"
whereClause = "airport_code = 'CLT'"
clt_layer = arcpy.management.SelectLayerByAttribute(airports,
                                                    "NEW_SELECTION",
                                                    whereClause)
# Inputs
input_surface = "n36.dt2"

# Find highest point in the Charlotte airport area
arcpy.defense.FindHighestLowestPoint(input_surface,
                                     "FindHighestPoint",
                                     "HIGHEST",
                                     clt_layer)

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics