Description Usage Arguments Value
Are points within a distance of a shape?
1 | pointsWithin(lon, lat, shape_id., srid, dist = 30, shape_geo)
|
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 |
logical same length as lon, indicating if points defined by lon, lat are within dist of shape defined by shape_id.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.