View source: R/shapes_helpers.R
| prepare_shape_points | R Documentation |
Select and sort the shape points
prepare_shape_points(gtfs, shape_id = NULL)
gtfs |
A GTFS object. |
shape_id |
The |
A new data.table with the shape_id, shape_pt_lat,
shape_pt_lon and shape_pt_sequence of the selected points, sorted by
shape_id and shape_pt_sequence. Points with missing coordinates are
kept; points with a missing shape_id are kept when every shape is
selected (the callers never request a missing shape_id).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.