Skip to content

Instantly share code, notes, and snippets.

@wvpv wvpv/zip_xyz_axis_calc.sql
Last active Sep 24, 2018

What would you like to do?
, cos(radians(latitude)) * cos(radians(longitude)) xaxis
, cos(radians(latitude)) * sin(radians(longitude)) yaxis
, sin(radians(latitude)) zaxis
from zip_axis
/* credit */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.