]> git.openstreetmap.org Git - nominatim.git/blob - tests/features/api/reverse.feature
Merge branch 'reverse-lookup-including-tiger-lookup' of https://github.com/mtmail...
[nominatim.git] / tests / features / api / reverse.feature
1 Feature: Reverse geocoding
2     Testing the reverse function
3
4     # Make sure country is not overwritten by the postcode
5     Scenario: Country is returned
6         Given the request parameters
7           | accept-language
8           | de
9         When looking up coordinates 53.9788769,13.0830313
10         Then result addresses contain 
11          | ID | country
12          | 0  | Deutschland
13
14     @Tiger
15     Scenario: TIGER house number
16         Given the request parameters
17           | addressdetails
18           | 1
19         When looking up coordinates 40.6863624710666,-112.060005720023
20         And exactly 1 result is returned
21         And result addresses contain
22           | ID | house_number | road               | postcode | country_code
23           | 0  | 7094         | Kings Estate Drive | 84128    | us
24         And result 0 has not attributes osm_id,osm_type
25