-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Implement NodeJS based server replicating osrm-routed #6411
Open
SiarheiFedartsou
wants to merge
21
commits into
master
Choose a base branch
from
sf-osrm-routed
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
53f2da5
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 251ffe4
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 768c331
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou dd04760
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 8273e8b
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 61810b9
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 3f0ded6
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 9c7d75d
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 1047cc1
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 242c074
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 4fd4c3b
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 71a638a
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 6dfb7d4
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 41ff79a
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 8e3fa70
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 40805f7
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 4dfae26
add cluster
SiarheiFedartsou ddde7e1
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 38e4b0b
Implement NodeJS based server fully replicating osrm-routed
SiarheiFedartsou 2016d46
Merge branch 'master' into sf-osrm-routed
SiarheiFedartsou 3e68237
Fix CI
SiarheiFedartsou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change | ||
---|---|---|---|---|
|
@@ -52,11 +52,11 @@ Feature: Weight tests | |||
| abc | | ||||
|
||||
When I route I should get | ||||
| waypoints | route | distances | weights | times | a:distance | a:duration | a:weight | a:speed | | ||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seems to be caused by the fact that our JSON renderer truncates numbers to have maximum 10 digits after dot
|
||||
| s,t | abc,abc | 20m,0m | 2,0 | 2s,0s | 20.034626629 | 2 | 2 | 10 | | ||||
| t,s | abc,abc | 20m,0m | 2,0 | 2s,0s | 20.034626629 | 2 | 2 | 10 | | ||||
| s,e | abc,abc | 40m,0m | 3.9,0 | 3.9s,0s | 29.940636463:10.017313314 | 3:0.9 | 3:0.9 | 10:11.1 | | ||||
| e,s | abc,abc | 40m,0m | 3.9,0 | 3.9s,0s | 10.017313314:29.940636463 | 0.9:3 | 0.9:3 | 11.1:10 | | ||||
| waypoints | route | distances | weights | times | a:distance | a:duration | a:weight | a:speed | | ||||
| s,t | abc,abc | 20m,0m | 2,0 | 2s,0s | 20.034626629 +- 1e-7 | 2 | 2 | 10 | | ||||
| t,s | abc,abc | 20m,0m | 2,0 | 2s,0s | 20.034626629 +- 1e-7 | 2 | 2 | 10 | | ||||
| s,e | abc,abc | 40m,0m | 3.9,0 | 3.9s,0s | 29.940636463:10.017313314 +- 1e-7 | 3:0.9 | 3:0.9 | 10:11.1 | | ||||
| e,s | abc,abc | 40m,0m | 3.9,0 | 3.9s,0s | 10.017313314:29.940636463 +- 1e-7 | 0.9:3 | 0.9:3 | 11.1:10 | | ||||
|
||||
|
||||
Scenario: Step weights -- way_function: fail if no weight or weight_per_meter property | ||||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Feature: Tile service | ||
Background: | ||
Given the profile "testbot" | ||
Scenario: Smoke test | ||
Given the origin 52.5212,13.3919 | ||
Given the node map | ||
""" | ||
a b | ||
""" | ||
And the ways | ||
| nodes | | ||
| ab | | ||
When I request /tile/v1/testbot/tile(8800,5373,14).mvt | ||
Then HTTP code should be 200 |
This file contains 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
This file contains 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
Oops, something went wrong.
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.
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.
Had to change it since new server has higher startup time than our existing osrm-routed.