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.
 
 
 

71 lines
1.8 KiB

{
"name": "reverse venues",
"priorityThresh": 1,
"endpoint": "reverse",
"tests": [
{
"id": 1,
"status": "pass",
"user": "julian",
"description": "until we finalize the /nearby endpoint, /reverse should still be able to return Geonames venues",
"issue": "https://github.com/pelias/api/issues/930",
"in": {
"point.lat": 47.417,
"point.lon": 10.75,
"layers": "venue",
"sources": "geonames"
},
"expected": {
"properties": [
{
"name": "Axljoch Berg",
"layer": "venue",
"source": "geonames"
}
]
}
},
{
"id": 2,
"status": "pass",
"user": "julian",
"description": "until we finalize the /nearby endpoint, /reverse should still be able to return Geonames venues, even with no source specified",
"issue": "https://github.com/pelias/api/issues/930",
"in": {
"point.lat": 47.417,
"point.lon": 10.75,
"layers": "venue"
},
"expected": {
"properties": [
{
"name": "Axljoch Berg",
"layer": "venue",
"source": "geonames"
}
]
}
},
{
"id": 2,
"status": "pass",
"user": "julian",
"description": "until we finalize the /nearby endpoint, /reverse should still be able to return OSM venues",
"issue": "https://github.com/pelias/api/issues/930",
"in": {
"point.lat": -13.1748,
"point.lon": -72.56463,
"layers": "venue"
},
"expected": {
"properties": [
{
"name": "Machu Picchu",
"layer": "venue",
"source": "openstreetmap"
}
]
}
}
]
}