Comment on "Hey Google, find the nearest Burger King" - "Sure, here is one on the other side of the globe!"
isildun@sh.itjust.works 10 months agoI’m not the person who found that, but this is similar to the game Geoguessr. We have three useful data points: you are 2.6 km from Burger King in Italy, that BK is on a street called "Via " and you are 9792 km from Burger King in Malaysia.
- The upper BK in Malaysia is not censored, so we have its exact location.
- Find a place in Italy that is 9792 km away using the Measure Distance tool on something like Google Maps.
- Even though there are potentially multiple valid locations in Italy, we know you’re within 2.6 km of another BK. Florence is sensible because there are BKs near the 9792 km mark.
- Once we do that, we can find a spot that is both 9792 km from Malaysia BK and 2.6 km from a nearby BK on a street called “Via”, effectively finding where the image was taken.
It’s not perfect but it works well! This is the principle by how your GPS works, it’s called triangulation. We only had distance to two points and one of them doesn’t tell us the sub-kilometer distance. If we had distance to three points, we could find your EXACT location, within some error depending on how detailed the distance information was.
MMauro@feddit.it 10 months ago
Good explanation. Just a tiny detail: “via” in Italian literally means “street”, so not much info there.
isildun@sh.itjust.works 10 months ago
Oops. Good to know… I guess the main thing was simply that there was a BK in the right place relative to the 9792 km arc then.
dlok@lemmy.world 10 months ago
Isn’t the 9792 street distance though rather than a straight line?
VonReposti@feddit.dk 10 months ago
I’m not sure Italy and Malaysia is connected by road