1 #pragma once
2 
3 #include <cstdint>
4 
5 namespace mapbox { namespace vector_tile {
6 
7 
8 enum TileType : std::uint32_t
9 {
10     LAYERS = 3
11 };
12 
13 enum LayerType : std::uint32_t
14 {
15     VERSION = 15,
16     NAME = 1,
17     FEATURES = 2,
18     KEYS = 3,
19     VALUES = 4,
20     EXTENT = 5
21 };
22 
23 enum FeatureType : std::uint32_t
24 {
25     ID = 1,
26     TAGS = 2,
27     TYPE = 3,
28     GEOMETRY = 4,
29     RASTER = 5
30 };
31 
32 enum ValueType : std::uint32_t
33 {
34     STRING = 1,
35     FLOAT = 2,
36     DOUBLE = 3,
37     INT = 4,
38     UINT = 5,
39     SINT = 6,
40     BOOL = 7
41 };
42 
43 enum GeomType : std::uint8_t
44 {
45     UNKNOWN = 0,
46     POINT = 1,
47     LINESTRING = 2,
48     POLYGON = 3
49 };
50 
51 enum CommandType : std::uint8_t
52 {
53     END = 0,
54     MOVE_TO = 1,
55     LINE_TO = 2,
56     CLOSE = 7
57 };
58 
59 
60 } }
61