shapes_df_as_sfg | R Documentation |
return an sf multilinestring with lat and long from gtfs for a route
shapes_df_as_sfg(df)
df |
the shapes_df dataframe from a gtfsr object |
a multilinestring simple feature geometry (sfg) for the routes
shapes_sfg <- shapes_df_as_sfg(gtfs_obj$shapes_df) plot(shapes_sfg[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.