Using a compass to find your location involves a technique called triangulation. For this to work, you need your map, compass, and at least two visible landmarks, three if you want to be extra ...
This tells you the compass direction you need to travel to reach that landmark, but not necessarily your exact location.
A compass is used to work out direction ... the spot height written in black shows that the height of the summit at the triangulation pillar at Garnedd Ugain (a mountain in Wales) is 1,065 ...