Convert Shape Geometries to a GTFS Shapes Table
Value
A tibble containing `shape_id`, WGS84 point coordinates, `shape_pt_sequence`, and cumulative `shape_dist_traveled` in meters.
Details
Distances are geodesic approximations between consecutive coordinates. GTFS permits any consistent distance unit; this function uses meters.
Examples
shapes_sf <- get_shapes_sf(for_rail_gtfs)$shapes
shapes_df <- get_shapes_df(shapes_sf)