title: Geographic Interpolate in Python
body: <p>I have 500 points with longitude x, latitude y, altitude z, and the value at these points.</p>
  <p>On the other hand, I have other 200 points than I would like to interpolate, where the latitude, longitude, and altitude are known.</p>
  <p>I would like to interpolate considering the altitude of the points and
  geography between these points, my maps are Spain.</p>
  <p>An example:</p>
  <p>I have 2 points (x,y,z) and (x',y',z'). The real distance is black line, a polynomial interpolation is blue line (approx. distance), and euclidean distance between these 2 point is red line. I would like to obtain the blue or black line distance.</p>
  <p><a href="https://i.stack.imgur.com/IMQlE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IMQlE.png" alt="enter image description here" /></a></p>
  <p>The following example which takes (x,y) as input would fit:</p>
  <p><a href="https://nbviewer.jupyter.org/github/cjohnson318/geostatsmodels/blob/master/notebooks/KrigingExample.ipynb" rel="nofollow noreferrer">https://nbviewer.jupyter.org/github/cjohnson318/geostatsmodels/blob/master/notebooks/KrigingExample.ipynb</a></p>
  <p>but I would like to also manage the altitude z as a input parameter.</p>
  <p>Some libraries in Python? Some tutorial?</p>