mirror of https://github.com/pelias/docker.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
105 lines
2.5 KiB
105 lines
2.5 KiB
6 years ago
|
{
|
||
|
"name": "Who's on First counties",
|
||
|
"priorityThresh": 1,
|
||
|
"tests": [
|
||
|
{
|
||
|
"id": 2,
|
||
|
"status": "fail",
|
||
|
"user": "Stephen",
|
||
|
"issue": "https://github.com/pelias/pelias/issues/311",
|
||
|
"description": [
|
||
|
"chosen since it's also not the name of a city",
|
||
|
"Result from UK shows up first because we still don't handle admin parts properly"
|
||
|
],
|
||
|
"in": {
|
||
|
"text": "Potter, PA",
|
||
|
"sources": "wof"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "county",
|
||
|
"name": "Potter",
|
||
|
"county": "Potter",
|
||
|
"region": "Pennsylvania",
|
||
|
"region_a": "PA",
|
||
|
"country": "United States",
|
||
|
"country_a": "USA"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 3,
|
||
|
"status": "pass",
|
||
|
"user": "Stephen",
|
||
|
"description": "chosen because users think it's a city",
|
||
|
"in": {
|
||
|
"text": "Maui, Hawaii",
|
||
|
"sources": "wof"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "county",
|
||
|
"name": "Maui County",
|
||
|
"county": "Maui County",
|
||
|
"region": "Hawaii",
|
||
|
"region_a": "HI",
|
||
|
"country": "United States",
|
||
|
"country_a": "USA"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 4,
|
||
|
"status": "pass",
|
||
|
"user": "Stephen",
|
||
|
"description": "chosen because France and complicated hierarchy",
|
||
|
"in": {
|
||
|
"text": "Arzacq-Arraziguet",
|
||
|
"sources": "wof"
|
||
|
},
|
||
|
"expected": {
|
||
|
"priorityThresh": 2,
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "county",
|
||
|
"name": "Arzacq-Arraziguet",
|
||
|
"county": "Arzacq-Arraziguet",
|
||
|
"macrocounty": "Pau",
|
||
|
"region": "Pyrénées-Atlantiques",
|
||
|
"macroregion": "New Aquitaine",
|
||
|
"country": "France",
|
||
|
"country_a": "FRA"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 5,
|
||
|
"status": "pass",
|
||
|
"issue": "https://github.com/pelias/pelias/issues/548",
|
||
|
"user": "Stephen",
|
||
|
"description": "works with switch to placeholder",
|
||
|
"in": {
|
||
|
"text": "KoÅobrzeski, Poland",
|
||
|
"sources": "wof"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "county",
|
||
|
"name": "KoÅobrzeski",
|
||
|
"county": "KoÅobrzeski",
|
||
|
"region": "Zachodniopomorskie",
|
||
|
"country": "Poland",
|
||
|
"country_a": "POL"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|