You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: Google Directions API as Public Transit Backend
Problem
The current public transit feature relies solely on Transitous, which has very limited GTFS coverage in many regions — including Japan, China, and most of Asia. Searching for routes between major subway stations (e.g., Nakanoshima → Temmabashi in Osaka) returns "No routes found" because the stops simply don't exist in Transitous's database.
Proposed Solution
Add an optional Google Maps Directions API (mode=transit) backend for public transit routing. TREK already supports Google Places API, Maps JavaScript API, and Geocoding API via the user's own API key in Admin → Settings → API Keys — the same key can be reused.
How It Would Work
Admin → Settings → Transit Provider: [Transitous] or [Google Transit]
If Google Transit is selected and a valid API key is configured, transit searches use the Directions API
Fall back to Transitous if no Google key is set
Why This Matters
Google has comprehensive transit data for 80+ countries, far exceeding Transitous coverage
Users already have Google API keys configured in TREK (no additional setup)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Feature Request: Google Directions API as Public Transit Backend
Problem
The current public transit feature relies solely on Transitous, which has very limited GTFS coverage in many regions — including Japan, China, and most of Asia. Searching for routes between major subway stations (e.g., Nakanoshima → Temmabashi in Osaka) returns "No routes found" because the stops simply don't exist in Transitous's database.
Proposed Solution
Add an optional Google Maps Directions API (
mode=transit) backend for public transit routing. TREK already supports Google Places API, Maps JavaScript API, and Geocoding API via the user's own API key in Admin → Settings → API Keys — the same key can be reused.How It Would Work
[Transitous]or[Google Transit]Why This Matters
Technical Notes
https://maps.googleapis.com/maps/api/directions/json?mode=transitThanks for an amazing tool — this would be the missing piece for non-European travelers!
All reactions