In addition to being part of an American legacy, these stone walls and their locations record a centuries-long history of the Earth’s wandering magnetic field.