1 Feature: Reverse searches
2 Test results of reverse queries
4 Scenario: POI in POI area
5 Given the 0.0001 grid with origin 1,1
6 | 1 | | | | | | | | 2 |
8 | 4 | | | | | | | | 3 |
10 | osm | class | type | geometry |
11 | W1 | aeroway | terminal | (1,2,3,4,1) |
12 | N9 | amenity | restaurant | 9 |
14 And reverse geocoding 1.0002,1.0001
15 Then the result contains
18 When reverse geocoding 1.0003,1.0001
19 Then the result contains
24 Scenario: POI in POI area with different housenumbers
25 Given the 0.0001 grid with origin 1,1
26 | 1 | | | | | | | | 2 |
28 | 4 | | | | | | | | 3 |
30 | osm | class | type | housenr | geometry |
31 | W1 | aeroway | terminal | 11 | (1,2,3,4,1) |
32 | N9 | amenity | restaurant | 13 | 9 |
34 And reverse geocoding 1.0002,1.0001
35 Then the result contains
40 Scenario: Find closest housenumber for street matches
41 Given the 0.0001 grid with origin 1,1
46 | osm | class | type | name | geometry |
47 | W1 | highway | service | Goose Drive | 10,11 |
48 | N2 | tourism | art_work | Beauty | 2 |
50 | osm | class | type | housenr | geometry |
51 | N1 | place | house | 23 | 1 |
53 When reverse geocoding 1.0002,1.0002
54 Then the result contains