-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Split a way's "Name (Ref)" into name, ref fields #2704
Copy link
Copy link
Closed
Description
Currently we re-write a way's name to
"Name (ref)"
where ref could be the destination if there is no ref. This string-representation is hachky at best and makes it harder for clients to build great guidance.
Task: have independent name, ref, destination fields and expose them to clients.
Impl. note: will break hard coded hacks like:
osrm-backend/include/extractor/guidance/toolkit.hpp
Lines 166 to 168 in c7a1576
inline bool requiresNameAnnounced(const std::string &from, const std::string &to, const SuffixTable &suffix_table)
Reactions are currently unavailable