shift_coord: Shift coordinates to nearest within a set of provided...

View source: R/utils.R

shift_coordR Documentation

Shift coordinates to nearest within a set of provided locations

Description

Shift coordinates to nearest within a set of provided locations

Usage

shift_coord(org_coords, valid_coords)

Arguments

org_coords

A two column dataframe containing the X and Y coordinates to be shifted. Must be [X,Y] order.

valid_coords

A two column dataframe containing the X,Y coordinates used to reference.

Value

A two column dataframe (or matrix) with the updated X,Y coordinates.


PATH-Global-Health/catchment documentation built on Feb. 16, 2025, 12:39 a.m.