]> git.openstreetmap.org Git - nominatim.git/blobdiff - tests/features/db/import/interpolation.feature
Merge pull request #447 from lonvia/fix-array-expression
[nominatim.git] / tests / features / db / import / interpolation.feature
index 8fb3e606531d65decaa99e59cabfd8d3d53c0e7b..195cbfdf27cff359654e5ac88776d468ccdcf8ec 100644 (file)
@@ -422,3 +422,20 @@ Feature: Import of address interpolations
           | 4            | 144.963016723312,-37.7629464422819+-0.000005
           | 8            | 144.9631440856,-37.762223694978+-0.000005
 
+    Scenario: Place with missing address information
+        Given the place nodes
+          | osm_id | class   | type   | housenumber | geometry
+          | 1      | place   | house  | 23          | 0.0001 0.0001
+          | 2      | amenity | school |             | 0.0001 0.0002
+          | 3      | place   | house  | 29          | 0.0001 0.0004
+        And the place ways
+          | osm_id | class | type   | housenumber | geometry
+          | 1      | place | houses | odd         | 0.0001 0.0001,0.0001 0.0002,0.0001 0.0004
+        And the ways
+          | id | nodes
+          | 1  | 1,2,3
+        When importing
+        Then way 1 expands to housenumbers
+          | housenumber | centroid
+          | 25          | 0.0001,0.0002
+          | 27          | 0.0001,0.0003