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