libpysal.cg.toXYZ

libpysal.cg.toXYZ(pt)[source]

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

Parameters:
ptpython:tuple

A point assumed to be in form (lng,lat).

Returns:
x, y, zpython:tuple

A point in form (x, y, z).