preußischer Offizier, Mathematiker und Geograph