Field Note № 006 — Geolocation OSINT

First Light

A street in the Andes, found from the first light on the ridge.

This challenge was one photo of a street. It runs downhill into a valley under a mess of power lines, and at the end of it there is a mountain ridge with only its tops in the sun. The task was to find the exact spot the photo was taken from.

The challenge photo: a street running downhill toward a valley, power lines overhead and a mountain ridge at the end lit by a low sun.
The challenge photo. I blurred the plate on the red car.
↪ Try it

This writeup contains the solution. If you want to try the challenge yourself first, it is available at challenge.bellingcat.com.

Part 01 / 04

Reading the signs

I started with anything that has writing on it. The pole on the left carries a yellow ad for Internet Fibra Hogar with a 0-800 freephone number and the Bitel logo at the bottom. Bitel is a mobile and home internet provider in Peru. An ad on its own can mislead you, but it gave me a country to test.

Crop of the left side of the street from the original photo: a yellow Bitel Internet Fibra Hogar ad on a pole and a blue sign with a green cross above a shop.
The left side of the street, zoomed in on the original photo. The Bitel ad on the pole and a blue sign with a green cross.

Right next to it is a blue sign with a green cross. Zoomed in, I can make out a word that starts with something like FARMAN and has an E near the end. I am guessing this might be farmacia. With the green cross it is a pharmacy either way. In Peru you see both farmacia and botica on shop signs, and both are licensed pharmacies.

Zoomed crop of the blue pharmacy sign above a green cross. Zoomed crop of a round no-parking sign with a crossed-out E and a tow truck plate under it.
Both signs cropped from the original photo. Left is the pharmacy sign. Right is the no-parking sign with the tow truck plate.

On the right, next to the cream building, there is a round sign with a crossed-out E and a small plate under it with a tow truck. The E stands for estacionamiento, so it means no parking, and the tow truck means your car gets taken to the pound. In Peru this is called a zona rígida. The yellow paint on the curbs at the corner says the same thing on the ground.

The plate on the red car fits too, with the current Peruvian layout of three characters, a dash and three digits. Add the dry brown hills and the houses climbing all the way up the slope, and this is a city high in the Andes. Cusco was my first guess, but other Andean cities like Huancayo and Ayacucho also have houses packed up dry hillsides. I wanted the mountains to prove it.

Part 02 / 04

Reading the light

Before matching mountains I wanted to know which way the camera was facing, and the light gives that away. Only the very tops of the ridge are lit, in the orange colour you only get when the sun is very low. The slopes below them and the whole street are in shadow. So the sun was only a few degrees above the horizon, which means just after sunrise or just before sunset.

Brightened crop of the ridge at the end of the street: the summits are lit orange by a low sun while the slopes below are in shadow.
Only the summits are in the sun. Everything below them is in shadow.

The light hits the peaks from the left, and the sky is brighter on the left of the frame. So the sun was behind the photographer and to the left. Cusco is in the tropics, so the sun rises somewhere in the east and sets somewhere in the west all year round. That leaves two options. Either it is morning and the camera faces somewhere between south and west, or it is evening and it faces somewhere between north and east. The skyline would decide which.

Part 03 / 04

Matching the skyline

Cusco sits in a valley with ridges on both sides, so if this is Cusco the photo has to be looking across the valley at one of them. I rendered the view from candidate spots in PeakFinder and in Google Earth's 3D mode and compared the ridge lines with the photo. Looking south from the north side of the city, it fits. The rounded high point in the middle of the frame is Araway Qhata and the narrow peak on the left, further away and higher, is Anahuarque.

The ridge from the challenge photo with two peaks labelled: Anahuarque at a bearing of 167 degrees and Araway Qhata at 180 degrees.
The two peaks that pin the view. Bearings are measured from the camera position.

With two named peaks I could work in bearings. Araway Qhata sits almost exactly in the middle of the frame, so the camera faces about 180°, due south. That settles the question from the light. Facing south, a sun behind and to the left is in the east or northeast, which makes it a sunrise. This is a morning photo.

To check it I set ShadeMap to Cusco on a dry-season morning. The date is a guess, the geometry is the point. On 1 July at 06:25 the sun is 2.1° above the horizon at 65.6°, east-northeast. Most of the valley is still in shadow while parts of the high ground already have sun, which is what the photo shows. The brown hills fit the dry season too. In the Street View imagery from March, in the rainy season, the same hills are green.

