]> git.openstreetmap.org Git - nominatim.git/blob - test/bdd/osm2pgsql/update/interpolation.feature
3cb19297a0c1c4c26879e8a6db5547459d32f50b
[nominatim.git] / test / bdd / osm2pgsql / update / interpolation.feature
1 @DB
2 Feature: Update of interpolations
3
4     @wip
5     # Test case for #598
6     Scenario: add an interpolation way
7         Given the grid
8           | 4 | 7 | 5 |
9           | 10|   | 12|
10         When loading osm data
11           """
12           n3
13           n4 Taddr:housenumber=1
14           n5 Taddr:housenumber=5
15           n10
16           n12
17           w11 Thighway=residential,name=X Nn4,n5
18           w12 Thighway=residential,name=Highway Nn10,n12
19           """
20         And updating osm data
21           """
22           n4 Taddr:housenumber=1
23           n5 Taddr:housenumber=5
24           w1 Taddr:interpolation=odd Nn4,n5
25           w2 Tbuilding=yes,name=ggg Nn4,n10,n7,n4
26           w3 Tbuilding=yes,name=ggg Nn4,n10,n7,n4
27           w4 Tbuilding=yes,name=ggg Nn4,n10,n7,n4
28           w5 Tbuilding=yes,name=ggg Nn4,n10,n7,n4
29           w6 Tbuilding=yes,name=ggg Nn4,n10,n7,n4
30           w7 Tbuilding=yes,name=ggg Nn4,n10,n7,n4
31           w11 dD
32           """
33         Then place contains
34           | object   | housenumber |
35           | N4:place | 1           |
36           | N5:place | 5           |
37           | W1:place | odd         |
38         And W1 expands to interpolation
39           | start | end |
40           | 1     | 5   |