-
Notifications
You must be signed in to change notification settings - Fork 317
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
Adding custom image (shield or badge) to street name #637
Comments
Previous discussions about expanding shield coverage beyond the US (#334) and inlining shields (#365) |
@frederoni Thanks!, in the meantime, is it possible to change the text to remove that the ".26"? |
The turn banner is saying to continue onto this way in OpenStreetMap, which is tagged |
Link numbers on link roads are never shown or used externally but seem to be used frequently at Trafikverket which makes me hesitative whether this issue is a data issue or client issue. Either way, we should expose a way to modify the instruction. I'd suggest a VisualInstructionFormatter property on |
Been told they are officially/technically the number of the link road at nvdb/trafikverket. So wouldn't that make it a client issue? The link number is never used on signage or "real life". Or perhaps an issue towards osrm-text-instructions or osrm-backend for rewriting those tags? Since the link number exists on the web and android as well. Edit: |
The prevailing practice in OpenStreetMap is to reserve the It’d wouldn’t be practical to special-case inventory numbers in this library, especially since they aren’t easily identifiable without more context. For example, some U.S. counties and townships prominently post decimal route numbers, while the U.S. state of Pennsylvania has a system of virtually unsignposted “quadrant routes” consisting of four-digit numbers. Yet OSRM doesn’t even provide this library with enough information to know whether “E” means a European route, an express road in Colorado, or something else. #334 would give the SDK more context, but even then, list of patterns of unsignposted routes would be difficult to maintain even in OSRM-backend. At the moment, there are 1,624 ways tagged with what looks like a link E road number. Ultimately, I think retagging them would be appropriate if these numbers are always unsignposted. The first step would be contacting the talk-se mailing list, but I don’t know a lick of Swedish. 😅 |
This is good to know. Both the Mapbox Directions API and Navigation SDK currently rely on a tagging scheme that’s prevalent in the U.S. but could conceivably be used in Europe as well: link roads leading to motorways are tagged e.g. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Stale. |
On the current NavigationViewController, the European E4 route is currently displayed as E 4.26.
The badge in question is:
Two possible approaches
The text was updated successfully, but these errors were encountered: