+ | 6 | Schmedgässle |
+
+ Scenario Outline: Zoom levels below 5 result in country
+ When sending v1/reverse at 47.16,9.51
+ | zoom |
+ | <zoom> |
+ Then results contain
+ | display_name |
+ | Liechtenstein |
+
+ Examples:
+ | zoom |
+ | 0 |
+ | 1 |
+ | 2 |
+ | 3 |
+ | 4 |
+
+ Scenario: When on a street, the closest interpolation is shown
+ When sending v1/reverse at 47.118457166193245,9.570678289621355
+ | zoom |
+ | 18 |
+ Then results contain
+ | display_name |
+ | 1021, Grosssteg, Sücka, Triesenberg, Oberland, 9497, Liechtenstein |
+
+ # github 2214
+ Scenario: Interpolations do not override house numbers when they are closer
+ When sending v1/reverse at 47.11778,9.57255
+ | zoom |
+ | 18 |
+ Then results contain
+ | display_name |
+ | 5, Grosssteg, Steg, Triesenberg, Oberland, 9497, Liechtenstein |
+
+ Scenario: Interpolations do not override house numbers when they are closer (2)
+ When sending v1/reverse at 47.11834,9.57167
+ | zoom |
+ | 18 |
+ Then results contain
+ | display_name |
+ | 3, Grosssteg, Sücka, Triesenberg, Oberland, 9497, Liechtenstein |
+
+ Scenario: When on a street with zoom 18, the closest housenumber is returned
+ When sending v1/reverse at 47.11755503977281,9.572722250405036
+ | zoom |
+ | 18 |
+ Then result addresses contain
+ | house_number |
+ | 7 |