Ignore:
Timestamp:
2013-11-15T01:43:48+01:00 (10 years ago)
Author:
Don-vip
Message:

fix #8434 - Full support of man_made=monitoring_station instead of man_made=measurement_station:

  • rename icon
  • update presets
  • update map style
  • deprecate old tags
  • fix a bug in tagchecker where keys defined inside checkgroups were not known from validator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/DeprecatedTags.java

    r6346 r6385  
    9494                testAndRemove("amenity", "emergency_phone").
    9595                add("emergency", "phone"));
    96         // http://wiki.openstreetmap.org/wiki/Tag:sport=gaelic_football
    97         // fix #8132
     96        // fix #8132 - http://wiki.openstreetmap.org/wiki/Tag:sport=gaelic_football
    9897        checks.add(new DeprecationCheck(2117).
    9998                testAndRemove("sport", "gaelic_football").
    10099                add("sport", "gaelic_games"));
    101         // http://wiki.openstreetmap.org/wiki/Tag:power=station
    102         // see #8847 / #8961
     100        // see #8847 / #8961 - http://wiki.openstreetmap.org/wiki/Tag:power=station
    103101        checks.add(new DeprecationCheck(2118).
    104102                test("power", "station").
     
    114112                testAndRemove("generator:method", "pumping").
    115113                add("generator:method", "water-pumped-storage"));
    116         // http://wiki.openstreetmap.org/wiki/Key:fence_type
    117         // see #8962
     114        // see #8962 - http://wiki.openstreetmap.org/wiki/Key:fence_type
    118115        checks.add(new DeprecationCheck(2122).
    119116                test("fence_type", "chain").
    120117                alternative("barrier", "chain").
    121118                alternative("fence_type", "chain_link"));
    122         // http://wiki.openstreetmap.org/wiki/Key:entrance
    123         // see #9000
     119        // see #9000 - http://wiki.openstreetmap.org/wiki/Key:entrance
    124120        checks.add(new DeprecationCheck(2123).
    125121                test("building", "entrance").
    126122                alternative("entrance"));
    127         // Useless tag proposed in internal preset for years
    128         // see #9213
     123        // see #9213 - Useless tag proposed in internal preset for years
    129124        checks.add(new DeprecationCheck(2124).
    130125                testAndRemove("board_type", "board"));
     126        // see #8434 - http://wiki.openstreetmap.org/wiki/Proposed_features/monitoring_station
     127        checks.add(new DeprecationCheck(2125).
     128                testAndRemove("man_made", "measurement_station").
     129                add("man_made", "monitoring_station"));
     130        checks.add(new DeprecationCheck(2126).
     131                testAndRemove("measurement", "water_level").
     132                add("monitoring:water_level", "yes"));
     133        checks.add(new DeprecationCheck(2127).
     134                testAndRemove("measurement", "weather").
     135                add("monitoring:weather", "yes"));
     136        checks.add(new DeprecationCheck(2128).
     137                testAndRemove("measurement", "seismic").
     138                add("monitoring:seismic_activity", "yes"));
     139        checks.add(new DeprecationCheck(2129).
     140                test("monitoring:river_level").
     141                alternative("monitoring:water_level"));
    131142    }
    132143
Note: See TracChangeset for help on using the changeset viewer.