Ignore:
Timestamp:
2014-09-04T18:22:52+02:00 (8 years ago)
Author:
Don-vip
Message:

fix #10447 - support new bridge scheme:

  • presets: update bridge values, add bridge:structure, bridge:movable, new items for bridge=movable and bridge:support, items moved to new group "Man Made/Bridges" (based on work from RicoZ and geozeisig)
  • validator: new deprecation and combinations warnings
File:
1 edited

Legend:

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

    r7449 r7490  
    261261  assertMatch: "way natural=land";
    262262}
     263
     264/* see #10447 - https://wiki.openstreetmap.org/wiki/Proposed_features/Bridge_types#Deprecated_bridge_key_values */
     265*[bridge=causeway] {
     266  throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
     267  suggestAlternative: "ford=yes";
     268  suggestAlternative: "bridge=low_water_crossing";
     269  suggestAlternative: "embankment=yes";
     270}
     271
     272*[bridge=swing] {
     273  throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
     274  suggestAlternative: "bridge:movable=swing";
     275  suggestAlternative: "bridge:structure=simple-suspension";
     276}
     277
     278*[bridge=suspension] {
     279  throwWarning: tr("{0}={1} is deprecated", "{0.key}", "{0.value}");
     280  fixAdd: "bridge=yes";
     281  fixAdd: "bridge:structure=suspension";
     282}
Note: See TracChangeset for help on using the changeset viewer.