mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user