hilly billy match the view to a contour map

misc
flag d4rk{C_2}

d4rk{C_2}

300 points, two solves when I picked it up, and a single submission to spend — so instead of guessing I rebuilt the terrain from the contour map and rendered candidate viewpoints.

I am lost, please locate me on the map so I can request help — flag format d4rk{letter_number}

One file, hilly_billy.webp (1280×640). The left half is a contour map with rows A–E and columns 1–5; the right half is a 3D render of what the lost person sees. No metadata, no stego — a pure "match the view to the map" puzzle, and I only had one submission to spend.

hilly_billy.webp: left, a labelled contour map; right, a first-person 3D view of hills

Reading the view

The right-hand render shows three things: a rounded olive hill on the left, a taller brown hill climbing off the right edge, and a small tan cone far away in the gap between them. Two observations made the puzzle tractable:

  • The labels sit on the grid lines, not in the cells. A–E and 1–5 are each drawn exactly on a line, so letter_number names one of 25 intersections. I assumed the camera stands on one of them.
  • The render is coloured by height — low ground green, mid slopes olive, high ground brown/tan. So the left hill is lower than the right hill, and the distant cone is at least as high as the left one. That colour ordering is what breaks the ties later.

The answer is intersection C2, looking south-east:

In the view On the map
Left hill: rounded, olive, flat top West end of the arc-shaped 300 m ridge around C3
Small tan cone in the gap The isolated 350 m hill at D3, ~1.5 cells away
Right hill: brown, bumpy, rising off the edge The D1–D2 massif: 350 m lobe, 400 m ridge, then the 550 m peak

Why I didn't just eyeball it

Eyeballing gave me two or three plausible spots, and with a single submission I didn't want to guess. So I rebuilt the terrain and rendered candidate viewpoints.

1. Rebuild a heightmap from the contours

  • Threshold the map at gray < 207 (after a 3× upscale) to keep only the dark 50 m index contours and drop the faint 10 m ones.
  • Label connected components of those lines, then assign each an elevation by hand from the printed labels (~80 components). The rings around the 550 m peak merged into one blob, so I dropped that component and drew the 350–550 m rings as polylines instead.
  • Fill between the lines by relaxing Laplace's equation with the contour pixels held fixed, then a light Gaussian blur. Gaps where a label breaks a line don't matter with this method.

My first attempt segmented the regions between contours instead, which fails because every label gap leaks one region into the next. Assigning heights to the lines themselves was the fix.

2. Match the skyline

I extracted the skyline from the photo (first non-blue pixel per column) and, for each intersection, computed the horizon elevation in every direction, then least-squares fit the photo's skyline over heading, field of view, vertical scale and horizon row. Skyline shape alone was not decisive:

Intersection RMS (px) Heading
C3 6.3 341°
C4 6.4 77°
C2 7.3 133°
E3 7.4 350°
everything else 8.5+

3. Render the finalists and look

Rendering the top four in perspective with the same height colouring settled it:

Photo vs render from C2, with the view cone on the map

  • C3, C4: two hills and a gap, but nothing in the gap.
  • E3: has a distant peak in the gap, but the taller, browner hill is on the left — colours reversed.
  • C2: olive hill left, tan cone in the gap, brown stepped hill rising to the right edge. The only one with all three, in the right colour order.

As a cross-check, an unconstrained search over the whole map put the best fit for this view on the C line about a quarter-cell east of C2.

Caveat

The render from C2 is a qualitative match, not a pixel match — in the real image the hills loom larger and the foreground slopes away where mine is flat, and interpolating from 50 m contours flattens every hilltop. I submitted on the strength of the left/cone/right arrangement plus the colour ordering, and said so before spending the attempt. It was accepted.