public-transport / gtfs-via-postgres

Process GTFS Static/Schedule by importing it into a PostgreSQL database.
https://github.com/derhuerst/gtfs-via-postgres#gtfs-via-postgres
Other
93 stars 18 forks source link

Change shape_dist_traveled parsing #53

Closed smohiudd closed 10 months ago

smohiudd commented 1 year ago

In the stop_times tables, shape_dist_traveled has the REAL data type but is parsed as an int using parseInt. This PR parses shape_dist_travelled using parseFloat.

derhuerst commented 12 months ago

Thanks for bringing this up!

derhuerst commented 10 months ago

I have amended & merged your changes in https://github.com/public-transport/gtfs-via-postgres/commit/112e38bfb57a71be06db8a1d60f545b6c9fd1ffe. Thanks!

Do you want to be mentioned in package.json as a contributor. If you do, with which notation? smohiudd <saadiq@developmentseed.org>?

derhuerst commented 7 months ago

Published a while ago in gtfs-via-postgres@4.9.0. 🎉

smohiudd commented 7 months ago

Thank you! @derhuerst apologies I missed you ask about the contribution.