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