Hello graphhopper developers,
thanks for your nice software! I have some trouble routing via public transport on a large GTFS file on a local self hosted instance of graphhopper via the provided REST API.
I have a working configuration for car routing over long distances over the openstreetmap dach region as downloaded as .pbf file from geofabrik de here:
(Link removed as I can only post two links as a new user apparently)
Now I would like to be able to route over this whole region via public transport with foot access as well and run into some problems (ideally I would use one graph for both car routing and public transport, but that is not an important problem here).
The routing example for the brandenburg region works fine (side remark: you might want to add the needed excluded ways option to the example in the documentation) as well as the gtfs file for the long distance rails as downloaded from here:
This file should be a subset of the larger GTFS file here:
I can build a graph for both cases (in the second case it takes around 5 hours on my laptop though) and I can start the service for both cases, however I can only route long distances for the first case.
An example which works for the first but not the second case is a route from the GPS coordinate of Stuttgart central station to the GPS coordinate of Berlin central station, which has a direct long distance ICE train connection.
For the second case of the big GTFS file, it answers after quite some time with a json with a “hint” which points at that it searched 1 million ways (I think? I have to double check the actual number) but does not return any result.
Is it feasable to use graphhopper for this use case or do I need very beefy hardware for this? It seems strange to me that car routing works in fractions of a second for very long distances but fails spectacular for public transport where it should find a direct connection. Could it be a very wrong configuration on my part which causes this?
For my particular use case it would be enough also to completely forego the foot navigation and just route from a near bus stop / train station.
I can of course provide much more detail on the used file / configuration if needed. I just want to make sure that graphhopper is in principle feasable for my use case and that it is not some stupid misconfiguration on my part.
Thanks a lot, cheers,
Florian