transitland / gtfs

Ruby library for dealing with GTFS. Used by Transitland's FeedEater import pipeline.
8 stars 6 forks source link

option to include shape_dist_traveled with shape line #55

Closed doublestranded closed 7 years ago

doublestranded commented 7 years ago

For the "shape_line" and "load_shapes" methods, adding keyword boolean arg "include_shape_dist_traveled" with default value false. If true, shape lines will be a nested array of shape point coord array and shape_dist_traveled float.