2 Feature: Layer parameter in reverse geocoding
3 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 |
14 Scenario Outline: Same address level POI with different layers
15 When sending v1/reverse at 47.14077,9.52414
26 | poi,address | tourism |
27 | address,poi | tourism |
28 | natural | waterway |
29 | address,natural | highway |
30 | natural,poi | tourism |
34 Scenario Outline: POIs are not selected without housenumber for address layer
35 When sending v1/reverse at 47.13816,9.52168
40 | <category> | <type> |
43 | layer | category | type |
44 | address,poi | highway | bus_stop |
45 | address | amenity | parking |
49 Scenario: Between natural and low-zoom address prefer natural
50 When sending v1/reverse at 47.13636,9.52094
52 | natural,address | 15 |
59 Scenario Outline: Search for mountain peaks begins at level 12
60 When sending v1/reverse at 47.08221,9.56769
65 | <category> | <type> |
68 | zoom | category | type |
69 | 12 | natural | peak |
70 | 13 | waterway | river |
74 Scenario Outline: Reverse serach with manmade layers
75 When sending v1/reverse at 32.46904,-86.44439
80 | <category> | <type> |
83 | layer | category | type |
84 | manmade | leisure | park |
85 | address | highway | residential |
86 | poi | leisure | pitch |
87 | natural | waterway | stream |
88 | natural,manmade | leisure | park |