getPourPoint: Move station to pourpoint

Description Usage Arguments Value

Description

changes the location of a station (point) to that of its pourpoint using the 'station_number' column as a shared ID.

Usage

1
getPourPoint(point, pourpoint)

Arguments

point

a SpatialPointsDataFrame representing one station. Must have a column named 'station_number'

pourpoint

a SpatialPointsDataFrame of pourpoints. Must have a column named 'station_number'

Value

A SpatialPointsDataFrame with data identical to the original point, and the new geometry corresponding to the pour point. If no matching pour point is found, the original station point is returned


ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.