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.
 
 
 

47 lines
1.0 KiB

{
"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"
}
]
}
}
]
}