Changes between Version 33 and Version 41 of Styles/Maxspeed
- Timestamp:
- (multiple changes)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Styles/Maxspeed
v33 v41 14 14 * maxspeed:variable:backward 15 15 16 This style was mainly developed for streets but can be used on railways too. 17 16 18 [[left-right-hand-traffic|Left-hand and right-hand traffic]] are always taken into account. Example: 17 19 … … 27 29 28 30 [attachment:Testcenter.osm Testcenter] for quality assurance of this style. 31 32 You can disable the support of the RU: tagging scheme in the [wiki:Help/Dialog/MapPaint/StyleSettings style settings] of this mappaint style. 29 33 30 34 Known problems: … … 34 38 35 39 == Changelog == 36 === Version 2. 5.xx to 2.7.xx===40 === Version 2.7 === 37 41 * Add support of maxspeed=* + maxspeed:direction:conditional=* (without maxspeed:direction=*), fixes bug in version 2.5 38 42 * Better display of error messages … … 41 45 * If maxspeed and maxspeed:direction is tagged together (tagging error) it is now no longer displayed both stacked, but direction value overrides normal maxspeed value 42 46 * Support combinations of conditional and variable maxspeed 43 === Version 2.1.xx to 2.5.xx === 47 * Add 140 48 === Version 2.5 === 44 49 * Add support of maxspeed:conditional, maxspeed:forward:conditional and maxspeed:backward:conditional 45 50 * Add error message for wrong value of conditional maxspeed 46 51 * Add error message for conditional maxspeed without default maxspeed 47 52 * Add in file table of contents and numbered headings for better understandability of the code structure 48 === Version 2. 0.xx to 2.1.xx===49 * Add support of alternitive tagging scheme `maxspeed=RU:living_street`, `maxspeed=RU:urban`, `maxspeed=RU:rural`, `maxspeed=RU:motorway`. This can be disabled in the [wiki:Help/Dialog/MapPaint #Stylesettings style settings] of this mappaint style.53 === Version 2.1 === 54 * Add support of alternitive tagging scheme `maxspeed=RU:living_street`, `maxspeed=RU:urban`, `maxspeed=RU:rural`, `maxspeed=RU:motorway`. This can be disabled in the [wiki:Help/Dialog/MapPaint/StyleSettings style settings] of this mappaint style. 50 55 * Add style for `maxspeed=5` 51 56 * Change color of `maxspeed=none` for better visibility on aerial imagery 52 === Version 1.5 to 2.0.xx===57 === Version 2.0 === 53 58 * change from xml to mapcss 54 59 * support of maxspeed:forward and maxspeed:backward (considering left and right hand traffic) … … 58 63 * added error message for wrong maxspeed values (like ''35mph'' or ''35 m/h'') 59 64 * added error message if maxspeed direction is opposed to oneway direction 60 * adjusted to most used values according to [http ://taginfo.openstreetmap.org/keys/maxspeed#values taginfo]65 * adjusted to most used values according to [https://taginfo.openstreetmap.org/keys/maxspeed#values taginfo] 61 66 * added ''20'', ''45'', ''none'' 62 67 * removed unused values like ''32.19'' 63 68 * adjusted opacities, widths and some colors for better display and distinction between the colors 64 69 * widths depends on zoom level 65 70 === Version 1.5 === 71 * Start version 66 72 67 73 == Code == … … 119 125 icon: "maxspeed_icon.svg"; 120 126 author: "Rubke, Dirk Stöcker, Vclaw, Klumbumbus"; 121 link: "http://josm.openstreetmap.de/wiki/Styles/Maxspeed"; 122 watch-modified: true; 127 link: "https://josm.openstreetmap.de/wiki/Styles/Maxspeed"; 123 128 min-josm-version: "7450"; /* because of user settings */ 124 129 } … … 127 132 title: "Höchstgeschwindigkeit"; 128 133 description: "Anzeige der Höchstgeschwindigkeiten von Linien in der Kartenanzeige."; 129 link: "http ://josm.openstreetmap.de/wiki/De:Styles/Maxspeed";134 link: "https://josm.openstreetmap.de/wiki/De:Styles/Maxspeed"; 130 135 } 131 136 … … 281 286 color: speed_130#c0f100; 282 287 } 288 way["maxspeed"="140"]::maxspeedlayer 289 { 290 set maxspeed; 291 color: speed_140#438100; 292 } 283 293 /* 3.2 - mph */ 284 294 way["maxspeed"="5 mph"]::maxspeedlayer … … 433 443 { 434 444 dashes-background-color: speed_130#c0f100; 445 } 446 way.cond_kmh[prop(maxsp_cond, maxspeedlayer)="140"]::maxspeedlayer 447 { 448 dashes-background-color: speed_140#438100; 435 449 } 436 450 /* 3.3.2 - mph */ … … 627 641 set maxspeed_right; 628 642 right-casing-color: speed_130#c0f100; 643 } 644 way["maxspeed:forward"="140"]:righthandtraffic::maxspeedcasinglayer, 645 way["maxspeed:backward"="140"]!:righthandtraffic::maxspeedcasinglayer 646 { 647 set maxspeed_right; 648 right-casing-color: speed_140#438100; 629 649 } 630 650 /* 4.2 - mph */ … … 815 835 right-casing-dashes-background-color: speed_130#c0f100; 816 836 } 837 way.cond_forward_kmh[prop(maxsp_forward_cond, maxspeedcasinglayer)="140"]:righthandtraffic::maxspeedcasinglayer, 838 way.cond_backward_kmh[prop(maxsp_backward_cond, maxspeedcasinglayer)="140"]!:righthandtraffic::maxspeedcasinglayer 839 { 840 right-casing-dashes-background-color: speed_140#438100; 841 } 817 842 /* 4.3.2 - mph */ 818 843 way.cond_forward_mph[prop(maxsp_forward_cond, maxspeedcasinglayer)="5"]:righthandtraffic::maxspeedcasinglayer, … … 1033 1058 set maxspeed_left; 1034 1059 left-casing-color: speed_130#c0f100; 1060 } 1061 way["maxspeed:forward"="140"]!:righthandtraffic::maxspeedcasinglayer, 1062 way["maxspeed:backward"="140"]:righthandtraffic::maxspeedcasinglayer 1063 { 1064 set maxspeed_left; 1065 left-casing-color: speed_140#438100; 1035 1066 } 1036 1067 /* 5.2 - mph */ … … 1220 1251 { 1221 1252 left-casing-dashes-background-color: speed_130#c0f100; 1253 } 1254 way.cond_forward_kmh[prop(maxsp_forward_cond, maxspeedcasinglayer)="140"]!:righthandtraffic::maxspeedcasinglayer, 1255 way.cond_backward_kmh[prop(maxsp_backward_cond, maxspeedcasinglayer)="140"]:righthandtraffic::maxspeedcasinglayer 1256 { 1257 left-casing-dashes-background-color: speed_140#438100; 1222 1258 } 1223 1259 /* 5.3.2 - mph */