CoordinateSharp v2.4.1.1 Release Notes
Release Date: 2020-01-02 // over 4 years ago-
- โ Adds Universal Polar Stereographic (UPS) to UTM system to allow polar region use.
- โ Adds MGRS Polar to MGRS system to allow polar region use.
- ๐ Deprecates
WithinCoordinateSystemBounds
properties for UTM/MGRS systems. This change is possibly breaking for users who rely on this property to determine UTM/MGRS boundaries.
โฑ There will no longer be boundaries when operating in the UTM and MGRS systems. A new property named
SystemType
has been added to both theUniversalTransverseMercator
andMilitaryGridReferenceSystem
classes.SystemType
may be checked to determine if polar regions have been entered (previouslyWithinCoordinateSystemBounds
). Because both systems no longer have limitation,WithinCoordinateSystemBounds
will always return true until its scheduled removal.Example:
//POLAR REGION COORDINATECoordinate c = new Coordinate(-85,10);Console.WriteLine(c.UTM.SystemType); //UPS;Console.WriteLine(c.MGRS.SystemType); //MGRS\_Polar;Console.WriteLine(c.UTM); //B 2096454mE 2547018mNConsole.WriteLine(c.MGRS); //B AT 96454 47018
US ARMY TEC-SR-7 1996 was referenced for UPS/MGRS POLAR conversions. The formulas have been discovered to suffer accuracy loss during convert backs (UPS/MGRS POLAR to GEODETIC LAT/LONG). This accuracy loss ranges from 0-33 meters below the 88th parallel and up to 2.2 kilometers between the 88th parallel and the poles. Ensure this precision meets your requirements before using.
๐ Formulas will be improved upon in future releases.