You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2.1/README.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,11 +12,11 @@ This document specifies a space-efficient encoding format for tiled geographic v
12
12
13
13
The Vector Tile format uses [Google Protocol Buffers](https://developers.google.com/protocol-buffers/) as a encoding format. Protocol Buffers are a language-neutral, platform-neutral extensible mechanism for serializing structured data.
14
14
15
-
## 2.1. File Extension
15
+
###2.1. File Extension
16
16
17
17
The filename extension for Vector Tile files SHOULD be `mvt`. For example, a file might be named `vector.mvt`.
18
18
19
-
## 2.2. Multipurpose Internet Mail Extensions (MIME)
19
+
###2.2. Multipurpose Internet Mail Extensions (MIME)
20
20
21
21
When serving Vector Tiles the MIME type SHOULD be `application/vnd.mapbox-vector-tile`.
22
22
@@ -143,7 +143,7 @@ A `MoveTo` command with a command count of `n` MUST be immediately followed by `
143
143
* Within POLYGON geometries, this coordinate defines the starting vertex of a new linear ring.
144
144
2. Moves the cursor to `(pX, pY)`.
145
145
146
-
#### 4.3.3.2. LineTo Command
146
+
#####4.3.3.2. LineTo Command
147
147
148
148
A `LineTo` command with a command count of `n` MUST be immediately followed by `n` pairs of `ParameterInteger`s. Each pair `(dX, dY)`:
149
149
@@ -154,7 +154,7 @@ A `LineTo` command with a command count of `n` MUST be immediately followed by `
154
154
155
155
For any pair of `(dX, dY)` the `dX` and `dY` MUST NOT both be `0`.
156
156
157
-
#### 4.3.3.3. ClosePath Command
157
+
#####4.3.3.3. ClosePath Command
158
158
159
159
A `ClosePath` command MUST have a command count of 1 and no parameters. The command closes the current linear ring of a POLYGON geometry via a line segment beginning at the cursor `(cX, cY)` and ending at the starting vertex of the current linear ring.
160
160
@@ -230,7 +230,7 @@ Encoded as: [ 9 50 34 ]
230
230
| | `> Decoded: ((34 >> 1) ^ (-(34 & 1))) = +17
231
231
| `> Decoded: ((50 >> 1) ^ (-(50 & 1))) = +25
232
232
| ===== relative MoveTo(+25, +17) == create point (25,17)
0 commit comments