meta { title: "OSMC Hiking (optimized for SK/CZ/PL)"; description: "Colorize marked hiking trails using OSMC tagging schema. Optimized for SK/CZ/PL marking."; version: "0.2.2_2013-11-03"; author: "Martin Ždila <martin.zdila@freemap.sk>"; } way::osmc_0 { offset: 2; } way::osmc_1 { offset: prop("offset", "osmc_0"); } relation[osmc:symbol=~/^red:[^:]*:[^:]+_bar/] > way::osmc_1 { color: red; width: 3; offset: prop("offset") + 4; } way::osmc_2 { offset: prop("offset", "osmc_1"); } relation[osmc:symbol=~/^red:[^:]*:[^:]+_(?!bar)/] > way::osmc_2 { color: red; width: 3; offset: prop("offset") + 4; dashes: 8, 4; } way::osmc_3 { offset: prop("offset", "osmc_2"); } relation[osmc:symbol=~/^green:[^:]*:[^:]+_bar/] > way::osmc_3 { color: green; width: 3; offset: prop("offset") + 4; } way::osmc_4 { offset: prop("offset", "osmc_3"); } relation[osmc:symbol=~/^green:[^:]*:[^:]+_(?!bar)/] > way::osmc_4 { color: green; width: 3; offset: prop("offset") + 4; dashes: 8, 4; } way::osmc_5 { offset: prop("offset", "osmc_4"); } relation[osmc:symbol=~/^blue:[^:]*:[^:]+_bar/] > way::osmc_5 { color: blue; width: 3; offset: prop("offset") + 4; } way::osmc_6 { offset: prop("offset", "osmc_5"); } relation[osmc:symbol=~/^blue:[^:]*:[^:]+_(?!bar)/] > way::osmc_6 { color: blue; width: 3; offset: prop("offset") + 4; dashes: 8, 4; } way::osmc_7 { offset: prop("offset", "osmc_6"); } relation[osmc:symbol=~/^yellow:[^:]*:[^:]+_bar/] > way::osmc_7 { color: yellow; width: 3; offset: prop("offset") + 4; } way::osmc_8 { offset: prop("offset", "osmc_7"); } relation[osmc:symbol=~/^yellow:[^:]*:[^:]+_(?!bar)/] > way::osmc_8 { color: yellow; width: 3; offset: prop("offset") + 4; dashes: 8, 4; } way::osmc_9 { offset: prop("offset", "osmc_8"); } relation[osmc:symbol=~/^black:[^:]*:[^:]+_bar/] > way::osmc_9 { color: gray; width: 3; offset: prop("offset") + 4; } way::osmc_10 { offset: prop("offset", "osmc_9"); } relation[osmc:symbol=~/^black:[^:]*:[^:]+_(?!bar)/] > way::osmc_10 { color: gray; width: 3; offset: prop("offset") + 4; dashes: 8, 4; } way::osmc_11 { offset: prop("offset", "osmc_10"); } relation[osmc:symbol=~/^brown:[^:]*:[^:]+_bar/] > way::osmc_11 { color: brown; width: 3; offset: prop("offset") + 4; } way::osmc_12 { offset: prop("offset", "osmc_11"); } relation[osmc:symbol=~/^brown:[^:]*:[^:]+_(?!bar)/] > way::osmc_12 { color: brown; width: 3; offset: prop("offset") + 4; dashes: 8, 4; } way::osmc_13 { offset: prop("offset", "osmc_12"); } relation[osmc:symbol=~/^orange:[^:]*:[^:]+_bar/] > way::osmc_13 { color: orange; width: 3; offset: prop("offset") + 4; } way::osmc_14 { offset: prop("offset", "osmc_13"); } relation[osmc:symbol=~/^orange:[^:]*:[^:]+_(?!bar)/] > way::osmc_14 { color: orange; width: 3; offset: prop("offset") + 4; dashes: 8, 4; } way::osmc_15 { offset: prop("offset", "osmc_14"); } relation[osmc:symbol=~/^purple:[^:]*:[^:]+_bar/] > way::osmc_15 { color: purple; width: 3; offset: prop("offset") + 4; } way::osmc_16 { offset: prop("offset", "osmc_15"); } relation[osmc:symbol=~/^purple:[^:]*:[^:]+_(?!bar)/] > way::osmc_16 { color: purple; width: 3; offset: prop("offset") + 4; dashes: 8, 4; } way::osmc_17 { offset: prop("offset", "osmc_16"); } relation[osmc:symbol=~/^white:[^:]*:[^:]+_bar/] > way::osmc_17 { color: white; width: 3; offset: prop("offset") + 4; } way::osmc_18 { offset: prop("offset", "osmc_17"); } relation[osmc:symbol=~/^white:[^:]*:[^:]+_(?!bar)/] > way::osmc_18 { color: white; width: 3; offset: prop("offset") + 4; dashes: 8, 4; }
Last modified
11 years ago
Last modified on 2013-11-03T11:38:24+01:00
Note:
See TracWiki
for help on using the wiki.