3 Feature: Layer parameter in reverse geocoding
4 Testing correct function of layer selection while reverse geocoding
7 Scenario: POIs are selected by default
8 When sending v1/reverse at 47.14077,9.52414
11 | tourism | viewpoint |
15 Scenario Outline: Same address level POI with different layers
16 When sending v1/reverse at 47.14077,9.52414
27 | poi,address | tourism |
28 | address,poi | tourism |
29 | natural | waterway |
30 | address,natural | highway |
31 | natural,poi | tourism |
35 Scenario Outline: POIs are not selected without housenumber for address layer
36 When sending v1/reverse at 47.13816,9.52168
41 | <category> | <type> |
44 | layer | category | type |
45 | address,poi | highway | bus_stop |
46 | address | amenity | parking |
50 Scenario: Between natural and low-zoom address prefer natural
51 When sending v1/reverse at 47.13636,9.52094
53 | natural,address | 15 |
60 Scenario Outline: Search for mountain peaks begins at level 12
61 When sending v1/reverse at 47.08293,9.57109
66 | <category> | <type> |
69 | zoom | category | type |
70 | 12 | natural | peak |
71 | 13 | waterway | river |
75 Scenario Outline: Reverse search with manmade layers
76 When sending v1/reverse at 32.46904,-86.44439
81 | <category> | <type> |
84 | layer | category | type |
85 | manmade | leisure | park |
86 | address | highway | residential |
87 | poi | leisure | pitch |
88 | natural | waterway | river |
89 | natural,manmade | leisure | park |