public-transport/gtfs-via-postgres

add helper table mapping extended to basic route_types

Open

#75 aperta il 22 gen 2026

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)JavaScript (21 fork)github user discovery
enhancementgood first issuehelp wanted

Metriche repository

Star
 (141 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor