pointsWithin: Are points within a distance of a shape?

Description Usage Arguments Value

Description

Are points within a distance of a shape?

Usage

1
pointsWithin(lon, lat, shape_id., srid, dist = 30, shape_geo)

Arguments

lon

longitude WGS84 longlat

lat

latitude WGS84 longlat

shape_id.

GTFS shape identifier

srid

local projection

dist

distance in units of local projects

shape_geo

data.table with shape_id and sfc_LINESTRING geom columns

Value

logical same length as lon, indicating if points defined by lon, lat are within dist of shape defined by shape_id.


metrotransit/speedrt documentation built on June 13, 2019, 5:09 p.m.