planarnetwork / dtd2mysql

MySQL / MariaDB import for DTD feeds (fares, timetable and routeing)
30 stars 10 forks source link

Replacement bus GTFS route_type #57

Closed timhowgego closed 3 years ago

timhowgego commented 3 years ago

Not critical. But, from what I can deduce, replacement bus services are being given route_type 6 when converted to GTFS. The spec says 6 is for suspended cable cars, while 3 is for buses. The extended spec has a specific code for Rail Replacement Bus Service, 714, which is technically preferable here and makes it easier to filter regular from temporary bus routes within the rail data, but support for these extensions is not universal.

linusnorton commented 3 years ago

Seems like a conscious choice on my part:

      case RouteType.Gondola: return "Replacement bus";

I think I might use 714 instead

linusnorton commented 3 years ago

I've published 6.4.0 to fix this issue