Method for the acquisition and processing of geographical information of a path