@sswroom/sswr 1.5.0 → 1.5.1
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/Changelog +3 -0
- package/math.js +7 -7
- package/package.json +1 -1
package/Changelog
CHANGED
package/math.js
CHANGED
|
@@ -472,7 +472,7 @@ export class DatumData
|
|
|
472
472
|
this.yAngle = yAngle * aratio;
|
|
473
473
|
this.zAngle = zAngle * aratio;
|
|
474
474
|
this.scale = scale;
|
|
475
|
-
this.aunit = unit.
|
|
475
|
+
this.aunit = unit.Angle.Unit.RADIAN;
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
|
|
@@ -1014,17 +1014,17 @@ export class CoordinateSystemManager
|
|
|
1014
1014
|
switch (srid)
|
|
1015
1015
|
{
|
|
1016
1016
|
case 6326:
|
|
1017
|
-
return new DatumData(6326, this.srGetSpheroid(7030), "WGS_1984", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, unit.
|
|
1017
|
+
return new DatumData(6326, this.srGetSpheroid(7030), "WGS_1984", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, unit.Angle.Unit.RADIAN);
|
|
1018
1018
|
case 6600:
|
|
1019
|
-
return new DatumData(6600, this.srGetSpheroid(7012), "Anguilla_1957", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, unit.
|
|
1019
|
+
return new DatumData(6600, this.srGetSpheroid(7012), "Anguilla_1957", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, unit.Angle.Unit.RADIAN);
|
|
1020
1020
|
case 6601:
|
|
1021
|
-
return new DatumData(6601, this.srGetSpheroid(7012), "Antigua_1943", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, unit.
|
|
1021
|
+
return new DatumData(6601, this.srGetSpheroid(7012), "Antigua_1943", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, unit.Angle.Unit.RADIAN);
|
|
1022
1022
|
case 6602:
|
|
1023
|
-
return new DatumData(6602, this.srGetSpheroid(7012), "Dominica_1945", 0, 0, 0, 725, 685, 536, 0, 0, 0, 0, unit.
|
|
1023
|
+
return new DatumData(6602, this.srGetSpheroid(7012), "Dominica_1945", 0, 0, 0, 725, 685, 536, 0, 0, 0, 0, unit.Angle.Unit.ARCSECOND);
|
|
1024
1024
|
case 6603:
|
|
1025
|
-
return new DatumData(6603, this.srGetSpheroid(7012), "Grenada_1953", 0, 0, 0, 72, 213.7, 93, 0, 0, 0, 0, unit.
|
|
1025
|
+
return new DatumData(6603, this.srGetSpheroid(7012), "Grenada_1953", 0, 0, 0, 72, 213.7, 93, 0, 0, 0, 0, unit.Angle.Unit.ARCSECOND);
|
|
1026
1026
|
case 6611:
|
|
1027
|
-
return new DatumData(6611, this.srGetSpheroid(7022), "Hong_Kong_1980", 0, 0, 0, -162.619, -276.959, -161.764, 0.067753, -2.24365, -1.15883, -1.09425, unit.
|
|
1027
|
+
return new DatumData(6611, this.srGetSpheroid(7022), "Hong_Kong_1980", 0, 0, 0, -162.619, -276.959, -161.764, 0.067753, -2.24365, -1.15883, -1.09425, unit.Angle.Unit.ARCSECOND);
|
|
1028
1028
|
}
|
|
1029
1029
|
return null;
|
|
1030
1030
|
}
|