this post was submitted on 07 Feb 2024
24 points (96.2% liked)
Asklemmy
43945 readers
638 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It doesn't have to analyze the map visually, the graphical map you see on your screen is the part that's generated locally by your device. The map data your device receives is already in vector form, which is a mathematical list of angles, line lengths etc.
Sorry, that’s what I meant but just wanted to make a clear delineation between the data that plots out the roads on the map and the other metadata that may be tacked onto that. I wasn’t trying to suggest it actually looks at the rendered map output on the screen.
Then i don't understand your question
I think maybe i get your question. I believe you're asking:
"How does navigation software decide which task you should do at any point? Is the specific maneuver task hardcoded into the map, or does the device itself decide which task it should tell you to do?"
If that's the question then the answer is almost entirely the device (or server the device is connected to) decides on the fly. There are generally no navigation instructions hardcoded into the map data (unless there's a particularly tricky intersection). The navigation software will simply be programmed to use specific task words for each angle of an intersection. Like:
If route angle = -5 to 5 degrees, then say "turn right"
If route angle = 6 to 85 degrees, then say "bear right"