Changeset 13084 in josm


Ignore:
Timestamp:
2017-11-05T16:45:05+01:00 (13 days ago)
Author:
Klumbumbus
Message:

see #15503 - simplify mapcss rules, warn about boundary=administrative without admin_level

Location:
trunk
Files:
2 edited

Legend:

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

    r13032 r13084  
    116116
    117117/* {0.tag} without {1.key} (warning level) */
     118way[boundary=administrative][!admin_level],
     119relation[boundary=administrative][!admin_level],
    118120relation[route=bicycle][!network][type=route],
    119121relation[route=hiking][!network][type=route],
  • trunk/styles/standard/elemstyles.mapcss

    r13083 r13084  
    44154415way[boundary=protected_area]::core_boundary,
    44164416way[boundary=administrative]::core_boundary,
     4417relation[boundary=administrative] > way::core_boundary,
    44174418way[boundary=postal_code]::core_boundary,
    44184419way[boundary=political]::core_boundary,
     
    44254426    dashes: 9,9;
    44264427}
    4427 way[boundary=administrative][admin_level=9]::core_boundary,
    4428 relation[boundary=administrative][admin_level=9] > way::core_boundary,
    4429 way[boundary=administrative][admin_level=10]::core_boundary,
    4430 relation[boundary=administrative][admin_level=10] > way::core_boundary {
    4431     z-index: 2;
    4432     modifier: false;
    4433     width: 1;
    4434     color: boundary#FF6600;
    4435     dashes: 9,9;
    4436 }
     4428/* admin_level >=9 use the default width of 1 defined above */
    44374429way[boundary=administrative][admin_level=7]::core_boundary,
    44384430relation[boundary=administrative][admin_level=7] > way::core_boundary,
    44394431way[boundary=administrative][admin_level=8]::core_boundary,
    44404432relation[boundary=administrative][admin_level=8] > way::core_boundary {
    4441     z-index: 2;
    4442     modifier: false;
    44434433    width: 2;
    4444     color: boundary#FF6600;
    4445     dashes: 9,9;
    44464434}
    44474435way[boundary=administrative][admin_level=5]::core_boundary,
     
    44494437way[boundary=administrative][admin_level=6]::core_boundary,
    44504438relation[boundary=administrative][admin_level=6] > way::core_boundary {
    4451     z-index: 2;
    4452     modifier: false;
    44534439    width: 3;
    4454     color: boundary#FF6600;
    4455     dashes: 9,9;
    44564440}
    44574441way[boundary=administrative][admin_level=3]::core_boundary,
     
    44594443way[boundary=administrative][admin_level=4]::core_boundary,
    44604444relation[boundary=administrative][admin_level=4] > way::core_boundary {
    4461     z-index: 2;
    4462     modifier: false;
    44634445    width: 4;
    4464     color: boundary#FF6600;
    4465     dashes: 9,9;
    44664446}
    44674447way[boundary=administrative][admin_level=1]::core_boundary,
     
    44694449way[boundary=administrative][admin_level=2]::core_boundary,
    44704450relation[boundary=administrative][admin_level=2] > way::core_boundary {
    4471     z-index: 2;
    4472     modifier: false;
    44734451    width: 5;
    4474     color: boundary#FF6600;
    4475     dashes: 9,9;
    44764452}
    44774453node[boundary=national],
Note: See TracChangeset for help on using the changeset viewer.