title: convert latitude and longitude to x and y grid system using python
body: <p>I have file with latitude and longitude values, that i want to convert the x and y in km
  I want to measure the distance from each point.</p>
  
  <p>for instance I make the first points of latitude and longitude(which are 51.58, -124.6 respectfully) </p>
  
  <p>to (0,0) in my x and y system so than basically i want to find out what the other points are and their location from the origin so i want to find what 51.56(lat) -123.64(long) is in (x,y) in km and so on for the rest of the file.</p>
  
  <p>I want to do this all in python, is there some sort code ?</p>
  
  <p>I found sites online , for instance </p>
  
  <p><a href="http://www.whoi.edu/marine/ndsf/cgi-bin/NDSFutility.cgi?form=0&amp;from=LatLon&amp;to=XY" rel="noreferrer">http://www.whoi.edu/marine/ndsf/cgi-bin/NDSFutility.cgi?form=0&amp;from=LatLon&amp;to=XY</a></p>
  
  <p>does exactly want i want to do, I just don't know how they do it.</p>