diff --git a/CHANGELOG.md b/CHANGELOG.md index 151d6e7..6bf50e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +v0.0.32 +* Bug fix + v0.0.31 * Apply default 11.023 degree central meridian to cupola. @@ -8,7 +11,7 @@ v0.0.29 * Added forward spherical formula for the Cupola projection. v0.0.27 -* Fixed bug related to reading UTM South .prj files +* Fixed bug related to reading UTM South .prj files. v0.0.26 * Remove source code and other unneeded files from npm distribution. diff --git a/package.json b/package.json index 58c9741..f26d238 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mproj", - "version": "0.0.31", + "version": "0.0.32", "description": "A JavaScript port of the Proj.4 cartographic projections library", "keywords": [ "projections", diff --git a/src/projections/bertin1953.js b/src/projections/bertin1953.js index 397e972..bf9ed97 100644 --- a/src/projections/bertin1953.js +++ b/src/projections/bertin1953.js @@ -59,7 +59,7 @@ function pj_bertin1953(P) { xy.x *= 1 + d; } if (xy.y > 0) { - xy.x *= 1 + d / 1.5 * xy.x * xy.x; + xy.y *= 1 + d / 1.5 * xy.x * xy.x; } return xy;