| 7 | | '''++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++''' |
| 8 | | |
| 9 | | '''+++ This mappaint style will get a big update with some nice improvement, as soon as the next stable version of JOSM is released! (It will work worldwide then.) +++''' |
| 10 | | |
| 11 | | '''++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++''' |
| 12 | | |
| 13 | | The mappaint style "Coloured Streets" makes working with addresses easier. |
| 14 | | |
| 15 | | Streets, buildings and address nodes with the same first letter of the street name are highlighted in the same colour. Thereby you can quickly recognize, which house belongs to which street. Furthermore it indicates missing or incorrect data. If there is addr:street but no addr:nousenumber then it shows "number?". If there is addr:housenumber but no addr:street then it shows "street?". If there are streets (ways with highway=*) with an addr:*=* tag, then it shows "no addr!". Coloured Streets is also very good compatible with the style [LessObtrusiveNodes Less Obtrusive Nodes]. |
| 16 | | |
| 17 | | There is an [[Coloured_Streets_alternative_version|alternative version of Coloured Streets]]. It differs in 2 points compared to the default version: |
| 18 | | * Instead of the first the last letter is evaluated. This is suitable for countries where a lot of streets start with the same letter (e.g. in France "Rue ..."). In this context also lower case letters are supported for the colour choice. |
| 19 | | * The notifications "no addr!" for ways with highway=* and one addr*=* are completely disabled. I saw a lot of streets in Russia with addr:postcode. I suppose this way is consensus in Russia. |
| | 7 | The mappaint style "Coloured Streets" makes '''working with addresses easier.''' |
| | 8 | |
| | 9 | Streets, buildings and address nodes with the same street name are highlighted in the '''same colour'''. Thereby you can quickly recognize, which house belongs to which street. It analyzes for streets the key "name" and for addresses the key "addr:street" resp. for associatedStreet relations for the housenumber the key "name" of the relation. Furthermore it indicates missing or incorrect data. If there is addr:street but no addr:nousenumber then it shows "number?". If addr:street is missing then it shows "street?". If addr:housenumber is missing it shows "number?". If there are streets (ways with highway=*) with an addr:*=* tag, then it shows "no addr!". Coloured Streets is also very good compatible with the style [LessObtrusiveNodes Less Obtrusive Nodes]. |
| | 10 | |
| | 11 | Coloured Streets uses '''33 specially selected colours''', which are used on average equally often. In individual cases the same colour of adjacent streets may still occur. This is because of the limited number of clearly distinguishable colours and can not be completely eliminated. |
| | 12 | |
| | 13 | There are '''2 options''' for customizing the mappaint style. For this purpose, for each option a colour in the preferences menu of JOSM need to get changed (menu:edit -> preferences -> Display Settings -> Colors). White means "yes", black means "no". After the change a JOSM restart is required. |
| | 14 | * If you want to allow "addr:postcode=*" on streets (and don't want to see a warning message for these cases), then you change the colour "Paint style Coloured Streets: boolean.allow.postcode.on.highway" to white (default is black = not allow = warning is displayed). |
| | 15 | * If you want that [osmwiki:Proposed_features/Directional_Prefix_%26_Suffix_Indication name:prefix and name:suffix] for names of streets and associatedStreet relations are taken into account, then you change the colour "Paint style Coloured Streets: boolean.support.prefix.and.suffix.on.highway.names" to white (default is black = are not taken into account = only the key "name" is analyzed). At least in parts of the USA and of Greece names of streets are devided into these components. By activating this option you can get better results with Coloured Streets in these areas. |
| 37 | | === Summary of the most important changes from version 1.011 to 2.0 === |
| | 33 | For comparison, here is a part of my "test center". |
| | 34 | |
| | 35 | JOSM default internal style compared to Coloured Streets 3.0: |
| | 36 | |
| | 37 | [[Image(JOSM_internal_compared_to_Coloured_Streets3.0.gif)]] |
| | 38 | |
| | 39 | ^(This picture was created with a modified version of Coloured Streets to ensure that all colours show up top.)^ |
| | 40 | |
| | 41 | === Changelog === |
| | 42 | ==== Version 2.0.xx to 3.0.xx ==== |
| | 43 | * Instead of analyzing the first letter of the street name for colour choice, now a crc32-hashcode is generated and based on this the colours are choosen. This results in the following listed advantages. Special thanks at this point to the development team of JOSM, which special for this mappaint style implemented a new function. Without this new function the following improvements wouldn't be possible. |
| | 44 | * Different streets with the same first letter, which are near to each other are now displayed in different colours. |
| | 45 | * Typos somewhere in the street name are displayed with a different colour. |
| | 46 | * It works now worldwide, also in countries, where a lot of streets start and end with the same letter. |
| | 47 | * It works now for all unicode characters automatically and not every single unicode character needs to added manually to the mappaint style code. |
| | 48 | * The former alternative version of Coloured Streets (which analyzed the last letter) is now superfluous. |
| | 49 | * An option is implemented, which sets wether the warning message "no addr!" on streets with addr:postcode=* is displayed (default is: warning message is displayed). |
| | 50 | * An option is implemented, which sets wether name:prefix and name:suffix for the colour choice of names of streets an associatedStreet relations are taken into account (default is: name:prefix and name:suffix are not taken into account). |
| | 51 | * highway=pedestrian which are tagged as area (closed way with area=yes, or multipolygon) are now displayed with the correct color and fill-color and with the name in the center (instead of on the outline). name:prefix and name:suffix are also supported if it is enabled in the options. |
| | 52 | * [osmwiki:Key:addr:place addr:place] is now also supported. It is handled equal to addr:street. That means addresses with addr:housenumber and addr:place are displayed like those with addr:housenumber and addr:street. The missing street warning message (street?) is not displayed, if there is addr:place. |
| | 53 | * A warning is now displayed if a line with addr:interpolation=* has other addr:*=* tags ("addr:interpolation shouldn't have other addr:*=* tags!") |
| | 54 | * highway=platform is no longer coloured like streets, because it doesn't belong to addresses |
| | 55 | * The colour !#7cfc00 (former for X) was deleted, because it was to similar to !#adff2f (former for M) |
| | 56 | * There are 4 new colours: |
| | 57 | * !#b88142 |
| | 58 | * !#a3fe8f |
| | 59 | * !#b8674c |
| | 60 | * !#fcff5c |
| | 61 | * The following colours slightly changed for better distinction with other colors: |
| | 62 | * !#ffd700 (former for K) changed to !#ffe400 |
| | 63 | * !#824b00 (former for P) changed to !#824600 |
| | 64 | * !#808000 (former for W) changed to !#707000 |
| | 65 | * Transparencies of the fill colours of landuses are increased to improve the display of all the different address colours. |
| | 66 | * The fill colour of place=* is now disabled to improve the display of all the different address colours. |
| | 67 | * The display of the warning message "street?" for areas is minimal improved |
| | 68 | * Some code optimizations |
| | 69 | |
| | 70 | ==== Version 1.011 to 2.0.xx ==== |
| 67 | | * Buildings which usually do not contain address data are displayed toned down. This concerns in detail areas with one of the following values of the key building: bunker, cabin, farm_auxiliary, garage, garages, hut, roof, shed. |
| | 95 | * Buildings which usually do not contain address data are displayed toned down. (It does only tone down if there is in fact no addr:street=* and no addr:housenumber=* tag.) In detail this applies to areas with one of the following values of the key building: bunker, cabin, farm_auxiliary, garage, garages, hut, roof, shed. |
| 97 | | Der Mappaint style "Coloured Streets" erleichtert die Arbeit mit Adressen. |
| 98 | | |
| 99 | | Straßen, Häuser und Adressnodes mit gleichem Anfangsbuchstabe des Straßennamens werden mit der gleichen Farbe hinterlegt. Dadurch kann auf einen Blick erkannt werden, welches Haus zu welcher Straße gehört. Weiterhin wird auf fehlende oder fehlerhafte Daten hingewiesen. Ist addr:street vorhanden aber kein addr:housenumber, so wird "number?" ausgegeben. Ist addr:housenumber vorhanden, jedoch kein addr:street, so wird "street?" ausgegeben. Haben Straßen (Wege mit highway=*) ein addr:*-tag, so wird "no addr!" ausgegeben. Coloured Streets ist auch sehr gut kompatibel mit dem Style [LessObtrusiveNodes Unaufdringlichere Nodes]. |
| 100 | | |
| 101 | | Es gibt eine [[Coloured_Streets_alternative_version|alternative Version von Coloured Streets]]. Diese unterschiedet sich in 2 Punkten zur normalen Version: |
| 102 | | * Es wird statt des ersten der letzte Buchstabe ausgewertet. Dies ist geeignet für Länder, wo viele Straßen mit dem gleichen Buchstaben beginnen (z.B. in Frankreich "Rue ..."). In diesem Zusammenhang werden auch Kleinbuchstaben für die Farbwahl unterstützt. |
| 103 | | * Die Meldungen "no addr!" für Wege mit highway=* und einem addr:*=* ist vollständig deaktiviert. Ich habe in Russland viele Straßen gesehen, die mit addr:postcode gataggt sind. Ich vermute dies ist in Russland so Konsens. |
| | 112 | Der Mappaint-Stil "Coloured Streets" '''erleichtert die Arbeit mit Adressen.''' |
| | 113 | |
| | 114 | Straßen, Häuser und Adressnodes mit gleichem Straßenname werden mit der '''gleichen Farbe''' hinterlegt. Dadurch kann auf einen Blick erkannt werden, welches Haus zu welcher Straße gehört. Ausgewertet werden dabei bei Straßen der Schlüssel "name" und bei Adressen der Schlüssel "addr:street" bzw. bei associatedStreet-Relationen für die Hausnummern der Schlüssel "name" der Relation. Weiterhin wird auf fehlende oder fehlerhafte Daten hingewiesen. Fehlt addr:housenumber, so wird "number?" ausgegeben. Fehlt addr:street, so wird "street?" ausgegeben. Haben Straßen (Wege mit highway=*) ein addr:*-tag, so wird "no addr!" ausgegeben. Coloured Streets ist auch sehr gut kompatibel mit dem Mappaint-Stil [LessObtrusiveNodes Unaufdringlichere Nodes]. |
| | 115 | |
| | 116 | Coloured Streets verwendet '''33 speziell ausgewählte Farben''', welche durchschnittlich gleich oft verwendet werden. In Einzelfällen kann es trotzdem zur gleichen Farbe von benachbarten Straßen kommen. Dies liegt in der begrenzten Anzahl an eindeutig unterscheidbaren Farben begründet und lässt sich nicht völlig ausschließen. |
| | 117 | |
| | 118 | Es gibt '''2 Einstellungen''', mit denen, man den Mappaint-Stil anpassen kann. Dazu muss jeweils eine Farbe im Einstellungsmenü von JOSM angepasst werden. (Menü:Bearbeiten -> Einstellungen -> Anzeigeeinstellungen -> Farben). Weiß bedeutet "Ja", schwarz bedeutet "Nein". Nach einer Änderung ist ein JOSM Neustart notwendig. |
| | 119 | * Möchte man "addr:postcode=*" an Straßen erlauben (und für diese Fälle keine Warnmeldung sehen), so stellt man die Farbe "Zeichenstil Coloured Streets: boolean.allow.postcode.on.highway" auf weiß (standard ist schwarz = nicht erlauben = Warnung wird angezeigt). |
| | 120 | * Möchte man, dass [osmwiki:Proposed_features/Directional_Prefix_%26_Suffix_Indication name:prefix und name:suffix] für Namen von Straßen und associatedStreet-Relationen berücksichtigt werden, so stellt man die Farbe "Zeichenstil Coloured Streets: boolean.support.prefix.and.suffix.on.highway.names" auf weiß (standard ist schwarz = wird nicht berücksichtigt = nur der Schlüssel "name" wird ausgewertet). Zumindest in Teilen der USA und von Griechenland werden Namen von Straßen in diese Bestandteile aufgeteilt. Durch Aktivierung dieser Option kann man so in diesen Gebieten bessere Ergebnisse mit Coloured Streets erzielen. |
| 121 | | === Zusammenfassung der wichtigsten Änderungen von Version 1.011 zu 2.0 === |
| | 138 | Zum Vergleich hier ein Ausschnit meines "Testcenters". |
| | 139 | |
| | 140 | JOSM standard interner Stil verglichen mit Coloured Streets 3.0 |
| | 141 | |
| | 142 | [[Image(JOSM_internal_compared_to_Coloured_Streets3.0.gif)]] |
| | 143 | |
| | 144 | ^(Dieses Bild wurde mit einer veränderten Version von Coloured Streets erstellt, um sicherzustellen, dass oben alle Farben gezeigt werden.)^ |
| | 145 | |
| | 146 | === Changelog === |
| | 147 | ==== Version 2.0.xx zu 3.0.xx ==== |
| | 148 | * Anstelle des ersten Buchstabens des Straßennamens für die Farbwahl auszuwerten wird nun ein crc32-Hashcode des Straßennamens berechnet und anhand dessen die Farbwahl getroffen. Dies führt zu den nachfolgend aufgelisteten Vorteilen. Besonderer Dank gilt hier dem Entwicklerteam von JOSM, die extra für diesen Mappaint-Stil eine neue Funktion in JOSM implementiert haben. Ohne diese neue Funktion wären die nachfolgenden Verbesserungen nicht möglich gewesen. |
| | 149 | * Nebeneinanderliegende Straßennamen mit selbem Anfangsbuchstabe werden nun auch in verschiedenen Farben dargestellt |
| | 150 | * Rechschreibfehler irgendwo innerhalb des Straßennamens werden duch eine andere Farbe angezeigt |
| | 151 | * Coloured Streets funktioniert nun weltweit, auch in Ländern, wo viele Straßennamen mit gleichem Buchstabe beginnen und enden |
| | 152 | * Es werden damit automatisch alle Unicodezeichen unterstützt und es muss nicht mehr jedes einzelne Unicodezeichen separat dem Mappaint-Stil hinzugefügt werden |
| | 153 | * Die ehemalige alternative Version von Coloured Streets (welche den letzten Buchstaben auswertete) ist damit überflüssig |
| | 154 | * Es wurde eine Option eingefügt, mit der man einstellen kann, ob die Warnmeldung "no addr!" an Straßen mit addr:postcode angezeigt wird (Standard ist: Warnmeldung wird angezeigt). |
| | 155 | * Es wurde eine Option eingefügt, mit der man einstellen kann, ob name:prefix und name:suffix bei der Farbwahl von Namen von Straßen und associatedStreet-Relationen berücksichtigt werden (Standard ist: name:prefix und name:suffix werden nicht berücksichtigt). |
| | 156 | * highway=pedestrian, welche als Fläche eingetragen sind (geschlossene Linie mit area=yes, oder Multipolygon) werden jetzt in der richtigen Farbe und Füllfarbe und mit dem Namen in der Mitte (anstatt auf der Umrisslinie) angezeigt. name:prefix und name:suffix werden ebenfalls unterstützt, falls es in den Optionen aktiviert ist. |
| | 157 | * [osmwiki:Key:addr:place addr:place] wird jetzt ebenfalls unterstützt. Es wird genauso wie addr:street gehandhabt. Das bedeutet Adressen mit addr:housenumber und addr:place werden angezeigt wie solche mit addr:housenumber und addr:street. Die fehlende-Straße-Warnmeldung (street?) wird nicht angezeigt, wenn addr:place vorhanden ist. |
| | 158 | * Es wird nun eine Warnmeldung ausgegeben, wenn ein Linie mit addr:interpolation=* weitere addr:*=* enthält ("addr:interpolation shouldn't have other addr:*=* tags!") |
| | 159 | * highway=platform wird nicht mehr wie Straßen eingefärbt, da es nicht zu Adressen gehört |
| | 160 | * Die Farbe !#7cfc00 (ehemals für X) wurde entfernt, da sie zu ähnlich mit !#adff2f (ehemals für M) war |
| | 161 | * Es gibt 4 neue Farben: |
| | 162 | * !#b88142 |
| | 163 | * !#a3fe8f |
| | 164 | * !#b8674c |
| | 165 | * !#fcff5c |
| | 166 | * Die folgenden Farben wurden geringfügig geändert zur besseren Unterscheidung mit anderen Farben: |
| | 167 | * !#ffd700 (ehemals für K) geändert zu !#ffe400 |
| | 168 | * !#824b00 (ehemals für P) geändert zu !#824600 |
| | 169 | * !#808000 (ehemals für W) geändert zu !#707000 |
| | 170 | * Die Transparenzen der Füllfarben von landuses wurden erhöht für eine bessere Darstellung der verschiedenen Adress-Farben. |
| | 171 | * Die Füllfarbe von place=* ist jetzt deaktiviert für eine bessere Darstellung der verschiedenen Adress-Farben. |
| | 172 | * Die Darstellung der Warnmeldung "street?" bei Flächen wurde minimal verbessert |
| | 173 | * Ein paar Code-Optimierungen |
| | 174 | |
| | 175 | ==== Version 1.011 zu 2.0.xx ==== |
| 151 | | * Gebäude, welche in der Regel keine Adressdaten besitzen werden schwächer dargestellt. Dies betrifft im einzelnen Flächen mit einem der folgenden Werte im key building= : bunker, cabin, farm_auxiliary, garage, garages, hut, roof, shed. |
| | 200 | * Gebäude, welche in der Regel keine Adressdaten besitzen werden schwächer dargestellt. (Dies gilt nur, wenn tatsächlich kein addr:street und keine addr:housenumber=* tag vorhanden ist.) Dies betrifft im einzelnen Flächen mit einem der folgenden Werte im key building= : bunker, cabin, farm_auxiliary, garage, garages, hut, roof, shed. |