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.
Syntax
arcpy.defense.FindHighestLowestPoint(in_surface, out_feature_class, high_low_operation_type, {in_feature})
Parameter | Explanation | Data Type |
in_surface | The input elevation raster surface. | Raster 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.
| String |
in_feature (Optional) | The input polygon feature class within which the highest or lowest point will be found. | Feature Set |
Code sample
The following Python window script demonstrates how to use the FindHighestLowestPoint function.
import arcpy
arcpy.env.workspace = r"C:/Data.gdb"
arcpy.FindHighestLowestPoint_defense("n36.dt2","FindHighestPoint",
"HIGHEST", "AOI")
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.SelectLayerByAttribute_management(airports,
"NEW_SELECTION",
whereClause)
# Inputs
input_surface = "n36.dt2"
# Find highest point in the Charlotte airport area
arcpy.FindHighestLowestPoint_defense(input_surface,
"FindHighestPoint",
"HIGHEST",
clt_layer)
Environments
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes