Purpose: To compress the data transmission for the longitude and the latitude. Initially these datas are in the form DD.MM.mmmm: degrees, minutes, ten thousandths of a minute. Latitude stands under 28 bits and longitude occupies 29 bits. So for each position one must transmit 57 bits.
To reduce the amount of data to be transmitted, we start from the following principle: If we set the precision of the position to 1 meter (for example) and that we divide the earth, in the considering as a sphere, in slabs of 1 square meter contiguous, we obtain a number of slabs < 2^49 so instead of transmitting latitude latitude position under 57 bits one can transmit the number of the slab under 49 bits (gain 8 bits per transmission).
Do you know how to convert longitude/latitude in a slab number (or item number) and vice vesa? what is the equation or algorithm to do it?