wiki:Styles/Coloured_Kerbs

Coloured Kerbs

Draws the pattern for barrier=kerb in different colours:

kerb=flush --> blue
kerb=lowered --> green
kerb=rolled --> orange
kerb=raised --> red

example (NOZIP)

meta
{
    title: "Coloured Kerbs";
    version: "4_2018-05-19";
    author: "te";
    description: "Draws the pattern for barrier=kerb in different colours based on kerb=* tag.";
    link: "https://josm.openstreetmap.de/wiki/Styles/Coloured_Kerbs";
    min-josm-version: "5801";
}

way[barrier=kerb][kerb=flush] {
    repeat-image: "kerb_flush_pattern.svg";
    repeat-image-align: top;
}
way[barrier=kerb][kerb=lowered] {
    repeat-image: "kerb_lowered_pattern.svg";
    repeat-image-align: top;
}
way[barrier=kerb][kerb=rolled] {
    repeat-image: "kerb_rolled_pattern.svg";
    repeat-image-align: top;
}
way[barrier=kerb][kerb=raised] {
    repeat-image: "kerb_raised_pattern.svg";
    repeat-image-align: top;
}

Styles_Coloured_Kerbs-style.mapcss, Styles_Coloured_Kerbs.zip

Last modified 7 months ago Last modified on 2018-05-19T19:32:12+02:00

Attachments (5)

Download all attachments as: .zip