Julius von Payer österreichisch-ungarischer Polar- und Alpenforscher, Kartograf und Professor der Militärakademie