Commit 3d3bbac3 authored by Paul Spencer's avatar Paul Spencer
Browse files

eqc projection typo in lat_ts

The eqc projection is missing its latitude of true scale due to a typo in the init function, which is causing it to produce incorrect results.
parent 2f3b9fa9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ exports.init = function() {
  this.y0 = this.y0 || 0;
  this.lat0 = this.lat0 || 0;
  this.long0 = this.long0 || 0;
  this.lat_ts = this.lat_t || 0;
  this.lat_ts = this.lat_ts || 0;
  this.title = this.title || "Equidistant Cylindrical (Plate Carre)";

  this.rc = Math.cos(this.lat_ts);