mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 01:47:57 +00:00
Tests: set boundary admin level to enable linking
This commit is contained in:
@@ -306,11 +306,17 @@ Feature: Linking of places
|
|||||||
Given the places
|
Given the places
|
||||||
| osm | class | type | name+name | geometry |
|
| osm | class | type | name+name | geometry |
|
||||||
| N9 | place | city | Popayán | 9 |
|
| N9 | place | city | Popayán | 9 |
|
||||||
| R1 | boundary | administrative | Perímetro Urbano Popayán | (1,2,3,4,1) |
|
Given the places
|
||||||
|
| osm | class | type | name+name | geometry | admin |
|
||||||
|
| R1 | boundary | administrative | Perímetro Urbano Popayán | (1,2,3,4,1) | 8 |
|
||||||
And the relations
|
And the relations
|
||||||
| id | members |
|
| id | members |
|
||||||
| 1 | N9:label |
|
| 1 | N9:label |
|
||||||
When importing
|
When importing
|
||||||
|
Then placex contains
|
||||||
|
| object | linked_place_id |
|
||||||
|
| N9:place | R1 |
|
||||||
|
| R1:boundary | - |
|
||||||
Then placex contains
|
Then placex contains
|
||||||
| object | name+_place_name | name+_place_name:es |
|
| object | name+_place_name | name+_place_name:es |
|
||||||
| R1 | Popayán | Popayán |
|
| R1 | Popayán | Popayán |
|
||||||
|
|||||||
Reference in New Issue
Block a user