Skip to contents

Get a list of points that define the shape of the route on a map.

Usage

get_route_shape(shape_id)

Arguments

shape_id

(required) id of the shape

Value

A data.frame containing the route information with columns:

  • shape_dist_traveled total distance traveled to this point

  • shape_pt_lat latitude of point

  • shape_pt_lon longitude of point

  • stop_id the stop id associeated with the shape point.

  • shape_pt_sequence sequence of point in GTFS feed