4 |
may be compatible with josm. |
may be compatible with josm. |
5 |
|
|
6 |
*** |
*** |
7 |
*** This file was automatically generated from elemstyles-mapnik.xml.in |
*** This file was automatically generated from data/elemstyles-mapnik.xml.in |
8 |
*** at Sat Dec 13 20:37:26 2008 by ./elemstyles-mapnik.pl. |
*** at Mon Dec 15 13:59:37 2008 by data/elemstyles-mapnik.pl. |
9 |
*** |
*** |
10 |
*** Do not edit this file if you want your ganges to persist! Edit the |
*** Do not edit this file if you want your ganges to persist! Edit the |
11 |
*** template and run ./elemstyles-mapnik.pl again to generate it instead. |
*** template and run data/elemstyles-mapnik.pl again to generate it instead. |
12 |
*** |
*** |
13 |
|
|
14 |
Andrew Chadwick, /andrewc at piffle org/, 2008-12-07 |
Andrew Chadwick, /andrewc at piffle org/, 2008-12-07 |
29 |
--> |
--> |
30 |
|
|
31 |
<rule> |
<rule> |
32 |
|
<condition k="bridge" v="yes"/> |
33 |
|
<linemod width_bg="+4"/> |
34 |
|
</rule> |
35 |
|
|
36 |
|
<rule> |
37 |
<!-- |
<!-- |
38 |
Road with unknown classification. |
Road with unknown classification. |
39 |
This is considered incomplete data, so make it ugly and very visible. |
This is considered incomplete data, so make it ugly and very visible. |
137 |
--> |
--> |
138 |
<rule> |
<rule> |
139 |
<condition k="highway" v="pedestrian"/> |
<condition k="highway" v="pedestrian"/> |
140 |
<line width="8" colour="#e8e8e8" width_bg="10" colour_bg="#a0a0a0"/> |
<line width="4" colour="#e8e8e8" width_bg="6" colour_bg="#a0a0a0"/> |
141 |
<scale_min>1</scale_min> |
<scale_min>1</scale_min> |
142 |
<scale_max>30000</scale_max> |
<scale_max>30000</scale_max> |
143 |
</rule> |
</rule> |
167 |
Footways, tracks, cycleways etc. Visible and editable at higher zooms. |
Footways, tracks, cycleways etc. Visible and editable at higher zooms. |
168 |
Typically either not for motor vehicles, or not sufaced to the same |
Typically either not for motor vehicles, or not sufaced to the same |
169 |
standard as the highways above. |
standard as the highways above. |
|
|
|
|
Experimental white casings. Ideally the way itself should be dashed. |
|
170 |
--> |
--> |
171 |
|
|
172 |
<rule> |
<rule> |
173 |
<condition k="highway" v="footway"/> |
<condition k="highway" v="footway"/> |
174 |
<line colour="#f98072" colour_bg="#ffffff" width="2" width_bg="3"/> |
<line colour="#f98072" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
175 |
<scale_min>1</scale_min> |
<scale_min>1</scale_min> |
176 |
<scale_max>12500</scale_max> |
<scale_max>10000</scale_max> |
177 |
</rule> |
</rule> |
178 |
|
|
179 |
<rule> |
<rule> |
180 |
<condition k="highway" v="steps"/> |
<condition k="highway" v="steps"/> |
181 |
<line colour="#f98072" colour_bg="#ffffff" width="3" width_bg="4"/> |
<line colour="#f98072" colour_bg="#ffffff" dashed="true" width="3" width_bg="4"/> |
182 |
<scale_min>1</scale_min> |
<scale_min>1</scale_min> |
183 |
<scale_max>12500</scale_max> |
<scale_max>10000</scale_max> |
184 |
</rule> |
</rule> |
185 |
|
|
186 |
<rule> |
<rule> |
187 |
<condition k="highway" v="cycleway"/> |
<condition k="highway" v="cycleway"/> |
188 |
<line colour="#5050fe" colour_bg="#ffffff" width="2" width_bg="3"/> |
<line colour="#5050fe" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
189 |
<scale_min>1</scale_min> |
<scale_min>1</scale_min> |
190 |
<scale_max>15000</scale_max> |
<scale_max>12500</scale_max> |
191 |
</rule> |
</rule> |
192 |
|
|
193 |
<rule> |
<rule> |
194 |
<condition k="highway" v="bridleway"/> |
<condition k="highway" v="bridleway"/> |
195 |
<line colour="#008000" colour_bg="#ffffff" width="2" width_bg="3"/> |
<line colour="#008000" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
196 |
<scale_min>1</scale_min> |
<scale_min>1</scale_min> |
197 |
<scale_max>14000</scale_max> |
<scale_max>12500</scale_max> |
198 |
</rule> |
</rule> |
199 |
|
|
200 |
<rule> |
<rule> |
201 |
<condition k="highway" v="byway"/> |
<condition k="highway" v="byway"/> |
202 |
<line colour="#f8eecc" colour_bg="#ffffff" width="2" width_bg="3"/> |
<line colour="#f8eecc" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
203 |
<scale_min>1</scale_min> |
<scale_min>1</scale_min> |
204 |
<scale_max>12500</scale_max> |
<scale_max>12500</scale_max> |
205 |
</rule> |
</rule> |
206 |
|
|
207 |
<rule> |
<rule> |
208 |
<condition k="highway" v="track"/> |
<condition k="highway" v="track"/> |
209 |
<line colour="#996600" colour_bg="#ffffff" width="2" width_bg="3"/> |
<line colour="#996600" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
210 |
<scale_min>1</scale_min> |
<scale_min>1</scale_min> |
211 |
<scale_max>12500</scale_max> |
<scale_max>12500</scale_max> |
212 |
</rule> |
</rule> |
213 |
|
|
214 |
<rule> |
<rule> |
215 |
<condition k="highway" v="path"/> |
<condition k="highway" v="path"/> |
216 |
<line colour="#cc7733" colour_bg="#ffffff" width="2" width_bg="3"/> |
<line colour="#cc7733" colour_bg="#ffffff" dashed="true" width="2" width_bg="3"/> |
217 |
<scale_min>1</scale_min> |
<scale_min>1</scale_min> |
218 |
<scale_max>12500</scale_max> |
<scale_max>12500</scale_max> |
219 |
</rule> |
</rule> |
220 |
|
|
221 |
<!-- |
<!-- |
222 |
Rail. |
Rail. |
|
Again, this is crying out for a dashed style if we want it to look |
|
|
like Mapnik. Until then, approximate with some greys. |
|
223 |
--> |
--> |
224 |
|
|
225 |
<rule> |
<rule> |
238 |
|
|
239 |
<rule> |
<rule> |
240 |
<condition k="railway"/><!-- catchall linear --> |
<condition k="railway"/><!-- catchall linear --> |
241 |
<line width="4" width_bg="6" colour="#cccccc" colour_bg="#999999"/> |
<line width="4" width_bg="6" dashed="true" colour="#eeeeee" colour_bg="#999999"/> |
242 |
<scale_min>1</scale_min> |
<scale_min>1</scale_min> |
243 |
<scale_max>160000</scale_max> |
<scale_max>160000</scale_max> |
244 |
</rule> |
</rule> |