Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning cleaning (and registering/deletion of warning causing instances #1943

Merged
merged 11 commits into from
Oct 18, 2018
63 changes: 25 additions & 38 deletions config/canonical.json
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,7 @@
"amenity/bank|Banco Unión": {
"count": 52,
"nomatch": [
"amenity/bank|UnionBank",
"amenity/money_transfer|Express Union"
],
"tags": {
Expand Down Expand Up @@ -1071,9 +1072,12 @@
},
"amenity/bank|Bancpost": {
"count": 80,
"nomatch": ["amenity/bank|Postbank"],
"tags": {
"amenity": "bank",
"brand": "Bancpost",
"brand:wikidata": "Q4854143",
"brand:wikipedia": "ro:Bancpost",
"name": "Bancpost"
}
},
Expand Down Expand Up @@ -2725,6 +2729,7 @@
},
"amenity/bank|Liberty Bank": {
"count": 53,
"nomatch": ["amenity/fuel|Liberty"],
"tags": {
"amenity": "bank",
"brand": "Liberty Bank",
Expand Down Expand Up @@ -3160,6 +3165,7 @@
"match": [
"amenity/bank|Postbank Finanzcenter"
],
"nomatch": ["amenity/bank|Bancpost"],
"tags": {
"amenity": "bank",
"brand": "Postbank",
Expand Down Expand Up @@ -3793,6 +3799,7 @@
"amenity/bank|UnionBank": {
"count": 90,
"match": ["amenity/bank|Union Bank"],
"nomatch": ["amenity/bank|Banco Unión"],
"tags": {
"amenity": "bank",
"brand": "UnionBank",
Expand Down Expand Up @@ -3900,6 +3907,9 @@
},
"amenity/bank|Western Union": {
"count": 471,
"match": [
"amenity/bureau_de_change|Western Union"
],
"tags": {
"amenity": "bank",
"brand": "Western Union",
Expand Down Expand Up @@ -5419,14 +5429,6 @@
"name": "Travelex"
}
},
"amenity/bureau_de_change|Western Union": {
"count": 168,
"tags": {
"amenity": "bureau_de_change",
"brand": "Western Union",
"name": "Western Union"
}
},
"amenity/cafe|85度C": {
"count": 162,
"tags": {
Expand Down Expand Up @@ -5512,17 +5514,6 @@
"name": "Café Amazon"
}
},
"amenity/cafe|Café Central": {
"count": 132,
"match": ["amenity/cafe|Cafe Central"],
"tags": {
"amenity": "cafe",
"brand": "Café Central",
"brand:wikidata": "Q694757",
"brand:wikipedia": "en:Café Central",
"name": "Café Central"
}
},
"amenity/cafe|Café Martínez": {
"count": 162,
"tags": {
Expand Down Expand Up @@ -5565,14 +5556,6 @@
"name": "Caribou Coffee"
}
},
"amenity/cafe|Central": {
"count": 52,
"tags": {
"amenity": "cafe",
"brand": "Central",
"name": "Central"
}
},
"amenity/cafe|Chatime": {
"count": 61,
"tags": {
Expand Down Expand Up @@ -9050,18 +9033,26 @@
"amenity/fuel|ESSO",
"amenity/fuel|Station Esso"
],
"nomatch": ["shop/convenience|Esso"],
"nomatch": [
"amenity/fuel|Esso Express",
"shop/convenience|Esso"
],
"tags": {
"amenity": "fuel",
"brand": "Esso",
"brand:wikidata": "Q867662",
"brand:wikipedia": "en:Esso",
"name": "Esso"
}
},
"amenity/fuel|Esso Express": {
"count": 199,
"nomatch": ["amenity/fuel|Esso"],
"tags": {
"amenity": "fuel",
"brand": "Esso Express",
"brand": "Esso",
"brand:wikidata": "Q867662",
"brand:wikipedia": "en:Esso",
"name": "Esso Express"
}
},
Expand Down Expand Up @@ -9418,20 +9409,15 @@
},
"amenity/fuel|Kroger": {
"count": 64,
"match": ["amenity/fuel|Kroger Fuel"],
"tags": {
"amenity": "fuel",
"brand": "Kroger",
"brand:wikidata": "Q153417",
"brand:wikipedia": "en:Kroger",
"name": "Kroger"
}
},
"amenity/fuel|Kroger Fuel": {
"count": 135,
"tags": {
"amenity": "fuel",
"brand": "Kroger Fuel",
"name": "Kroger Fuel"
}
},
"amenity/fuel|Kum & Go": {
"count": 168,
"nomatch": ["shop/convenience|Kum & Go"],
Expand Down Expand Up @@ -9460,6 +9446,7 @@
},
"amenity/fuel|Liberty": {
"count": 112,
"nomatch": ["amenity/bank|Liberty Bank"],
"tags": {
"amenity": "fuel",
"brand": "Liberty",
Expand Down Expand Up @@ -33823,4 +33810,4 @@
"tourism": "motel"
}
}
}
}
3 changes: 2 additions & 1 deletion config/filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@
"^bread$",
"^(bureau de |)change$",
"^bureau de poste$",
"^caf(e|é)(t(e|é)r(i|í)a)?$",
"^caf(e|é)(t(e|é)r(i|í)a)?( )?(central)?$",
"^central$",
"^centro naturista$",
"^cine(ma)?$",
"^cleaners$",
Expand Down
3 changes: 3 additions & 0 deletions dist/discardNames.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,13 @@
"amenity/cafe|Bar": 168,
"amenity/cafe|Bistro": 68,
"amenity/cafe|Cafe": 308,
"amenity/cafe|Cafe Central": 52,
"amenity/cafe|Cafeteria": 694,
"amenity/cafe|Cafetería": 110,
"amenity/cafe|Café": 318,
"amenity/cafe|Café Central": 132,
"amenity/cafe|Cafétéria": 58,
"amenity/cafe|Central": 52,
"amenity/cafe|Coffee": 51,
"amenity/cafe|Coffee Shop": 211,
"amenity/cafe|Eisdiele": 89,
Expand Down
3 changes: 0 additions & 3 deletions dist/keepNames.json
Original file line number Diff line number Diff line change
Expand Up @@ -634,19 +634,16 @@
"amenity/cafe|Barista": 68,
"amenity/cafe|Bonafide": 64,
"amenity/cafe|Cafe Amazon": 66,
"amenity/cafe|Cafe Central": 52,
"amenity/cafe|Cafe Coffee Day": 270,
"amenity/cafe|Cafe Nero": 65,
"amenity/cafe|Caffe Nero": 132,
"amenity/cafe|Caffè Nero": 229,
"amenity/cafe|Café Amazon": 255,
"amenity/cafe|Café Central": 132,
"amenity/cafe|Café Martínez": 162,
"amenity/cafe|Café de la Gare": 52,
"amenity/cafe|Café de la Place": 67,
"amenity/cafe|Café des Sports": 79,
"amenity/cafe|Caribou Coffee": 201,
"amenity/cafe|Central": 52,
"amenity/cafe|Chatime": 61,
"amenity/cafe|Coffee Fellows": 84,
"amenity/cafe|Coffee House": 84,
Expand Down