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.
48 lines
1.0 KiB
48 lines
1.0 KiB
6 years ago
|
{
|
||
|
"name": "search street fallback",
|
||
|
"priorityThresh": 5,
|
||
|
"endpoint": "search",
|
||
|
"description": [
|
||
|
"query should return street centroid(s) followed by one or",
|
||
|
"more addresses on that street."
|
||
|
],
|
||
|
"tests": [
|
||
|
{
|
||
|
"id": 1,
|
||
|
"status": "pass",
|
||
|
"user": "missinglink",
|
||
|
"issue": "https://github.com/pelias/openstreetmap/issues/28",
|
||
|
"in": {
|
||
|
"text": "grolmanstraße, berlin, germany"
|
||
|
},
|
||
|
"expected": {
|
||
|
"coordinates": [ 13.324042, 52.503915 ],
|
||
|
"properties": [
|
||
|
{
|
||
|
"country_a": "DEU",
|
||
|
"street": "Grolmanstraße",
|
||
|
"layer": "street"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},{
|
||
|
"id": 2,
|
||
|
"status": "pass",
|
||
|
"user": "missinglink",
|
||
|
"in": {
|
||
|
"text": "glen rd, kelburn"
|
||
|
},
|
||
|
"expected": {
|
||
|
"coordinates": [ 174.76323, -41.287732 ],
|
||
|
"properties": [
|
||
|
{
|
||
|
"country_a": "NZL",
|
||
|
"street": "Glen Road",
|
||
|
"layer": "street"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|