Aggregate Points (Cartography)

License Level:BasicStandardAdvanced

Summary

Creates polygon features around clusters of proximate point features.

Usage

Syntax

AggregatePoints_cartography (in_features, out_feature_class, aggregation_distance)
ParameterExplanationData Type
in_features

The input point features that will be assessed for proximity and clustering.

Feature Layer
out_feature_class

The feature class created to hold the polygons that represent the point clusters.

Feature Class
aggregation_distance

The distance between points that will be clustered.

Linear unit

Code Sample

AggregatePoints tool Example (Python Window)

The following Python Window script demonstrates how to use the AggregatePoints tool in immediate mode.

import arcpy
from arcpy import env
env.workspace = "C:/data"
arcpy.AggregatePoints_cartography("C:/data/cartography.gdb/crime/robberies",
                                  "C:/data/cartography.gdb/crime/clustered_robberies", "100 meters")
AggregatePoints tool Example (stand-alone Python script)

This stand-alone script shows an example of using the AggregatePoints tool.

# Name: AggregatePoints_standalone_script.py
# Description: Creates polygon features around clusters of proximate point features.
# Author: ESRI

# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
in_point_features = "C:/data/cartography.gdb/crime/robberies"
out_feature_class = "C:/data/cartography.gdb/crime/clustered_robberies"
aggregation_distance = "100 meters"

# Execute Aggregate Points
arcpy.AggregatePoints_cartography(in_point_features, out_feature_class, aggregation_distance)

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: No
ArcGIS for Desktop Advanced: Yes
3/3/2014