mapshaper 0.6.24 → 0.6.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/www/modules.js CHANGED
@@ -10047,6 +10047,9 @@ function get_geod_defn(P) {
10047
10047
  if ('datum' in P.params) {
10048
10048
  got_datum = true;
10049
10049
  defn += get_param(P, 'datum');
10050
+ } else if ('R' in P.params) {
10051
+ // moving R above other params, to match sequence in pj_ell_set.js
10052
+ defn += get_param(P, 'R');
10050
10053
  } else if ('ellps' in P.params) {
10051
10054
  defn += get_param(P, 'ellps');
10052
10055
  } else if ('a' in P.params) {
@@ -10067,7 +10070,7 @@ function get_geod_defn(P) {
10067
10070
  defn += get_param(P, 'towgs84');
10068
10071
  defn += get_param(P, 'nadgrids');
10069
10072
  }
10070
- defn += get_param(P, 'R');
10073
+ // defn += get_param(P, 'R'); // moved to above ellps
10071
10074
  defn += get_param(P, 'R_A');
10072
10075
  defn += get_param(P, 'R_V');
10073
10076
  defn += get_param(P, 'R_a');