From f2805a16814fb8772a8d4069bcdcd365981bc499 Mon Sep 17 00:00:00 2001 From: Andrew Brampton Date: Tue, 24 Oct 2023 07:12:04 -0700 Subject: [PATCH] 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. --- spec/v3/spec.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/v3/spec.md b/spec/v3/spec.md index a8107e4..005f69b 100644 --- a/spec/v3/spec.md +++ b/spec/v3/spec.md @@ -239,7 +239,7 @@ Compression is an enum with the following values: ### 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