nearestPointOnLine: Nearest point on Line

View source: R/geometrical_functions_sf.R

nearestPointOnLineR Documentation

Nearest point on Line

Description

Find the nearest projected point on a LineString (from maptools)

Usage

nearestPointOnLine(coordsLine, coordsPoint)

Arguments

coordsLine

The coordinates of the line (matrix)

coordsPoint

The coordinates of the point

Value

A numeric vector with the coordinates of the projected point

Examples

#This is an internal function, no example provided

JeremyGelb/spNetwork documentation built on May 24, 2024, 7:23 p.m.