Flip latitude and longitude in the spec.md (#273)

Both the C++ and Python implementations decode this as bytes 0-3 as longitude and 4-7 as latitude. I assume the spec has a typo.
This commit is contained in:
Andrew Brampton
2023-10-24 07:12:04 -07:00
committed by GitHub
parent fd333cc1b6
commit f2805a1681

View File

@@ -239,7 +239,7 @@ Compression is an enum with the following values:
### 3.4 Position ### 3.4 Position
A Position is encoded into 8 bytes. Bytes 0 through 3 (the first 4 bytes) represent the latitude, and bytes 4 through 7 (the last 4 bytes) represent the longitude. A Position is encoded into 8 bytes. Bytes 0 through 3 (the first 4 bytes) represent the longitude, and bytes 4 through 7 (the last 4 bytes) represent the latitude.
#### Encoding #### Encoding