X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b70b2213a542595f3a890445103031e5b72e847b..00379183adaca10dbbae1c3819e8652269d49ad7:/tests/features/db/import/linking.feature?ds=sidebyside diff --git a/tests/features/db/import/linking.feature b/tests/features/db/import/linking.feature index 11602b7d..299087ae 100644 --- a/tests/features/db/import/linking.feature +++ b/tests/features/db/import/linking.feature @@ -2,6 +2,20 @@ Feature: Linking of places Tests for correctly determining linked places + Scenario: Only address-describing places can be linked + Given the scene way-area-with-center + And the place areas + | osm_type | osm_id | class | type | name | geometry + | R | 13 | landuse | forest | Garbo | :area + And the place nodes + | osm_id | class | type | name | geometry + | 256 | natural | peak | Garbo | :inner-C + When importing + Then table placex contains + | object | linked_place_id + | R13 | None + | N256 | None + Scenario: Waterways are linked when in waterway relations Given the scene split-road And the place ways