libpysal.cg.toXYZ

libpysal.cg.toXYZ(pt)[source]

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

Parameters:
pt : tuple

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

Returns:

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

Return type:

tuple