prt_trim: Trim tracks to start and end outside barrier

View source: R/prt_trim.R

prt_trimR Documentation

Trim tracks to start and end outside barrier

Description

Trim tracks to start and end outside barrier

Usage

prt_trim(trkpts, barrier)

Arguments

trkpts

Simple Feature points ('sf', 'sfc_POINT'/'sfc_MULTIPOINT') that represent track points. Order is accepted as is and the bounding box of trkpts should be within the bounding box of the barrier polygon.

barrier

Simple Feature polygon ('sf', 'sfc_POLYGON'/'sfc_MULTIPOLYGON') representing the barrier feature. Should be the same barrier as supplied to the prt_visgraph() function.


jmlondon/pathroutr documentation built on Sept. 18, 2023, 6:09 p.m.