pysal.lib.cg.toXYZ

pysal.lib.cg.toXYZ(pt)[source]

Convert a point’s latitude and longitude to x,y,z

Parameters:
pt0 : point

assumed to be in form (lng,lat)

pt1 : point

assumed to be in form (lng,lat)

Returns:
x, y, z