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.
 
 
 

56 lines
1.3 KiB

{
"name": "autocomplete street fallback",
"priorityThresh": 5,
"endpoint": "autocomplete",
"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": "grolmanstr, berlin"
},
"expected": {
"coordinates": [ 13.324042, 52.503915 ],
"properties": [
{
"country_a": "DEU",
"street": "Grolmanstraße",
"layer": "street"
},{
"country_a": "DEU",
"street": "Grolmanstraße",
"layer": "address"
}
]
}
},{
"id": 2,
"status": "pass",
"user": "missinglink",
"in": {
"text": "w 26th st, new york"
},
"expected": {
"properties": [
{
"country_a": "USA",
"street": "West 26th Street",
"region": "New York",
"layer": "street"
},{
"country_a": "USA",
"street": "West 26th Street",
"region": "New York",
"layer": "address"
}
]
}
}
]
}