我需要将十进制纬度/经度值转换为带符号的 24bit 值。对于纬度示例 37.256526 值转换为带符号的 24 位。规范是打击。
The latitude is coded with 24 bits: 1 bit of sign and a number between 0 and 2^23-1 coded in binary on 23 bits. The relation between the coded number N and the range of (absolute) latitudes X it encodes is the following (X in degrees):