conveyal / gtfs-lib

A library for loading and saving GTFS feeds of arbitrary size with disk-backed storage
BSD 2-Clause "Simplified" License
71 stars 38 forks source link

Remove rounding to 2 decimals in stop_times.shape_dist_traveled #340

Closed philip-cline closed 2 years ago

philip-cline commented 2 years ago

Fixes #339

Checklist

Description

This PR removes the rounding to two decimal places which causes issue #339 and subsequent validation issues.

philip-cline commented 2 years ago

Miles and I adapted an existing unit test to add a test for stop_times shape_dist_traveled rounding. Lmk what you think @binh-dam-ibigroup

binh-dam-ibigroup commented 2 years ago

Miles and I adapted an existing unit test to add a test for stop_times shape_dist_traveled rounding. Lmk what you think @binh-dam-ibigroup

Glad you were able to piggyback on an existing test!