Files
iD/data/deprecated.json
Bryan Housel 8fb5f3a5a1 Degunk data sources by named-importing single toplevel key
See: https://github.com/openstreetmap/iD/issues/3403#issuecomment-245150454

This change drops the iD.js bundle size from 4.5MB to 3.4MB, and makes it
much more readable, which is nice for debugging.  This does not affect the
minified bundle size.
2016-10-26 16:29:49 -04:00

91 lines
2.1 KiB
JSON

{
"dataDeprecated": [
{
"old": { "amenity": "firepit" },
"replace": {
"leisure": "firepit"
}
},
{
"old": { "barrier": "wire_fence" },
"replace": {
"barrier": "fence",
"fence_type": "chain"
}
},
{
"old": { "barrier": "wood_fence" },
"replace": {
"barrier": "fence",
"fence_type": "wood"
}
},
{
"old": { "highway": "ford" },
"replace": {
"ford": "yes"
}
},
{
"old": { "highway": "stile" },
"replace": {
"barrier": "stile"
}
},
{
"old": { "highway": "incline" },
"replace": {
"highway": "road",
"incline": "up"
}
},
{
"old": { "highway": "incline_steep" },
"replace": {
"highway": "road",
"incline": "up"
}
},
{
"old": { "highway": "unsurfaced" },
"replace": {
"highway": "road",
"incline": "unpaved"
}
},
{
"old": { "landuse": "wood" },
"replace": {
"landuse": "forest",
"natural": "wood"
}
},
{
"old": { "natural": "marsh" },
"replace": {
"natural": "wetland",
"wetland": "marsh"
}
},
{
"old": { "power_source": "*" },
"replace": {
"generator:source": "$1"
}
},
{
"old": { "power_rating": "*" },
"replace": {
"generator:output": "$1"
}
},
{
"old": { "shop": "organic" },
"replace": {
"shop": "supermarket",
"organic": "only"
}
}
]
}