-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
static turn instructions #2080
static turn instructions #2080
Conversation
@@ -43,8 +43,14 @@ enum TurnType // at the moment we can support 32 turn types, without increasing | |||
NewName, // no turn, but name changes |
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.
Can we merge NewName
and Notification
? Notification
just tells the user that a street attribute (like name or travel mode) changed. This would be forward compatible if we add more attributes for which we might want to emit a Notification
. Also this is not exclusive, no? The street name and the mode can change at the same time.
/cc @karenzshea
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.
Right Now Notification is Unused due to data not being exposed. I wouldn't worry about that one right now. The moment we get more data into the system, we have to open a discussion of what to expose.
d89e68f
to
fa22420
Compare
32f6ff2
to
ca19cbb
Compare
|
4e9c904
to
a03bec9
Compare
c49a099
to
a719be9
Compare
|
94371a4
to
d2ac23c
Compare
801d769
to
d62f8bc
Compare
1d29716
to
167bc44
Compare
#include <map> | ||
#include <cmath> | ||
#include <cstdint> | ||
#include <string> | ||
#include <iostream> |
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.
Can be removed?
Moved the remaining tests here: #2114 |
b84a3c0
to
5d39e7d
Compare
5d39e7d
to
7cce748
Compare
|
b9cea74
to
45289ce
Compare
|
||
public: | ||
NameTable(const std::string &filename); | ||
std::string get_name_for_id(const unsigned name_id) const; |
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.
Needs to be CamelCase.
f11ec73
to
fbdafca
Compare
45289ce
to
88db0ba
Compare
5861db0
to
497e415
Compare
Okay this is in good shape now. Good work @MoKob! Merging back to the rewrite branch. |
For this branch to be merged, the following needs to happen:
new name
on near identical names- [ ] add cucumber tests for static turn instructions- [x] motorways- [ ] fork- [ ] end of road- [ ] new name- [ ] suppressed- [ ] continue- [ ] merge- [ ] ramp