source: osm/applications/editors/josm/plugins/mappaint/styles/standard/elemstyles.xml@ 3443

Last change on this file since 3443 was 3443, checked in by ulf, 18 years ago

reorder all the tags in this file according to the map features wiki page

File size: 5.1 KB
Line 
1<!--
2a little help:
31. every rule starts with <rule> and ends with </rule>
42. every rule needs a condition
53. line attributes
6 - width absolute width in pixel in every zoom level
7 - realwidth relative width which will be scaled in meters, integer
8 - colour
94. area attributes
10 - colour
115. amenity attributes
12 - icon path to icon , relative from where this file is
13-->
14
15<rules>
16<!-- highway tags -->
17 <rule>
18 <condition k="highway" v="motorway"/>
19 <line width="3" realwidth="8" colour="#809bc0"/>
20 </rule>
21
22 <rule>
23 <condition k="highway" v="motorway_link"/>
24 <line width="3" colour="#809bc0"/>
25 </rule>
26
27 <rule>
28 <condition k="highway" v="trunk"/>
29 <line width="3" colour="#7fc97f"/>
30 </rule>
31
32 <rule>
33 <condition k="highway" v="trunk_link"/>
34 <line width="3" colour="#7fc97f"/>
35 </rule>
36
37 <rule>
38 <condition k="highway" v="primary"/>
39 <line width="3" realwidth="8" colour="#fb805f"/>
40 </rule>
41
42 <rule>
43 <condition k="highway" v="primary_link"/>
44 <line width="3" colour="#fb805f"/>
45 </rule>
46
47 <rule>
48 <condition k="highway" v="secondary"/>
49 <line width="3" realwidth="6" colour="#fdbf6f"/>
50 </rule>
51
52 <rule>
53 <condition k="highway" v="unclassified"/>
54 <line width="2" colour="#c0c0c0"/>
55 </rule>
56
57 <rule>
58 <condition k="highway" v="residential"/>
59 <line width="2" realwidth="5" colour="#c0c0c0"/>
60 </rule>
61
62 <rule>
63 <condition k="highway" v="bridleway"/>
64 <line width="1" colour="#c08000" />
65 </rule>
66
67 <rule>
68 <condition k="highway" v="cycleway"/>
69 <line width="1" realwidth="2" colour="#ff00ff"/>
70 </rule>
71
72 <rule>
73 <condition k="highway" v="footway"/>
74 <line width="1" realwidth="1" colour="#00ff00" />
75 </rule>
76
77 <rule>
78 <condition k="highway" v="pedestrian"/>
79 <line width="1" colour="#aaaaaa"/>
80 </rule>
81
82<!--waterway tags -->
83 <rule>
84 <condition k="waterway" v="river"/>
85 <line realwidth="10" colour="#0000ff" />
86 </rule>
87
88 <rule>
89 <condition k="waterway" v="canal"/>
90 <line width="2" colour="#0000ff" />
91 </rule>
92
93 <rule>
94 <condition k="waterway" v="riverbank"/>
95 <line width="1" colour="#0000ff"/>
96 </rule>
97
98
99 <rule>
100 <condition k="natural" v="coastline"/>
101 <line width="1" colour="#0000ff"/>
102 </rule>
103
104<!-- railway tags -->
105 <rule>
106 <condition k="railway" v="station" />
107 <icon annotate="true" src="station.png" />
108 </rule>
109
110 <rule>
111 <condition k="railway" v="rail"/>
112 <line width="2" colour="#808080"/>
113 </rule>
114
115 <rule>
116 <condition k="railway" v="level_crossing" />
117 <icon annotate="true" src="crossing.png" />
118 </rule>
119
120<!--man_made tags -->
121 <rule>
122 <condition k="man_made" v="mast" />
123 <icon annotate="true" src="mast.png" />
124 </rule>
125
126<!--leisure tags -->
127 <rule>
128 <condition k="leisure" v="park"/>
129 <area colour="#c7f1a3"/>
130 </rule>
131
132 <rule>
133 <condition k="leisure" v="playground"/>
134 <area colour="#c7f1a3"/>
135 </rule>
136
137<!--amenity tags -->
138 <rule>
139 <condition k="amenity" v="restaurant" />
140 <icon annotate="true" src="restaurant.png" />
141 </rule>
142
143 <rule>
144 <condition k="amenity" v="pub" />
145 <icon annotate="true" src="pub.png" />
146 </rule>
147
148 <rule>
149 <condition k="amenity" v="biergarten" />
150 <icon annotate="true" src="pub.png" />
151 </rule>
152
153 <rule>
154 <condition k="amenity" v="fast_food" />
155 <icon annotate="true" src="fast_food.png" />
156 </rule>
157
158 <rule>
159 <condition k="amenity" v="parking" />
160 <icon annotate="true" src="carpark.png" />
161 </rule>
162
163 <rule>
164 <condition k="amenity" v="place_of_worship" />
165 <icon annotate="true" src="church.png" />
166 </rule>
167
168<!--shop tags -->
169
170<!--tourism tags -->
171 <rule>
172 <condition k="tourism" v="camp_site" />
173 <icon annotate="true" src="campsite.png" />
174 </rule>
175
176 <rule>
177 <condition k="tourism" v="viewpoint" />
178 <icon annotate="true" src="viewpoint.png" />
179 </rule>
180
181<!--historic tags -->
182
183<!--landuse tags -->
184 <rule>
185 <condition k="landuse" v="farm" />
186 <icon annotate="true" src="farm.png" />
187 </rule>
188
189 <rule>
190 <condition k="landuse" v="forest"/>
191 <area colour="#b1efc8" />
192 </rule>
193
194 <rule>
195 <condition k="landuse" v="cemetery"/>
196 <line width="1" colour="#bde3cb"/>
197 </rule>
198
199 <rule>
200 <condition k="landuse" v="residential"/>
201 <area colour="#f0f0f0"/>
202 </rule>
203
204 <rule>
205 <condition k="landuse" v="industrial"/>
206 <area colour="#ecd8ff"/>
207 </rule>
208
209<!--military tags -->
210 <rule>
211 <condition k="military" v="danger_area" />
212 <area colour="#b62c2c"/>
213 </rule>
214
215<!--natural tags -->
216 <rule>
217 <condition k="natural" v="heath"/>
218 <line width="1" colour="#ffffc0"/>
219 </rule>
220
221 <rule>
222 <condition k="natural" v="water"/>
223 <area colour="#0000ff"/>
224 </rule>
225
226 <rule>
227 <condition k="natural" v="peak" />
228 <icon annotate="true" src="peak_small.png" />
229 </rule>
230
231<!--sport tags -->
232 <rule>
233 <condition k="sport" v="soccer" />
234 <area colour="#bde3cb"/>
235 </rule>
236
237<!--place tags -->
238 <rule>
239 <condition k="place" v="city" />
240 <icon annotate="true" src="place.png" />
241 </rule>
242
243 <rule>
244 <condition k="place" v="town" />
245 <icon annotate="true" src="place.png" />
246 </rule>
247
248 <rule>
249 <condition k="place" v="village" />
250 <icon annotate="true" src="place.png" />
251 </rule>
252
253 <rule>
254 <condition k="place" v="hamlet" />
255 <icon annotate="true" src="place.png" />
256 </rule>
257
258 <rule>
259 <condition k="place" v="suburb" />
260 <icon annotate="true" src="place.png" />
261 </rule>
262
263</rules>
Note: See TracBrowser for help on using the repository browser.