ShadeMap view of Cusco on 1 July at 06:25 with most of the valley in shadow. The sun is 2.1 degrees up at 65.6 degrees ENE. The camera position is marked with an arrow pointing south to Araway Qhata.
ShadeMap, 1 July at 06:25. The camera position from Part 04 is marked, looking straight at Araway Qhata.
Part 04 / 04

Finding the street

The photo gives one more useful number. The far end of the street sits about 7° left of the middle of the frame, so the street itself runs at about 172°, a little east of south. It also stays straight for a long way. So I was looking for a long, straight road on that bearing, running down toward the valley from the north side.

Instead of scrolling around Street View, I asked OpenStreetMap. In Overpass Turbo I took every road on the north side of the valley and kept only the ones that stay within 15 m of a straight line at 172° for at least 150 m.

Show the Overpass query

Paste this into overpass-turbo.eu and press Run. For each road it measures two things in metres: how far the road drifts sideways from a line at 172° and how far it runs along that line. The constants turn latitude and longitude into metres at Cusco's latitude, turned to 172°. The results come back as a table instead of on the map.

[out:csv(name, osm_id, drift_m, length_m; true; ",")][timeout:120];
way[highway~"^(primary|secondary|tertiary|unclassified|residential|living_street)$"]
  (-13.528,-71.990,-13.505,-71.930)->.streets;
foreach.streets->.w(
  node(w.w)->.n;
  if (n.max(lon()*107181+lat()*15389)
      - n.min(lon()*107181+lat()*15389) < 15
   && n.max(lon()*15063-lat()*109508)
      - n.min(lon()*15063-lat()*109508) > 150)
  {
    make street name=w.u(t["name"]), osm_id=w.u(id()),
      drift_m=n.max(lon()*107181+lat()*15389)
             - n.min(lon()*107181+lat()*15389),
      length_m=n.max(lon()*15063-lat()*109508)
              - n.min(lon()*15063-lat()*109508);
    out;
  }
);

Five roads came back, and four of them are on the same line. Avenida Retiro, Tacna, Pasaje Retiro and Avenida Mateo Pumacahua are one long straight street that changes its name every few blocks. The fifth, Calle Umanchata, is about two kilometres to the west, where Araway Qhata would be off to the left instead of straight ahead.

Following that line uphill, the next piece is too short to pass the 150 m filter. OpenStreetMap calls it Avenida Puente de Retiro and Google Maps labels it Callejón Retiro. It sits at longitude -71.969, the same as the summit of Araway Qhata, which is why the peak is due south of the camera.

Then Street View. At the corner of Callejón Retiro and Calle Lucrepata, looking down the street, everything lines up.

The challenge photo, for comparison. Google Street View from the corner of Callejón Retiro and Calle Lucrepata in Cusco, looking south down the street, March 2025.
Left is the challenge photo. Right is Google Street View from the same corner, March 2025.
Upscaled crop of the far end of the street in the challenge photo: a red brick building, a white vaulted roof, a green traffic light and a blue fenced structure.
The far end of the street in the challenge photo, upscaled.
Google Street View of the no-parking sign with the tow truck plate on the yellow-curbed corner of Callejón Retiro and Calle Lucrepata.
The same no-parking sign on Street View, on the yellow-curbed corner.
Google Street View at the corner of Callejón Retiro and Calle Lucrepata in Cusco, looking down the street, with the yellow Bitel ad and the FARMANGEL pharmacy sign on the left.
Google Street View from the same corner, 2025. The pharmacy sign turns out to be FARMANGEL, with BOTICA under it.
Coordinates Solve it first at challenge.bellingcat.com

The signs gave the country. The light gave the direction and the time of day. The skyline and one OpenStreetMap query gave the street.

One more

If you want another one to work on, try Challenge 0.1 at ctf.lavirent.com. It is the OSINT challenge I built for Lavirent. It starts with two photos to geolocate, and the second one unlocks a trail of clues.

✦ ✦ ✦
Support these write-ups If this was useful, you can buy me a coffee on Ko-fi