meta { title: "Conscriptionnumbers/streetnumbers"; version: "0.1"; description: "Style useful when mapping addresspoints in Czech and Slovak republic (http://wiki.openstreetmap.org/wiki/CS:WikiProject_Czech_Republic/Address_system). It makes addr:housenumber optional "; author: "jose1711"; } /* 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; }