libpysal.cg.toLngLat

libpysal.cg.toLngLat(xyz)[source]

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

Parameters:
xyztuple

A point assumed to be in form (x,y,z).

Returns:
phi, thetatuple

A point in form (phi, theta) [y,x].