3 Feature: Layer parameter in reverse geocoding
4 Testing correct function of layer selection while reverse geocoding
6 Scenario: POIs are selected by default
7 When sending v1/reverse at 47.14077,9.52414
10 | tourism | viewpoint |
13 Scenario Outline: Same address level POI with different layers
14 When sending v1/reverse at 47.14077,9.52414
25 | poi,address | tourism |
26 | address,poi | tourism |
27 | natural | waterway |
28 | address,natural | highway |
29 | natural,poi | tourism |
32 Scenario Outline: POIs are not selected without housenumber for address layer
33 When sending v1/reverse at 47.13816,9.52168
38 | <category> | <type> |
41 | layer | category | type |
42 | address,poi | highway | bus_stop |
43 | address | amenity | parking |
46 Scenario: Between natural and low-zoom address prefer natural
47 When sending v1/reverse at 47.13636,9.52094
49 | natural,address | 15 |
55 Scenario Outline: Search for mountain peaks begins at level 12
56 When sending v1/reverse at 47.08293,9.57109
61 | <category> | <type> |
64 | zoom | category | type |
65 | 12 | natural | peak |
66 | 13 | waterway | river |
69 Scenario Outline: Reverse search with manmade layers
70 When sending v1/reverse at 32.46904,-86.44439
75 | <category> | <type> |
78 | layer | category | type |
79 | manmade | leisure | park |
80 | address | highway | residential |
81 | poi | leisure | pitch |
82 | natural | waterway | river |
83 | natural,manmade | leisure | park |