mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-16 15:47:58 +00:00
add test for reverse with address layer and inherited address
This commit is contained in:
@@ -78,3 +78,17 @@ Feature: Reverse geocoding
|
||||
Then the result contains in field address
|
||||
| house_number |
|
||||
| 7 |
|
||||
|
||||
Scenario: Reverse - inherited address is shown by default
|
||||
When reverse geocoding 47.0629071,9.4879694
|
||||
Then the result contains
|
||||
| osm_type | category | display_name |
|
||||
| node | office | foo.li, 64, Hampfländer, Mäls, Balzers, Oberland, 9496, Liechtenstein |
|
||||
|
||||
Scenario: Reverse - inherited address is not shown with address layer
|
||||
When reverse geocoding 47.0629071,9.4879694
|
||||
| layer |
|
||||
| address |
|
||||
Then the result contains
|
||||
| osm_type | category | display_name |
|
||||
| way | building | 64, Hampfländer, Mäls, Balzers, Oberland, 9496, Liechtenstein |
|
||||
|
||||
Reference in New Issue
Block a user