Changeset 8137 in josm


Ignore:
Timestamp:
2015-03-13T22:23:55+01:00 (10 years ago)
Author:
Klumbumbus
Message:

fix #10346 - drop rendering of bridge/tunnel/noexit/motorroad = true/1, add validator warning for oneway=1

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/deprecated.mapcss

    r8135 r8137  
    405405  suggestAlternative: "natural=valley";
    406406}
     407
     408/* see #10346 */
     409way[oneway=1] {
     410  throwWarning: tr("{0} is deprecated", "{0.tag}");
     411  suggestAlternative: "oneway=yes";
     412  fixAdd: "oneway=yes";
     413}
  • trunk/styles/standard/elemstyles.mapcss

    r8136 r8137  
    109109/******************/
    110110
    111 way[bridge?]::core_bridge,
     111way[bridge=yes]::core_bridge,
    112112way[bridge=viaduct]::core_bridge,
    113113way[bridge=swing]::core_bridge,
     
    124124    opacity: 0.9;
    125125}
    126 way[tunnel?]::core_tunnel,
     126way[tunnel=yes]::core_tunnel,
    127127way[tunnel=culvert]::core_tunnel,
    128128way[tunnel=building_passage]::core_tunnel,
     
    232232    set icon_z17;
    233233}
    234 node[noexit?] {
     234node[noexit=yes] {
    235235    icon-image: "vehicle/restriction/dead_end.png";
    236236    set icon_z17;
     
    474474/****************/
    475475
    476 way[motorroad?]::core_motorroad {
     476way[motorroad=yes]::core_motorroad {
    477477    major-z-index: 2;
    478478    z-index: -1;
Note: See TracChangeset for help on using the changeset viewer.