Changeset 6527 in josm
- Timestamp:
- 2013-12-25T01:28:44+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/deprecated.mapcss
r6512 r6527 1 1 *[barrier=wire_fence] { 2 2 throwWarning: tr("{0}={1} is deprecated", "barrier", "wire_fence"); 3 fixRemove: "barrier";4 3 fixAdd: "barrier=fence"; 5 4 fixAdd: "fence_type=chain_link"; … … 10 9 *[barrier=wood_fence] { 11 10 throwWarning: tr("{0}={1} is deprecated", "barrier", "wood_fence"); 12 fixRemove: "barrier";13 11 fixAdd: "barrier=fence"; 14 12 fixAdd: "fence_type=wood"; … … 49 47 /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */ 50 48 throwWarning: tr("{0}={1} is deprecated", "highway", "unsurfaced"); 51 fixRemove: "highway";52 49 fixAdd: "highway=road"; 53 50 fixAdd: "incline=unpaved"; … … 64 61 /* from http://wiki.openstreetmap.org/wiki/Deprecated_features */ 65 62 throwWarning: tr("{0}={1} is deprecated", "natural", "marsh"); 66 fixRemove: "natural";67 63 fixAdd: "natural=wetland"; 68 64 fixAdd: "wetland=marsh"; … … 89 85 /* from http://wiki.openstreetmap.org/wiki/Tag:shop=organic */ 90 86 throwWarning: tr("{0}={1} is deprecated", "shop", "organic"); 91 fixRemove: "shop";92 87 fixAdd: "shop=supermarket"; 93 88 fixAdd: "organic=only"; … … 97 92 /* from http://wiki.openstreetmap.org/wiki/Key:bicycle_parking */ 98 93 throwWarning: tr("{0}={1} is deprecated", "bicycle_parking", "sheffield"); 99 fixRemove: "bicycle_parking";100 94 fixAdd: "bicycle_parking=stands"; 101 95 } … … 111 105 /* fix #8132 - http://wiki.openstreetmap.org/wiki/Tag:sport=gaelic_football */ 112 106 throwWarning: tr("{0}={1} is deprecated", "sport", "gaelic_football"); 113 fixRemove: "sport";114 107 fixAdd: "sport=gaelic_games"; 115 108 } … … 124 117 *[generator:method=dam] { 125 118 throwWarning: tr("{0}={1} is deprecated", "generator:method", "dam"); 126 fixRemove: "generator:method";127 119 fixAdd: "generator:method=water-storage"; 128 120 } … … 130 122 *[generator:method=pumped-storage] { 131 123 throwWarning: tr("{0}={1} is deprecated", "generator:method", "pumped-storage"); 132 fixRemove: "generator:method";133 124 fixAdd: "generator:method=water-pumped-storage"; 134 125 } … … 136 127 *[generator:method=pumping] { 137 128 throwWarning: tr("{0}={1} is deprecated", "generator:method", "pumping"); 138 fixRemove: "generator:method";139 129 fixAdd: "generator:method=water-pumped-storage"; 140 130 } … … 162 152 /* see #8434 - http://wiki.openstreetmap.org/wiki/Proposed_features/monitoring_station */ 163 153 throwWarning: tr("{0}={1} is deprecated", "man_made", "measurement_station"); 164 fixRemove: "man_made";165 154 fixAdd: "man_made=monitoring_station"; 166 155 } … … 194 183 fixRemove: "layer"; 195 184 } 185 186 *[emergency=permissive] { 187 /* see #9458 - emergency=permissive makes no sense */ 188 throwWarning: tr("{0}={1} makes no sense", "emergency", "permissive"); 189 fixAdd: "emergency=yes"; 190 assertMatch: "way emergency=permissive"; 191 assertNoMatch: "way emergency=designated"; 192 }
Note:
See TracChangeset
for help on using the changeset viewer.