-
Notifications
You must be signed in to change notification settings - Fork 660
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
[WIP] Fix bug in internal PBF deserialization of locations #1449
Conversation
Note that I was unable to get the tidy script to run on mac. I'll run it one way or another before removing the WIP flag. |
no worries add a test and we'll review it when you're ready. if you cant get the tidy script to run thats also no problem we can run it for you. just ping back when you are ready for us to take a look! |
a11a75f
to
3f5f92c
Compare
Hey @kevinkreiser mind taking a look now?
|
related to #1468 i think |
@ianthetechie i believe ive fixed the issue with the failing node tests 🤞 that CI passes as well |
@@ -167,7 +173,8 @@ struct PathLocation : public Location { | |||
|
|||
static Location fromPBF(const odin::Location& loc) { | |||
Location l({loc.ll().lng(), loc.ll().lat()}, | |||
odin::Location::kBreak ? Location::StopType::BREAK : Location::StopType::THROUGH, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just for posterity, this is where the real bug lies. kBreak == 0 and therefore everything gets set to through. im pretty sure that this bug is my fault.. sorry all!
I already checked this and it fixes the #1468 |
problem also exists on docker |
From the looks of it, dockerized builds are still very much WIP. I would recommend building the v2.7.0 from source. |
just a freindly reminder, master is no longer unstable. feel free to build master from source instead of sticking on 2.7.0. and yeah we haven't given docker much love in a while.. need to find time to get back to that at some point! |
Issue
This will close #1448 and it will close #1468
I'll try to write up a test for this in the next day or two, and have marked it WIP until then. I didn't see a CONTRIBUTING doc (just a paragraph or 2 in the main README), so let me know if I am missing anything.
Tasklist