Loading lib/mgrs.js +0 −12 Original line number Diff line number Diff line Loading @@ -158,18 +158,6 @@ any commodities, software, or technical data. /** * Converts between lat/lon and MGRS coordinates. Note that this static class * is restricted to the WGS84 ellipsoid and does not support MGRS notations * for polar regions (i.e. above 84° North and below 80° South). * * If . is loaded, this will be referenced as util.MGRS. If used * standalone, it will be referenced as window.MGRS. * * @static */ /** * UTM zones are grouped, and assigned to one of a group of 6 * sets. Loading lib/projections/aea.js +0 −2 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ var common = require('../common'); exports.init = function() { if (Math.abs(this.lat1 + this.lat2) < common.EPSLN) { //...reportError("aeaInitEqualLatitudes"); return; } this.temp = this.b / this.a; Loading Loading @@ -113,7 +112,6 @@ exports.phi1z = function(eccent, qs) { return phi; } } //...reportError("aea:phi1z:Convergence error"); return null; }; exports.names = ["Albers_Conic_Equal_Area", "Albers", "aea"]; lib/projections/aeqd.js +0 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,6 @@ exports.inverse = function(p) { if (this.sphere) { rh = Math.sqrt(p.x * p.x + p.y * p.y); if (rh > (2 * common.HALF_PI * this.a)) { //...reportError("aeqdInvDataError"); return; } z = rh / this.a; Loading lib/projections/eqdc.js +0 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ exports.init = function() { if (Math.abs(this.lat1 - this.lat2) < common.EPSLN) { this.ns = this.sinphi; //...reportError("eqdc:Init:EqualLatitudes"); } else { this.sinphi = Math.sin(this.lat2); Loading lib/projections/equi.js +0 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ exports.inverse = function(p) { var lat = p.y / this.a; if (Math.abs(lat) > common.HALF_PI) { //...reportError("equi:Inv:DataError"); } var lon = common.adjust_lon(this.long0 + p.x / (this.a * Math.cos(this.lat0))); p.x = lon; Loading Loading
lib/mgrs.js +0 −12 Original line number Diff line number Diff line Loading @@ -158,18 +158,6 @@ any commodities, software, or technical data. /** * Converts between lat/lon and MGRS coordinates. Note that this static class * is restricted to the WGS84 ellipsoid and does not support MGRS notations * for polar regions (i.e. above 84° North and below 80° South). * * If . is loaded, this will be referenced as util.MGRS. If used * standalone, it will be referenced as window.MGRS. * * @static */ /** * UTM zones are grouped, and assigned to one of a group of 6 * sets. Loading
lib/projections/aea.js +0 −2 Original line number Diff line number Diff line Loading @@ -2,7 +2,6 @@ var common = require('../common'); exports.init = function() { if (Math.abs(this.lat1 + this.lat2) < common.EPSLN) { //...reportError("aeaInitEqualLatitudes"); return; } this.temp = this.b / this.a; Loading Loading @@ -113,7 +112,6 @@ exports.phi1z = function(eccent, qs) { return phi; } } //...reportError("aea:phi1z:Convergence error"); return null; }; exports.names = ["Albers_Conic_Equal_Area", "Albers", "aea"];
lib/projections/aeqd.js +0 −1 Original line number Diff line number Diff line Loading @@ -96,7 +96,6 @@ exports.inverse = function(p) { if (this.sphere) { rh = Math.sqrt(p.x * p.x + p.y * p.y); if (rh > (2 * common.HALF_PI * this.a)) { //...reportError("aeqdInvDataError"); return; } z = rh / this.a; Loading
lib/projections/eqdc.js +0 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,6 @@ exports.init = function() { if (Math.abs(this.lat1 - this.lat2) < common.EPSLN) { this.ns = this.sinphi; //...reportError("eqdc:Init:EqualLatitudes"); } else { this.sinphi = Math.sin(this.lat2); Loading
lib/projections/equi.js +0 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,6 @@ exports.inverse = function(p) { var lat = p.y / this.a; if (Math.abs(lat) > common.HALF_PI) { //...reportError("equi:Inv:DataError"); } var lon = common.adjust_lon(this.long0 + p.x / (this.a * Math.cos(this.lat0))); p.x = lon; Loading