X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7879ad44cd1e36ae1235c3dcdfd9e477491813e4..c0e4a74c713f2c6b9538cbbaf0d32d5c558d0dac:/tests/features/db/import/interpolation.feature diff --git a/tests/features/db/import/interpolation.feature b/tests/features/db/import/interpolation.feature index 356c7e16..6974e7be 100644 --- a/tests/features/db/import/interpolation.feature +++ b/tests/features/db/import/interpolation.feature @@ -189,6 +189,7 @@ Feature: Import of address interpolations | startnumber | endnumber | geometry | 2 | 6 | 0 0, 0 0.001 | 6 | 10 | 0 0.001, 0 0.002 + | 6 | 10 | 0 0.001, 0 0.002 Scenario: Interpolation line with self-intersecting way II Given the place nodes @@ -206,7 +207,6 @@ Feature: Import of address interpolations | startnumber | endnumber | geometry | 2 | 6 | 0 0, 0 0.001 - Scenario: addr:street on interpolation way Given the scene parallel-road And the place nodes @@ -238,6 +238,18 @@ Feature: Import of address interpolations | object | parent_place_id | startnumber | endnumber | W10 | W2 | 2 | 6 | W11 | W3 | 12 | 16 + When sending query "16 Cloud Street" + Then results contain + | ID | osm_type | osm_id + | 0 | N | 4 + When sending query "14 Cloud Street" + Then results contain + | ID | osm_type | osm_id + | 0 | W | 11 + When sending query "18 Cloud Street" + Then results contain + | ID | osm_type | osm_id + | 0 | W | 3 Scenario: addr:street on housenumber way Given the scene parallel-road @@ -270,6 +282,14 @@ Feature: Import of address interpolations | object | parent_place_id | startnumber | endnumber | W10 | W2 | 2 | 6 | W11 | W3 | 12 | 16 + When sending query "16 Cloud Street" + Then results contain + | ID | osm_type | osm_id + | 0 | N | 4 + When sending query "14 Cloud Street" + Then results contain + | ID | osm_type | osm_id + | 0 | W | 11 Scenario: Geometry of points and way don't match (github #253) Given the place nodes