public-transport/gtfs-via-postgres

add helper table mapping extended to basic route_types

Open

#75 opened on Jan 22, 2026

View on GitHub
 (0 comments) (1 reaction) (0 assignees)JavaScript (21 forks)github user discovery
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (141 stars)
PR merge metrics
 (PR metrics pending)

Description

Working with extended route_type values (both in the Google scheme as well as in the TPEG-PTI scheme) is cumbersome.

For example, most ferries are specified as 4 ("Ferry. Used for short- and long-distance boat service."), while some are specified as 1000 ("Water Transport Service").

gtfs-via-postgres (and gtfs-via-duckdb) should provide a mapping table that maps them to basic route_type values, and maybe also add basic_route_type to arrivals_departures/connections.

Contributor guide