The positioning of buried pipelines from magnetic data