It failed when running with flag_encoders=pt. I tried flag_encoders=car which failed complaining about missing “foot”. So I changed into flag_encoders=foot. This time the server started up but the web page at
localhost:8989 has no map and no form to insert start, end positions as I would expect. Screenshot attached.
One more question. Is this page (https://d3ko6ohfm7cdx2.cloudfront.net) an example of Public transport? (unfortunately, the page doesn’t show anything)
Is it possible to prove graphhopper is working with Public transport data?
I cannot make the standard published example working. I tried few supposedly stable branches. Even the website https://d3ko6ohfm7cdx2.cloudfront.net/ published as working is not working.
Oh, and just to be clear. I don’t expect to have a working website. It is sufficient to have a working unit test.
2020-02-21 15:31:36.011 [main] INFO i.d.server.DefaultServerFactory - Registering jersey handler with root path prefix: /
2020-02-21 15:31:36.013 [main] INFO i.d.server.DefaultServerFactory - Registering admin handler with root path prefix: /
java.lang.IllegalArgumentException: entry in encoder list not supported pt
at com.graphhopper.routing.util.DefaultFlagEncoderFactory.createFlagEncoder(DefaultFlagEncoderFactory.java:60)
at com.graphhopper.routing.util.EncodingManager.parseEncoderString(EncodingManager.java:393)
at com.graphhopper.routing.util.EncodingManager$Builder.addAll(EncodingManager.java:190)
at com.graphhopper.GraphHopper.createEncodingManager(GraphHopper.java:540)
at com.graphhopper.GraphHopper.init(GraphHopper.java:488)
at com.graphhopper.http.GraphHopperManaged.<init>(GraphHopperManaged.java:90)
I tried switching to another branch, but it didn't change the result. Searching around here on the forum doesn't seem to bring up any solution, or am I wrong there?