Changeset 15533 in josm


Ignore:
Timestamp:
2019-11-20T16:48:16+01:00 (3 weeks ago)
Author:
Klumbumbus
Message:
  • fix #18343 - don't render man_made=embankment pattern on both sides when used on highway/railway/waterway
  • fix #17643 - deprecate barrier=embankment in favor of man_made=embankment
Location:
trunk
Files:
2 edited

Legend:

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

    r15532 r15533  
    18321832  group: tr("deprecated tagging");
    18331833}
     1834
     1835/* #17643 */
     1836way[barrier=embankment] {
     1837  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1838  suggestAlternative: "man_made=embankment";
     1839  suggestAlternative: "embankment=yes";
     1840  group: tr("deprecated tagging");
     1841}
  • trunk/styles/standard/elemstyles.mapcss

    r15528 r15533  
    14941494way[embankment?][highway],
    14951495way[embankment?][railway],
    1496 way[embankment?][waterway],
     1496way[embankment?][waterway] {
     1497    repeat-image: "presets/misc/embankment-pattern-centered.png";
     1498}
    14971499way[man_made=embankment][highway],
    14981500way[man_made=embankment][railway],
    14991501way[man_made=embankment][waterway] {
    1500     repeat-image: "presets/misc/embankment-pattern-centered.png";
     1502    repeat-image: "presets/misc/embankment-pattern.png";
     1503    repeat-image-align: top;
     1504    repeat-image-offset: -1;
    15011505}
    15021506way[man_made=pipeline][!waterway] {
Note: See TracChangeset for help on using the changeset viewer.