Created
November 21, 2014 01:15
-
-
Save andrewgiessel/08e5cb531b5bbd24cf6a to your computer and use it in GitHub Desktop.
Revisions
-
andrewgiessel created this gist
Nov 21, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ import pyproj wgs84 = pyproj.Proj('+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs')##4326 geocentric= pyproj.Proj('+proj=geocent +datum=WGS84 +units=m +no_defs') ##4978 for x, y in coords: x2, y2, z2 = pyproj.transform( wgs84, geocentric, x, y, 0)