ah-docs

Snap Point

Description

Snap input point features to closest cell in the input Snap Stream Grid raster using the specified snapping distance.

Usage

Parameters

Direction Type Parameter Name Data Type Dialog Reference
Input Required Input Batch Point Feature Class GPFeatureRecordSetLayer Input Point features to snap. This feature class must contain the following attributes:
  • HydroID: Unique identifier of the input point. Used to populate the HydroID field in the output SnapPoint feature class. If not present, the ObjectID field will be used instead.
  • SnapOn (Optional): 0/1. Indicates whether the tool should try to snap the point feature.
  • Input Required Input Snap Stream Raster GPRasterLayer Input raster used to snap the points.
    Input Required Snapping Distance in Linear Units or Field Field
    Output Required Output Snap Point Feature Class GPFeatureLayer Output Snap Point features populated with the following attributes:
  • HydroID: Unique identifier of the feature.
  • FeatureID: HydroID ( or ObjectID) of associated input point.
  • SnapOn: 0/1. Indicates whether the tool tried to snap the point. Populated with 1 if SnapOn field does not exist in input Batch Point feature class or is populated with 1.
  • Snapped: 0/1. Indicates whether the point was snapped.
  • SnapDist: Distance by which the point was moved in linear units. Populated with -1 if the input point could not be snapped.