powered by
return an sf multilinestring with lat and long from gtfs for a route
shapes_df_as_sfg(df)
the shapes_df dataframe from a gtfsr object
a multilinestring simple feature geometry (sfg) for the routes
# NOT RUN { data(gtfs_obj) shapes_sfg <- shapes_df_as_sfg(gtfs_obj$shapes_df) plot(shapes_sfg[[1]]) # }
Run the code above in your browser using DataLab