libpysal.cg.toLngLat

libpysal.cg.toLngLat(xyz)[source]

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

Parameters:
xyz : tuple

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

Returns:

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

Return type:

tuple