Key:ref:colour

From OpenStreetMap Wiki
Jump to: navigation, search
Available languages — Key:ref:colour
· Afrikaans · Alemannisch · aragonés · asturianu · azərbaycanca · Bahasa Indonesia · Bahasa Melayu · Bân-lâm-gú · Basa Jawa · Baso Minangkabau · bosanski · brezhoneg · català · čeština · dansk · Deutsch · eesti · English · español · Esperanto · estremeñu · euskara · français · Frysk · Gaeilge · Gàidhlig · galego · Hausa · hrvatski · Igbo · interlingua · Interlingue · isiXhosa · isiZulu · íslenska · italiano · Kiswahili · Kreyòl ayisyen · kréyòl gwadloupéyen · Kurdî · latviešu · Lëtzebuergesch · lietuvių · magyar · Malagasy · Malti · Nederlands · Nedersaksies · norsk bokmål · norsk nynorsk · occitan · Oromoo · oʻzbekcha/ўзбекча · Plattdüütsch · polski · português · português do Brasil · română · shqip · slovenčina · slovenščina · Soomaaliga · suomi · svenska · Tiếng Việt · Türkçe · Vahcuengh · vèneto · Wolof · Yorùbá · Zazaki · српски / srpski · беларуская · български · қазақша · македонски · монгол · русский · тоҷикӣ · українська · Ελληνικά · Հայերեն · ქართული · नेपाली · मराठी · हिन्दी · অসমীয়া · বাংলা · ਪੰਜਾਬੀ · ગુજરાતી · ଓଡ଼ିଆ · தமிழ் · తెలుగు · ಕನ್ನಡ · മലയാളം · සිංහල · ไทย · မြန်မာဘာသာ · ລາວ · ភាសាខ្មែរ · ⵜⴰⵎⴰⵣⵉⵖⵜ · አማርኛ · 한국어 · 日本語 · 中文(简体)‎ · 吴语 · 粵語 · 中文(繁體)‎ · ייִדיש · עברית · اردو · العربية · پښتو · سنڌي · فارسی · ދިވެހިބަސް
Public-images-osm logo.svg ref:colour
Spanish ref example.png
Description
ref:colour describes the color of the highway reference as it is found on road signs.
Group: Highway
Used on these elements
should not be used on nodesmay be used on waysshould not be used on areasuse on relations unspecified
Status: Unspecified



ref:colour describes the color of the highway reference as it is found on road signs.

This tag seems to work only in Spain! look at Talk:Proposed_features/ref:color.

Rationale

Add to the highway tagging (highway=*) the ref colour (the colour of road signs) in order to have

  • more info
  • better orientation
  • local flavour
  • administrative classification (when colours match)

Sign colour is a geographical "fact"

With this ref:colour scheme, highway tags can describe both features at the same time. We can see physical and administrative highway classification at the same time. and they can be tagged independently.

Tags

ref:colour=* way reference colour
ref:colour_tx=* way reference text colour
ref:colour_bg=* sign background colour


for international references same but with
int_ref:colour_*=*

values

black, white, blue, green, red, orange, brown, yellow, purple, grey

or hex colour number

Render

Render could take in account (highway=*) tags to paint the ways (as it is now),
but should take in account ref:colour=* to paint the shields.

This way we can see physical and administrative highway classification at the same time. and they can be tagged independently

Render example

This is a road that changes physically but has same road signs

Will be in use in OsmAnd (Version > 2.??)

Primary mk.pngEs EX-208 gww.pngPrimary mk.pngTertiary mk.pngEs EX-208 gww.pngTertiary mk.pngSecondary mk.pngEs EX-208 gww.pngSecondary mk.png

Tagging Examples

ref:colour schema
render highway=* ref=* ref:colour=* ref:colour_tx=* ref:colour_bg=*
International route (Europe)
 E-5  highway=motorway int_ref=E-5 int_ref:colour=green int_ref:colour_tx=white
Flag of Spain Spain
Es SO-P-6001 pww.png highway=tertiary ref=SO-P-6001 ref:colour=purple ref:colour_tx=white
Es M-516 ykw.png highway=tertiary ref=M-516 ref:colour=yellow ref:colour_tx=black
Es M-513 gww.png highway=secondary ref=M-513 ref:colour=green ref:colour_tx=white
Es M-503 okb.png (NW stretch from M-40 [1],
blue signs. no roundabouts nor crossings)
highway=primary , motorroad=yes ref=M-503 ref:colour=orange ref:colour_tx=black ref:colour_bg=blue
Es M-503 okw.png
(SW stretch from M-40 [2],
white signs. roundabouts and crossings)
highway=primary ref=M-503 ref:colour=orange ref:colour_tx=black
Es N-VI rww.png highway=trunk ref=N-VI ref:colour=red ref:colour_tx=white
Es N-VI rwb.png highway=trunk , motorroad=yes ref=N-VI ref:colour=red ref:colour_tx=white ref:colour_bg=blue
Es A2 bwb.png highway=motorway ref=A2 ref:colour=blue ref:colour_tx=white ref:colour_bg=blue