EasyManua.ls Logo

Globalstar ST100 - 4.7. 24-Bit Location Format; Calculating Latitude and Longitude

Globalstar ST100
93 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
65ST100 User Manual v1 Confidential & Proprietary Information
8545-0194-01 v1.0
4.7. 24-BIT LOCATION FORMAT
The 24-bit format used for latitude and longitude encodes 180 degrees of LATITUDE as a 24-bit (3-byte) signed integer and 360
degrees of LONGITUDE as a 24-bit (3-byte) signed integer.
4.7.1. CALCULATING LATITUDE
Latitude may be calculated by converting the 3 encoded latitude bytes represented in hexadecimal to a decimal number and
multiplying this decimal integer by the DEGREES_PER_COUNT_LAT conversion factor.
DEGREES_PER_COUNT_LAT = 90.0 / 223
Since the latitude is signed and can range from –90 to 90 degrees, if the above result is greater than or equal to 90 degrees, 180
must be subtracted from the result.
Negative Latitude corresponds to Latitude in the SOUTHERN Hemisphere. Positive Latitude corresponds to Latitude in the
NORTHERN Hemisphere.
Latitude Calculation Example:
24-bit latitude: 0x2AB69C (Hexadecimal)
This number converted to decimal (base 10) is: 2,799,260.
2,799,260 * (90.0 / 223) = 30.032802
Since this result is less than 90 degrees, no subtraction is necessary.
30.032802 degrees = 30.032802 degrees NORTH
4.7.2. CALCULATING LONGITUDE
The longitude may be calculated by converting the 3 encoded longitude bytes represented in hexadecimal to a decimal number.
This decimal integer is multiplied by the DEGREES_PER_COUNT_LONG conversion factor.
DEGREES_PER_COUNT_LONG = 180.0 / 223
If the above result is greater than or equal to 180 degrees, 360 must be subtracted from the result since the longitude is signed
and can range from –180 to 180 degrees.

Table of Contents