libpysal.cg.toXYZ

libpysal.cg.toXYZ(pt)[source]

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

Parameters:
pttuple

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

Returns:
x, y, ztuple

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