Photoshop has a Ruler tool that gives x, y, distance and angle. It doesn't write to a file, though; but you could easily type those coordinates onto any landmark.