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.
123 lines
3.6 KiB
123 lines
3.6 KiB
6 years ago
|
{
|
||
|
"name": "tizen sdk: places",
|
||
|
"priorityThresh": 1,
|
||
|
"description": [
|
||
|
"maps_service_search_place (const maps_coordinates_h position, int distance, const maps_place_filter_h filter): Queries a Place information by a coordinates position and a distance",
|
||
|
"maps_service_search_place_by_area (const maps_area_h boundary, const maps_place_filter_h filter): Queries a Place information by a coordinates boundary",
|
||
|
"maps_service_search_place_by_address (const char *address, const maps_area_h boundary, const maps_place_filter_h filter): Queries a Place information by a free-formed address string",
|
||
|
"maps_service_search_place_list (const maps_area_h boundary, const maps_place_filter_h filter): Queries a brief Place information by a coordinates boundary",
|
||
|
"maps_service_get_place_details (const char *uri): Queries a Detail place information by a place uri"
|
||
|
],
|
||
|
"tests": [
|
||
|
{
|
||
|
"id": "maps_service_search_place",
|
||
|
"status": "fail",
|
||
|
"user": "dianashk",
|
||
|
"endpoint": "nearby",
|
||
|
"in": {
|
||
|
"point.lon": -74.937712,
|
||
|
"point.lat": 40.235771,
|
||
|
"boundary.circle.radius": 10,
|
||
|
"categories": "food:pizza"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "Brother's pizza",
|
||
|
"region_a": "PA"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "maps_service_search_place_by_area",
|
||
|
"status": "fail",
|
||
|
"user": "dianashk",
|
||
|
"endpoint": "nearby",
|
||
|
"in": {
|
||
|
"point.lon": -74.937712,
|
||
|
"point.lat": 40.235771,
|
||
|
"boundary.rect.min_lat": 40.235974,
|
||
|
"boundary.rect.min_lon": -74.937158,
|
||
|
"boundary.rect.max_lat": 40.228095,
|
||
|
"boundary.rect.max_lon": -74.944906,
|
||
|
"categories": "finance"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "Wells Fargo",
|
||
|
"localadmin": "Newtown",
|
||
|
"region_a": "PA"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "maps_service_search_place_by_address",
|
||
|
"status": "pass",
|
||
|
"user": "dianashk",
|
||
|
"endpoint": "search",
|
||
|
"in": {
|
||
|
"text": "Roosevelt",
|
||
|
"point.lon": -73.99875,
|
||
|
"point.lat": 40.722880,
|
||
|
"boundary.rect.min_lat": 40.707710007867334,
|
||
|
"boundary.rect.min_lon": -74.01763916015625,
|
||
|
"boundary.rect.max_lat": 40.759220487652186,
|
||
|
"boundary.rect.max_lon": -73.97300720214844,
|
||
|
"categories": "education"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "Eleanor Roosevelt High School",
|
||
|
"region_a": "NY"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "maps_service_search_place_by_list",
|
||
|
"status": "fail",
|
||
|
"description": "?????? how is this different from by_area?",
|
||
|
"user": "dianashk",
|
||
|
"endpoint": "nearby",
|
||
|
"in": {
|
||
|
"point.lon": -74.937712,
|
||
|
"point.lat": 40.235771,
|
||
|
"boundary.rect.min_lat": 40.235974,
|
||
|
"boundary.rect.min_lon": -74.937158,
|
||
|
"boundary.rect.max_lat": 40.228095,
|
||
|
"boundary.rect.max_lon": -74.944906,
|
||
|
"categories": "finance"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "Wells Fargo",
|
||
|
"localadmin": "Newtown",
|
||
|
"region_a": "PA"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": "maps_service_get_place_details",
|
||
|
"status": "fail",
|
||
|
"user": "dianashk",
|
||
|
"endpoint": "place",
|
||
|
"in": {
|
||
|
"ids": "openstreetmap:venue:node:357621540"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"name": "Eleanor Roosevelt High School"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|