Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions test_cases/address_matching.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,25 +71,6 @@
]
}
},
{
"id": 3.1,
"status": "pass",
"issue": "https://github.com/pelias/pelias/issues/296",
"description": "De Kay Street can be returned, but should be lower than exact match 'Kay St'",
"user": "orangejulius",
"type": "dev",
"in": {
"text": "49 Kay Street"
},
"expected": {
"priorityThresh": 10,
"properties": [
{
"street": "De Kay Street"
}
]
}
},
{
"id": 4,
"status": "pass",
Expand Down
2 changes: 1 addition & 1 deletion test_cases/address_parsing.json
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@
"confidence": 1,
"match_type": "exact",
"accuracy": "point",
"locality": "Fort Mitchell",
"locality": "Crescent Springs",
"region_a": "KY"
}
]
Expand Down
2 changes: 1 addition & 1 deletion test_cases/admin_lookup.json
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
"expected": {
"properties": [
{
"locality": "Cardiff County"
"locality": "Cardiff"
}
]
},
Expand Down
4 changes: 2 additions & 2 deletions test_cases/autocomplete_endonyms.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
"text": "Dennenlaan 3, South Holland"
},
"expected": {
"priorityThresh": 1,
"priorityThresh": 10,
"properties": [
{
"name": "Dennenlaan 3",
Expand All @@ -155,7 +155,7 @@
"text": "Dennenlaan 3, Zuid-Holland"
},
"expected": {
"priorityThresh": 1,
"priorityThresh": 10,
"properties": [
{
"name": "Dennenlaan 3",
Expand Down
2 changes: 1 addition & 1 deletion test_cases/autocomplete_multi_lang.json
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
{
"layer": "venue",
"country": "Kosovo",
"locality": "Priština",
"locality": "Pristina",
"name": "Museum des Kosovo"
}
]
Expand Down
2 changes: 1 addition & 1 deletion test_cases/autocomplete_poi.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Autocomplete POI",
"name": "autocomplete POI",
"notes": "For testing POI autocomplete responses",
"endpoint": "autocomplete",
"priorityThresh": 5,
Expand Down
6 changes: 3 additions & 3 deletions test_cases/autocomplete_postalcodes.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
},
{
"id": "4",
"status": "fail",
"status": "pass",
"issue": "https://github.com/pelias/pelias/issues/898",
"description": "postalcode in france with leading zero",
"user": "julian",
Expand All @@ -110,7 +110,7 @@
},
{
"id": "5",
"status": "fail",
"status": "pass",
"issue": "https://github.com/pelias/pelias/issues/898",
"description": "postalcode in USA with leading zero",
"user": "julian",
Expand Down Expand Up @@ -407,7 +407,7 @@
}
},
{
"id": "11",
"id": "11.1",
"status": "pass",
"description": "postal code in London, England",
"user": "missinglink",
Expand Down
2 changes: 1 addition & 1 deletion test_cases/autocomplete_street_centroids.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
}
},{
"id": 6,
"status": "fail",
"status": "pass",
"user": "missinglink",
"in": {
"sources": "osm",
Expand Down
2 changes: 1 addition & 1 deletion test_cases/autocomplete_streets.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Autocomplete Streets",
"name": "autocomplete Streets",
"priorityThresh": 1,
"endpoint": "autocomplete",
"notes": "When searching for an address, after an abbreviation for the place has been typed, continuing to type the placename should improve or keep the top result as the same (e.g. st, stre, street). Related to: https://github.com/pelias/pelias/issues/165",
Expand Down
4 changes: 2 additions & 2 deletions test_cases/international.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "International addresses",
"name": "international addresses",
"priorityThresh": 5,
"normalizers": {
"name": [
Expand Down Expand Up @@ -189,7 +189,7 @@
"properties": [
{
"name": "Фурштатская улица 15",
"locality": "Saint Petersburg City",
"locality": "Saint Petersburg",
"country_a": "RUS"
}
]
Expand Down
2 changes: 1 addition & 1 deletion test_cases/placeholder_sorting.json
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@
},
{
"id": 1400,
"status": "fail",
"status": "pass",
"endpoint": "search",
"description": "small cities should be found and ordered by population descending",
"in": {
Expand Down
8 changes: 7 additions & 1 deletion test_cases/reverse_address.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"id": 1,
"status": "pass",
"user": "trescube",
"description": "there should be no non-address results, lat/lon is for Lancaster, PA",
"description": "there should be no coarse results, lat/lon is for Lancaster, PA",
"type": "dev",
"in": {
"point.lat": 40.038123,
Expand All @@ -17,6 +17,12 @@
"properties": [
{
"layer": "address"
},
{
"layer": "street"
},
{
"layer": "venue"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion test_cases/search_city_country.json
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
"properties": [
{
"gid": "whosonfirst:locality:102031919",
"locality": "Sendai-shi",
"locality": "Sendai",
"country": "Japan",
"country_a": "JPN"
}
Expand Down
1 change: 1 addition & 0 deletions test_cases/search_street_centroids.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
"text": "621 Martin Luther King Blvd portland or"
},
"expected": {
"priorityThresh": 2,
"properties": [
{
"housenumber": "621",
Expand Down
4 changes: 2 additions & 2 deletions test_cases/structured_geocoding.json
Original file line number Diff line number Diff line change
Expand Up @@ -779,10 +779,10 @@
"properties": [
{
"layer": "region",
"name": "Kakheti",
"name": "Kakheti Region",
"country_a": "GEO",
"country": "Georgia",
"region": "Kakheti"
"region": "Kakheti Region"
}
]
}
Expand Down
4 changes: 2 additions & 2 deletions test_cases/wof_neighbourhoods.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@
"status": "pass",
"user": "Stephen",
"in": {
"text": "Taman Taynton View, Malaysia",
"text": "Taman Taynton, Malaysia",
"sources": "wof"
},
"expected": {
"properties": [
{
"layer": "neighbourhood",
"name": "Taman Taynton View",
"name": "Taman Taynton",
"locality": "Kuala Lumpur",
"region": "Kuala Lumpur",
"country": "Malaysia",
Expand Down
4 changes: 2 additions & 2 deletions test_cases/wof_regions.json
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@
{
"gid": "whosonfirst:region:85670011",
"layer": "region",
"name": "Kasaï-Occidental Province",
"region": "Kasaï-Occidental Province",
"name": "Kasaï-Occidental",
"region": "Kasaï-Occidental",
"country": "Democratic Republic of Congo",
"country_a": "COD"
}
Expand Down