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.
164 lines
3.3 KiB
164 lines
3.3 KiB
6 years ago
|
{
|
||
|
"name": "reverse non-coarse",
|
||
|
"priorityThresh": 1,
|
||
|
"endpoint": "reverse",
|
||
|
"tests": [
|
||
|
{
|
||
|
"id": 1,
|
||
|
"status": "pass",
|
||
|
"user": "trescube",
|
||
|
"description": "there should be no non-address results, lat/lon is for Lancaster, PA",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"point.lat": 40.038123,
|
||
|
"point.lon": -76.304096
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "address"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unexpected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "locality"
|
||
|
},
|
||
|
{
|
||
|
"layer": "localadmin"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 2,
|
||
|
"status": "pass",
|
||
|
"user": "trescube",
|
||
|
"description": "there should be no non-address results, lat/lon is for Ventura County, CA",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"point.lat": 34.35755,
|
||
|
"point.lon": -119.126008
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "street"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unexpected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "county"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 3,
|
||
|
"status": "pass",
|
||
|
"user": "trescube",
|
||
|
"description": "addresses should be returned before coarse results, this lat/lon is for Red Lion, PA",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"point.lat": 39.898111,
|
||
|
"point.lon": -76.607958
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "address"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unexpected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "locality"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 4,
|
||
|
"status": "pass",
|
||
|
"user": "trescube",
|
||
|
"description": "venues should be returned before coarse results, this lat/lon is for Red Lion, PA",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"point.lat": 39.898111,
|
||
|
"point.lon": -76.607958,
|
||
|
"layers": "venue,locality"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "venue"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unexpected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "locality"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 5,
|
||
|
"status": "pass",
|
||
|
"user": "trescube",
|
||
|
"description": "addresses should be returned before coarse results, this lat/lon is for Red Lion, PA",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"point.lat": 39.898111,
|
||
|
"point.lon": -76.607958,
|
||
|
"layers": "address,locality"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "address"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unexpected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "locality"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"id": 6,
|
||
|
"status": "pass",
|
||
|
"user": "trescube",
|
||
|
"description": "streets should be returned before coarse results, this lat/lon is for Red Lion, PA",
|
||
|
"type": "dev",
|
||
|
"in": {
|
||
|
"point.lat": 39.898111,
|
||
|
"point.lon": -76.607958,
|
||
|
"layers": "street,locality"
|
||
|
},
|
||
|
"expected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "street"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"unexpected": {
|
||
|
"properties": [
|
||
|
{
|
||
|
"layer": "locality"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|