]> git.openstreetmap.org Git - nominatim.git/blob - test/bdd/features/db/query/reverse.feature
release 5.1.0.post5
[nominatim.git] / test / bdd / features / db / query / reverse.feature
1 Feature: Reverse searches
2     Test results of reverse queries
3
4     Scenario: POI in POI area
5         Given the 0.0001 grid with origin 1,1
6           | 1 |   |  |  |  |  |  |  | 2 |
7           |   | 9 |  |  |  |  |  |  |   |
8           | 4 |   |  |  |  |  |  |  | 3 |
9         And the places
10           | osm | class   | type       | geometry    |
11           | W1  | aeroway | terminal   | (1,2,3,4,1) |
12           | N1  | amenity | restaurant | 9           |
13         When importing
14         And reverse geocoding 1.0001,1.0001
15         Then the result contains
16          | object |
17          | N1  |
18         When reverse geocoding 1.0003,1.0001
19         Then the result contains
20          | object |
21          | W1  |