New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom vehicle doesn't work after update to 8.0 #2929
Comments
I recommend to use our forum so that we can find out if it is an issue or maybe some migration mistake. In general it looks like you should try to use a |
Regarding this problem here: what is the exact problem you are facing? "Connection not found" or "route not found" or something else? Ensure that the access encoded value is set to true and also the speed encoded value is set to some positive value for the same way. You can put a break point with the debugger and see if it is called at all. |
I was printing those values and both encoded value is set to true and speed is always 5.0 for this tag. |
Hard to tell without a reproducer. You need to debug if the parser is actually called. Did you modify the config Maybe the new way filtering is too strict. Have a look here: #2448 (comment) |
I did create topic: https://discuss.graphhopper.com/t/custom-vehicle-doesnt-work-after-update-to-8-0/8449 |
Describe the bug
After update to 8.0 from 5.3 I tried to rewrite one of our custom encoder to TagParsers. There had to be an internal change in graphhopper or I made some weird mistake
To Reproduce
Old encoder:
New approach:
Access:
Priority:
Average speed:
EncodedValues are created as foot with name change:
VehicleTagParsers:
Expected behavior
Graph should be able to find route for custom vehicle
System Information
JVM 21, Graphhopper 8.0
I did rewrite other custom vehicles and all which were based on highway tags works perfectly. Only this one is not working
The text was updated successfully, but these errors were encountered: