Optional OpenLR Encoded Path Edges in API Response#2424
Merged
Conversation
583aa26 to
35ce208
Compare
a30e753 to
4026677
Compare
Contributor
Author
|
Per off-Github discussion, moved this from the geometry field to a new field in the map matching response that returns a single OpenLR descriptor per edge. A few more things:
Example output: |
6b8d367 to
48f2b26
Compare
187ffce to
5e49014
Compare
mookerji
commented
Jun 26, 2020
a19d85f to
49f557d
Compare
6725892 to
730185c
Compare
Contributor
Author
|
This isochrone unit test failure is deterministic, but seems out-of-scope of the current change. Checking this out right now, but any other feedback you have @kevinkreiser would be great. |
kevinkreiser
reviewed
Jul 1, 2020
kevinkreiser
reviewed
Jul 1, 2020
730185c to
d8544be
Compare
d8544be to
9c17220
Compare
Contributor
Author
|
Factored out the base64 stuff into: https://github.com/valhalla/valhalla/pull/2452/files. Once we get that merged, we can rebase this OpenLR PR on master and review again. |
mookerji
pushed a commit
that referenced
this pull request
Jul 6, 2020
- Moves base64 decoding into proper header file, adds unit test coverage. - Fix bug in base64 decoder that failed to remove padding bytes. - Updates test fixtures impacted by improper base64 decoding. Split out from: - #2424 /cc @kevinkreiser
mookerji
pushed a commit
that referenced
this pull request
Jul 6, 2020
* Fix: Base64 encoding/decoding - Moves base64 decoding into proper header file, adds unit test coverage. - Fix bug in base64 decoder that failed to remove padding bytes. - Updates test fixtures impacted by improper base64 decoding. Split out from: - #2424 /cc @kevinkreiser
9c17220 to
0700ff1
Compare
kevinkreiser
approved these changes
Jul 6, 2020
mookerji
pushed a commit
that referenced
this pull request
Jul 9, 2020
…ialization. In a prior PR (link below) we added OpenLR encoding for trace_route edges but apparently did not check for the API option, defaulting to adding OpenLR linear references to the response. This fixes this issue and adds the options checking to the library function filling out references. #2424 /cc @kevinkreiser
mookerji
pushed a commit
that referenced
this pull request
Jul 9, 2020
…ialization. In a prior PR (link below) we added OpenLR encoding for trace_route edges but apparently did not check for the API option, defaulting to adding OpenLR linear references to the response. This fixes this issue and adds the options checking to the library function filling out references. #2424 /cc @kevinkreiser
mookerji
pushed a commit
that referenced
this pull request
Jul 10, 2020
…ialization (#2458) * openlr: Explicitly check for linear reference option for Valhalla serialization. In a prior PR (link below) we added OpenLR encoding for trace_route edges but apparently did not check for the API option, defaulting to adding OpenLR linear references to the response. This fixes this issue and adds the options checking to the library function filling out references. Follow up to: #2424 /cc @kevinkreiser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds support for a new request option 'linear_references=true|false', which adds an array of OpenLR references to the response body for
routeandtrace_routeValhalla HTTP endpoints.