From 5fc1c1de2874673f2c07cae48c632a5eb9b94fb8 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 19 May 2017 13:24:40 -0700 Subject: [PATCH] . --- lat_lon_to_xyz.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 lat_lon_to_xyz.js diff --git a/lat_lon_to_xyz.js b/lat_lon_to_xyz.js new file mode 100644 index 000000000..692a36873 --- /dev/null +++ b/lat_lon_to_xyz.js @@ -0,0 +1,25 @@ +'use strict' + +/* This is a utility to convert latitude/longitude into X,Y,Z coordinates as used by clustering. */ + +if (process.argv.length !== 4) { + console.log('Usage: node lat_lon_to_xyz.js