wiki:Styles/ConscriptionStreetnumber
meta {
    title: "Conscriptionnumbers/streetnumbers";
    version: "0.2.3_2018-03-24";
    description: "Displays addresses using Czech/Slovak address system";
    link: "https://wiki.openstreetmap.org/wiki/CS:WikiProject_Czech_Republic/Address_system";
    author: "jose1711";
}

meta[lang=sk]{
    title: "Súpisné/orientačné čísla";
    description: "Zobrazenie adries podľa českého/slovenského systému";
}

meta[lang=cs]{
    title: "Čísla popisná/orientační";
    description: "Zobrazení adres dle českého/slovenského schématu";
}

/* address on a node */
node|z18-[addr:streetnumber][!addr:conscriptionnumber] {
    font-family: "DejaVu Sans Book";
    font-size: 12;
    text: "addr:streetnumber";
    text-color: black;
    text-halo-radius: 2;
    text-wrap-width: 10;
    text-position: line;
}

node|z18-[addr:streetnumber][addr:conscriptionnumber] {
    font-family: "DejaVu Sans Book";
    font-size: 12;
    text: concat(eval(tag("addr:streetnumber")),"/",eval(tag("addr:conscriptionnumber")));
    text-color: black;
    text-halo-radius: 2;
    text-wrap-width: 10;
    text-position: line;
}

/* address on a building */
area|z18-[addr:streetnumber][!addr:conscriptionnumber] {
    font-family: "DejaVu Sans Book";
    font-size: 14;
    text: "addr:streetnumber";
    text-color: white;
    text-halo-radius: 2;
    fill-color: white;
    text-wrap-width: 10;
    text-position: center;
}

area|z18-[addr:streetnumber][addr:conscriptionnumber] {
    font-family: "DejaVu Sans Book";
    font-size: 14;
    text: concat(eval(tag("addr:streetnumber")),"/",eval(tag("addr:conscriptionnumber")));
    text-color: white;
    text-halo-radius: 2;
    fill-color: white;
    text-wrap-width: 10;
    text-position: center;
}

Styles_ConscriptionStreetnumber-style.mapcss, Styles_ConscriptionStreetnumber.zip

Last modified 9 months ago Last modified on 2018-03-24T15:13:38+01:00