The geodetic boundary value problem in two dimensions and its iterative solutions