Skip to contents

Get a list of points that define part of a shape on a map between two stops.

Usage

get_route_shape_between_stops(begin_stop_id, end_stop_id, shape_id)

Arguments

begin_stop_id

(required) id of the beginning stop point

end_stop_id

(required) id of the ending stop point

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