CUTR-at-USF / gtfs-osm-sync

Synchronizes public transportation data in GTFS format with OpenStreetMap.org
Other
91 stars 18 forks source link

Use Commons CSV #54

Closed reubot closed 4 years ago

reubot commented 4 years ago

This is the first of a set of changes I have been working on.

This patch removes the internal CSV parsing and replaces it with Apache Commons CSV. As a result, GTFSReadin has been simplified, and commas are now retained in CSV fields.

The route string is now created by joining a sorted TreeSet instead of looping.

This also adds a method to determine the transport modes present at the stop by examining it's related routes.

barbeau commented 4 years ago

@reubot Thanks for working on this! A few comments in-line.

barbeau commented 4 years ago

Thanks @reubot!