So I am actually taking a look right now at Google's GTFS format for public means of transport. But from my point of view, I can see information included about the position of the bus stops and some generic info about the "trips" as they call them, but how do they get to represent the right route that connects two stops on Google Maps?

Maybe shapes.txt is used for that? Is it though?


1 Answer 1


You are right, the shapes.txt files contains the geometry to be displayed. It is referred to in the trips by the shape_id field. See https://developers.google.com/transit/gtfs/reference#routes_fields

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.