Please enable JavaScript to use CodeHS

Digital Literacy in Real Life

What Your Photos RevealLocation Data and the Strava Heatmap

A fitness app drew a map of its users' workouts. A university student looked closely and spotted secret military bases glowing on it. The same kind of hidden location clues can be tucked inside the photos on your phone.

Privacy ~8 min Grades 4–8
The True Story

The map that glowed in the wrong places

Strava is a fitness app. When you go for a run or a bike ride, it uses your phone's GPS to record your route.

In November 2017, Strava published a global heatmap. It combined the routes of its users into one giant map. Busy running paths in big cities glowed bright. Quiet places stayed dark.

In January 2018, Nathan Ruser, a 20-year-old university student in Australia, was looking at the map. He noticed something odd. In remote places, far from any city, there were small glowing loops.

Those loops traced the layout of military bases in countries like Syria and Afghanistan. Soldiers stationed there had been logging their workouts, running laps around the base. Put together on one map, their runs sketched out places that were supposed to stay secret. Nathan shared what he noticed on social media, and people around the world took notice.

Afterward, militaries reviewed their rules about fitness trackers. Strava made it easier for users to opt out of the heatmap.

LOCATION DATA

The Strava Heatmap

What
A fitness app's map of combined workout routes showed the layout of military bases
When
Map published November 2017; spotted January 2018
Where
Bases in countries like Syria and Afghanistan
Who
Nathan Ruser, a 20-year-old Australian university student
After
Militaries reviewed fitness tracker rules; Strava made opting out easier

The Big Idea

Little clues add up

Here's the surprising part. No single run was a secret. One soldier jogging one loop doesn't tell you much. But lots of data added together revealed something nobody meant to share.

One run
Another run
Hundreds more
The shape of a base

Your photos work the same way. When you take a picture with a phone, the phone can save extra information inside the file. You can't see it in the picture itself, but it's there.

Simple definition: metadata is hidden information stored inside a file. For a photo (where it's often called EXIF data), it can include the date and time, the phone model, and, if location is on for the camera, the GPS coordinates of exactly where the photo was taken.

Many big social media apps remove GPS metadata when you upload a photo. But not every app or method does. Sending the original file by email, or through some messaging or file-sharing options, can keep it attached.

And even with no metadata at all, what's in the photo can give away where you are: a school logo, a street sign, a house number, a license plate, or the view out your window.


Interactive

Try it: Photo Inspector

Here's a made-up first-day-of-school photo, the kind lots of families share. Look at it the way a stranger might.

FIND THE CLUES, THEN FIX THEM Clues found: 0 / 6

Click the numbered dots and the "Show hidden info" button to find six clues. Then use the fixes to hide them before the photo gets posted.

Fixes before posting

What a stranger could learn

6clues still showing

    Find clues in the photo to list them here.

    Click a numbered dot to inspect that part of the photo.

    Notice that the fixes didn't ruin the photo. It's still a great first-day picture. It just stopped being a map to your front door.


    A Habit For Tomorrow

    Check before you post

    Run through these four steps before you share a photo. It takes less than a minute.

    STEP 1

    Is camera location off?

    In your phone's settings, you can turn off location for the Camera app. Then new photos won't save GPS coordinates.

    STEP 2

    Remove location when sharing

    On both iPhone and Android, the share screen has an option to remove location from a photo before you send it.

    STEP 3

    Scan the background

    Look for school names, street signs, house numbers, license plates, and window views. Crop or blur what you find.

    STEP 4

    Wait until you're home

    Save trip and vacation photos for after you get back. Posting live tells people where you are, and that you're not home.

    Bonus check for apps: when an app asks for your location, pick "While using the app" instead of "Always." That way it isn't tracking you in the background.


    Talk About It

    Bring it home

    Try one of these with a family member, a friend, or your class.

    • With a grown-up, open the settings on a family phone or tablet. Is location turned on for the camera? Which apps are allowed to use location "Always"?
    • Pick a photo your family has shared, like a birthday, a game day, or a first day of school. Play Photo Inspector together. What clues are in the background?
    • Think about a game, video app, or group chat you use. Does it show where you are, or let other people see your location? Would you want a stranger to know that?

    Your Turn

    Check your understanding

    Your friend wants to post a selfie taken in front of their house. Name two things that could reveal where they live, and one way to fix each.

    Your answer:

    Sample answer: First, the house number might be in the background. They could crop it out. Second, the photo might have hidden GPS coordinates in its metadata if camera location was on. They could use the "remove location" option on the share screen, or turn off location for the Camera app.


    Check Yourself

    Quick quiz

    1. Why did the Strava heatmap reveal military bases?

    2. What is photo metadata?

    3. Your cousin is on vacation and wants to post beach photos right now. What's the best advice?

    Keep going

    You learned how little clues add up, and how to check a photo before you post it. Next, find out who owns the pictures you find online, and what you're allowed to use.

    Part of the Digital Literacy in Real Life tutorial series.