transitland / gtfs

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

ShapeLine Collection #56

Closed irees closed 7 years ago

irees commented 7 years ago

New class, ShapeLine, to act as a collection of Shape points. Replaces a simple array of lon/lat coords. Provides coordinates and shape_dist_traveled methods.

Note: Source.shape_line now returns ShapeLines instead of coordinate arrays.