Stops are converted to POINT sf data frames. Shapes are converted to a
LINESTRING data frame. Note that this function replaces stops and shapes
tables in gtfs_obj
.
Arguments
- gtfs_obj
gtfs feed (tidygtfs object, created by
read_gtfs()
)- skip_shapes
if TRUE, shapes are not converted. Default FALSE.
- crs
optional coordinate reference system (used by
sf::st_transform()
) to transform lon/lat coordinates of stops and shapes- quiet
boolean whether to print status messages