wiki:Styles/NewHighwayColors
meta
{
        title: "New highway colors";
        version: "1.0.3_2020-10-05";
        description: "Make highways color like at standart OSM render";
        icon: "motorway.png";
        author: "Evgeny Katyshev";
        link: "https://josm.openstreetmap.de/wiki/Styles/NewHighwayColors";
}

meta[lang=ru]
{
        title: "Новые цвета дорог";
        description: "Делае цвета дорог такими же, как на стандартном рендере ОСМ";
}


way["highway"="path"]
{
        color: #ff4422;
        text-halo-color: #ff4422;
        dashes: 6,6;
        width: 1.5;
}

way["highway"="footway"]
{
        color: #ff4422;
        text-halo-color: #ff4422;
        dashes: 4,3;
        width: 2;
}


way["highway"="steps"]
{
        color: #ff4422;
        text-halo-color: #ff4422;
        dashes: 2,2;
        width: 3;
}

way["highway"="track"]
{
        color: #503408;
        text-halo-color: #503408;
        dashes: 10,4;
        width: 2;
}

way["highway"="service"]
{
        color: #fff;
        text-halo-color: #fff;
        width: 2;
        opacity: .7;
}

way["highway"="residential"]
{
        color: #fff;
        text-halo-color: #fff;
        width: 3;
        opacity: .7;
}

way["construction"="residential"]
{
        color: #fff;
        text-halo-color: #fff;
        width: 3;
        dashes: 3,3;
        opacity: .7;
}

way["highway"="unclassified"]
{
        color: #fff;
        text-halo-color: #fff;
        width: 3;
        opacity: .7;
}

way["construction"="unclassified"]
{
        color: #fff;
        text-halo-color: #fff;
        width: 3;
        dashes: 3,3;
        opacity: .7;
}

way["highway"="tertiary"]
{
        color: #fff;
        text-halo-color: #fff;
        width: 5;
        opacity: .7;
}

way["construction"="tertiary"]
{
        color: #fff;
        text-halo-color: #fff;
        width: 5;
        dashes: 5,5;
        opacity: .7;
}

way["highway"="tertiary_link"]
{
        color: #fff;
        text-halo-color: #fff;
        width: 4;
        opacity: .6;
}

way["construction"="tertiary_link"]
{
        color: #fff;
        text-halo-color: #fff;
        width: 4;
        dashes: 4,4;
        opacity: .6;
}

way["highway"="secondary"]
{
        color: #f6ff57;
        text-halo-color: #f6ff57;
        width: 5;
        opacity: .7;
}

way["construction"="secondary"]
{
        color: #f6ff57;
        text-halo-color: #f6ff57;
        width: 5;
        dashes: 5,5;
        opacity: .7;
}

way["highway"="secondary_link"]
{
        color: #f6ff57;
        text-halo-color: #f6ff57;
        width: 4;
        opacity: .6;
}

way["construction"="secondary_link"]
{
        color: #f6ff57;
        text-halo-color: #f6ff57;
        width: 4;
        dashes: 4,4;
        opacity: .6;
}

way["highway"="primary"]
{
        color: #ffa329;
        text-halo-color: #ffa329;
        width: 5;
        opacity: .8;
}

way["construction"="primary"]
{
        color: #ffa329;
        text-halo-color: #ffa329;
        width: 5;
        dashes: 5,5;
        opacity: .8;
}

way["highway"="primary_link"]
{
        color: #ffa329;
        text-halo-color: #ffa329;
        width: 4;
        opacity: .7;
}

way["construction"="primary_link"]
{
        color: #ffa329;
        text-halo-color: #ffa329;
        width: 4;
        dashes: 4,4;
        opacity: .7;
}

way["highway"="trunk"]
{
        color: #ff5520;
        text-halo-color: #ff5520;
        width: 5;
        opacity: .8;
}

way["construction"="trunk"]
{
        color: #ff5520;
        text-halo-color: #ff5520;
        width: 5;
        dashes: 5,5;
        opacity: .8;
}

way["highway"="trunk_link"]
{
        color: #ff5520;
        text-halo-color: #ff5520;
        width: 4;
        opacity: .7;
}

way["construction"="trunk_link"]
{
        color: #ff5520;
        text-halo-color: #ff5520;
        width: 4;
        dashes: 4,4;
        opacity: .7;
}

way["highway"="motorway"]
{
        color: #ff002f;
        text-halo-color: #ff002f;
        width: 5;
        opacity: .8;
}

way["construction"="motorway"]
{
        color: #ff002f;
        text-halo-color: #ff002f;
        width: 5;
        dashes: 5,5;
        opacity: .8;
}

way["highway"="motorway_link"]
{
        color: #ff002f;
        text-halo-color: #ff002f;
        width: 4;
        opacity: .7;
}

way["construction"="motorway_link"]
{
        color: #ff002f;
        text-halo-color: #ff002f;
        width: 4;
        dashes: 4,4;
        opacity: .7;
}

way["highway"]["bridge"]
{
        casing-width: 2;
        casing-color: #000;
        casing-opacity: .9;
}

way["construction"]["bridge"]
{
        casing-width: 2;
        casing-color: #000;
        casing-opacity: .7;
}

way["motorroad"]
{
        casing-width: 2;
        casing-color: #0055ff;
        casing-opacity: .6;
}

Styles_NewHighwayColors-style.mapcss, Styles_NewHighwayColors.zip

Last modified 4 years ago Last modified on 2020-10-05T18:33:59+02:00

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.