Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
Targeting issue: the issue will be CLOSED once the PR merged. If there is no issue that addresses the problem, please open a corresponding issue and link it here. Uses the Closes keyword to close them automatically.
Closes Expose wayID in osrm route response by post processing #257
Any other related issue? Mention them here.
Description
A summary description for what the PR achieves.
Annotation/Nodes
compatible with both int64 array and string array incoming;Ways
inAnnotation
of OSRM API;nodes2way.db
inosrm-ranking
;annotation/ways
fromannotation/nodes
when recieved OSRM route response;Be aware that you may still see invalid nodeIDs(similar with #276) after
osrm-ranking
. It's limited byJavascript/JSON
parsing(see more in https://github.com/callumlocke/json-formatter#why-are-large-numbers-not-displayed-accurately). Simply disable your brower extension's automatically parsing, you'll see correct values.Tasklist
Lua
changesPrerequirements