SnapPour

Snaps selected pour points to the cell of highest flow accumulation within a specified neighborhood.


Usage tips

Map Algebra

Syntax

See Snap Pour Point

Map Algebra syntax

SnapPour(<source_grid | point_file>, <acc_grid>, {snap_distance})

Parameter Explanation
<source_grid | point_file> The source of pour points to be snapped.
  • source_grid — A raster of cells to be used as pour points. All cells that are not NoData will be considered pour points and will be snapped
  • point_file — An ASCII text file of x,y pairs specifying the location of cells to be snapped.
<acc_grid> A raster of accumulated flow created with the FlowAccumulation function.
{snap_distance} The maximum distance in map units to search for a cell of higher accumulated flow. The default snap distance is zero, the same as if SnapPour was not used.

Map Algebra example

snappour(sourcegrid, accumgrid)			
snappour(sourcegrid, accumgrid, 20)

ArcObjects syntax

See SnapPourPoint


See Also

  • Snap Pour Point
  • StreamShape
  • An overview of the Hydrology tools