blob: 9edb326051c8bd8bcb8d33d01dd3bd6e326163db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
option optimize_for = LITE_RUNTIME;
message DashDotProto
{
repeated double dd = 1;
optional double offset = 2;
}
message LineRuleProto
{
required double width = 1;
required uint32 color = 2;
optional DashDotProto dashdot = 3;
required int32 priority = 4;
}
message LineDefProto
{
required double width = 1;
required uint32 color = 2;
optional DashDotProto dashdot = 3;
}
message AreaRuleProto
{
required uint32 color = 1;
optional LineDefProto border = 2;
required int32 priority = 3;
}
message SymbolRuleProto
{
required string name = 1;
optional int32 apply_for_type = 2; // 1 - for nodes, 2 - for ways, default - for all
required int32 priority = 3;
}
message CaptionDefProto
{
required int32 height = 1;
required uint32 color = 2;
optional uint32 stroke_color = 3;
}
message CaptionRuleProto
{
required CaptionDefProto primary = 1;
optional CaptionDefProto secondary = 2;
required int32 priority = 3;
}
message CircleRuleProto
{
required double radius = 1;
required uint32 color = 2;
optional LineDefProto border = 3;
required int32 priority = 4;
}
message PathTextRuleProto
{
required CaptionDefProto primary = 1;
optional CaptionDefProto secondary = 2;
required int32 priority = 3;
}
// WayMarkerRule not used yet
// Describe containers.
message DrawElementProto
{
required int32 scale = 1;
repeated LineRuleProto lines = 2;
optional AreaRuleProto area = 3;
optional SymbolRuleProto symbol = 4;
optional CaptionRuleProto caption = 5;
optional CircleRuleProto circle = 6;
optional PathTextRuleProto path_text = 7;
}
message ClassifElementProto
{
required string name = 1;
repeated DrawElementProto element = 2;
}
message ContainerProto
{
repeated ClassifElementProto cont = 1;
}
|