revert importing of housenumber interpolations

This commit is contained in:
Sarah Hoffmann
2026-02-18 20:01:15 +01:00
parent b71543b03b
commit abd5cbada6
15 changed files with 242 additions and 344 deletions

View File

@@ -20,9 +20,9 @@ Feature: Import of interpolations
| object | class | type |
| W13002 | place | city |
And place_interpolation contains exactly
| object | type | address!dict | nodes!ints | geometry!wkt |
| W13001 | odd | "street": "Blumenstrasse" | 1,2 | 1,2 |
| W13002 | even | - | 1,2 | 1,2 |
| osm_id | type | address!dict | nodes!ints | geometry!wkt |
| 13001 | odd | "street": "Blumenstrasse" | 1,2 | 1,2 |
| 13002 | even | - | 1,2 | 1,2 |
Scenario: Address interpolation with housenumber
When loading osm data
@@ -33,12 +33,10 @@ Feature: Import of interpolations
n4
w34 Taddr:interpolation=all,addr:housenumber=2-4,building=yes Nn1,n2,n3,n4,n1
w35 Taddr:interpolation=all,addr:housenumber=5,building=yes Nn1,n2,n3,n4,n1
w36 Taddr:interpolation=all,addr:housenumber=2a-c,building=yes Nn1,n2,n3,n4,n1
w36 Taddr:interpolation=all,addr:housenumber=2a-c Nn1,n2,n3,n4,n1
"""
Then place contains exactly
| object | class | type | address!dict |
| w35 | building | yes | "housenumber" : "5", "interpolation": "all" |
| w36 | building | yes | "housenumber" : "2a-c", "interpolation": "all" |
Then place_interpolation contains exactly
| object | type | address!dict | nodes!ints | geometry!wkt |
| W34 | all | "housenumber": "2-4" | - | (1,2,3,4,1) |
| object | class | type | address!dict |
| W35 | building | yes | "housenumber": "5", "interpolation": "all" |
| W34 | building | yes | "housenumber": "2-4", "interpolation": "all" |
| W36 | place | house | "housenumber": "2a-c", "interpolation": "all" |

View File

@@ -30,8 +30,8 @@ Feature: Updates of address interpolation objects
| N2 | place | house |
| W33 | highway | residential |
And place_interpolation contains exactly
| object | type |
| W99 | odd |
| osm_id | type |
| 99 | odd |
When indexing
Then placex contains exactly
| object | class | type |
@@ -55,8 +55,8 @@ Feature: Updates of address interpolation objects
| N1 | place | house |
| N2 | place | house |
And place_interpolation contains exactly
| object | type |
| W99 | odd |
| osm_id | type |
| 99 | odd |
When updating osm data
"""
@@ -67,7 +67,7 @@ Feature: Updates of address interpolation objects
| N1 | place | house |
| N2 | place | house |
And place_interpolation contains exactly
| object |
| osm_id |
When indexing
Then placex contains exactly
| object | class | type |
@@ -92,7 +92,7 @@ Feature: Updates of address interpolation objects
| W33 | highway | residential |
| W99 | highway | residential |
And place_interpolation contains exactly
| object |
| osm_id |
When updating osm data
"""
@@ -104,8 +104,8 @@ Feature: Updates of address interpolation objects
| N2 | place | house |
| W33 | highway | residential |
And place_interpolation contains exactly
| object | type |
| W99 | odd |
| osm_id | type |
| 99 | odd |
When indexing
Then placex contains exactly
| object | class | type |
@@ -129,8 +129,8 @@ Feature: Updates of address interpolation objects
| N1 | place | house |
| N2 | place | house |
And place_interpolation contains exactly
| object | type |
| W99 | odd |
| osm_id | type |
| 99 | odd |
When updating osm data
"""
@@ -142,7 +142,7 @@ Feature: Updates of address interpolation objects
| N2 | place | house |
| W99 | highway | residential |
And place_interpolation contains exactly
| object |
| osm_id |
When indexing
Then placex contains exactly
| object | class | type |

View File

@@ -113,8 +113,8 @@ Feature: Update of postcode only objects
| N1 | place | house |
| N2 | place | house |
And place_interpolation contains exactly
| object | type |
| W34 | odd |
| osm_id | type |
| 34 | odd |
When updating osm data
"""
@@ -128,7 +128,7 @@ Feature: Update of postcode only objects
| object | postcode |
| W34 | 4456 |
And place_interpolation contains exactly
| object |
| osm_id |
When indexing
Then location_property_osmline contains exactly
| osm_id |
@@ -163,8 +163,8 @@ Feature: Update of postcode only objects
| N2 | place | house |
| W33 | highway | residential |
And place_interpolation contains exactly
| object | type |
| W34 | odd |
| osm_id | type |
| 34 | odd |
And place_postcode contains exactly
| object |
When indexing