Description Usage Arguments Value
This function loads and joins gtfs route.txt, trip.txt, and shape.txt files identifies route colors (if present) and returns an sf object of linestring features for each shape. Each output record contains both a shape_id and route_id for easy filtering.
1 | gtfs2RouteLines(routesDf_GTFS, tripsDf_GTFS, shapesDf_GTFS)
|
routesDf_GTFS |
routes.txt gtfs data.table file |
tripsDf_GTFS |
trips.txt gtfs data.table file |
shapesDf_GTFS |
shapes.txt gtfs data.table file |
A sf object of route geometry linestrings
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.