Changes between Version 6 and Version 7 of Styles/Direction
- Timestamp:
- 2026-07-19T15:26:44+02:00 (3 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/Direction
v6 v7 4 4 5 5 == Description 6 The mappaint style "Direction" displays the following direction key: [osmwiki:Key:direction direction], [osmwiki:Tag:highway=street_lamp#Typical_attributes light:direction] and[osmwiki:Key:camera:direction camera:direction].6 The mappaint style "Direction" displays the following direction key: [osmwiki:Key:direction direction], [osmwiki:Tag:highway=street_lamp#Typical_attributes light:direction], [osmwiki:Key:camera:direction camera:direction] and [osmwiki:Key:seamark:notice:orientation seamark:notice:orientation]. 7 7 8 8 For ideas/questions/bugs/suggestions or similar please write a message to [osmwww:user/Hanikatu Hanikatu]. … … 22 22 icon: "Ausrichtung.svg"; /* small icon shown in the menu next to the title */ 23 23 version: "1.1.[[revision]]_[[date]]"; 24 description: "Shows the direction of object or light.";24 description: "Shows the direction of object, light and water impact."; 25 25 author: "Hanikatu"; 26 26 link: "https://josm.openstreetmap.de/wiki/Styles/Direction"; … … 29 29 meta[lang=de] { 30 30 title: "Ausrichtung"; 31 description: "Zeigt die Ausrichtung vom Objekt oder Lichtan.";31 description: "Zeigt die Ausrichtung vom Objekt, Licht und Wasseraufprall an."; 32 32 link: "https://josm.openstreetmap.de/wiki/De:Styles/Direction"; 33 33 } … … 51 51 { 52 52 /* alles was 'direction' enthält (außer give_way und stop) als Fehler markieren */ 53 /* doto: herausfinden, wie man individuelle Kreise erzeugt */53 /* TODO: herausfinden, wie man individuelle Kreise erzeugt */ 54 54 55 55 symbol-shape: square; … … 83 83 84 84 85 /* --------------------- Flutlicht anzeigen ------------------------ */ 85 /* --------------------- Flutlichtrichtung anzeigen ------------------------ */ 86 86 87 87 node|z17-[light:direction =~ /[0-9]/][light:direction !~ /[-]/]::randg{ … … 104 104 icon-rotation: cardinal_to_radians( tag("light:direction") ); 105 105 } 106 107 106 108 107 … … 128 127 icon-rotation: cardinal_to_radians( tag("camera:direction") ); 129 128 } 129 130 131 /* --------------------- Wasseraufprallrichtung anzeigen ------------------------ */ 132 133 node|z17-[seamark:notice:orientation =~ /[0-9]/][seamark:notice:orientation !~ /[-]/]::randg{ 134 /* nur ganze Grad-Zahlen - Fehler wird aufgehoben */ 135 136 icon-image: "Ausrichtung.svg"; 137 z-index:-100; 138 icon-width:20; 139 140 icon-rotation: degree_to_radians( tag("seamark:notice:orientation") ); 141 } 142 143 node|z17-[seamark:notice:orientation =~ /[nsweNSWE]/][seamark:notice:orientation !~ /[^nsweNSWE]/]::randg{ 144 /* nur ganze Himmelsrichtungen - Fehler wird aufgehoben */ 145 146 icon-image: "Ausrichtung.svg"; 147 z-index:-100; 148 icon-width:20; 149 150 icon-rotation: cardinal_to_radians( tag("seamark:notice:orientation") ); 151 } 130 152 }}}
