Public transport directions show driving directions

I tried a search for direction between two points based on public transport. It shows driving directions. I would imagine, the GTFS file needs to be made available on the public server. What is the process for uploading the GTFS.

Does the feature of public transport search work on a self-hosted server?

https://maps.openrouteservice.org/#/directions/Mulund%20East,Mumbai,MH,India/Dadar%20East,Mumbai,MH,India/data/55,130,32,198,15,97,4,224,38,9,96,59,2,24,5,192,166,6,113,0,184,64,118,0,152,3,160,19,128,86,0,216,1,103,32,14,0,104,4,101,56,167,242,115,129,152,6,226,56,186,229,11,15,204,213,128,6,38,149,11,146,226,1,136,8,0,29,83,192,136,155,14,80,0,188,160,5,181,197,33,82,232,16,1,155,192,3,110,151,8,88,209,224,3,114,64,28,192,45,0,11,23,143,228,129,62,140,221,26,29,17,12,6,207,24,50,15,79,68,54,29,22,23,217,85,93,83,84,4,220,202,221,0,31,73,89,26,25,15,85,36,24,51,21,1,204,25,35,87,20,3,217,27,79,77,23,12,217,18,211,29,0,23,211,179,168,0,0

Hi @Yash_Ganthe,

GTFS and public-transit are currently not supported in our live API.
What you did was just creating a normal route with the hgv profile (probably with type bus).

You can pair your self hosted ORS instance with GTFS data and use the public-transport profile.
Check our documentation and

code base
for how to do that.

Best regards

1 Like