- Then way 1 expands to housenumbers
- | housenumber | centroid
- | 4 | 1,1.0005
-
- Scenario: Even two point interpolation with odd beginning
- Given the place nodes
- | osm_id | class | type | housenumber | geometry
- | 1 | place | house | 11 | 1 1
- | 2 | place | house | 16 | 1 1.001
- And the place ways
- | osm_id | class | type | housenumber | geometry
- | 1 | place | houses | even | 1 1, 1 1.001
- And the ways
- | id | nodes
- | 1 | 1,2
- When importing
- Then way 1 expands to housenumbers
- | housenumber | centroid
- | 12 | 1,1.0002
- | 14 | 1,1.0006
-
- Scenario: Even two point interpolation with odd end
- Given the place nodes
- | osm_id | class | type | housenumber | geometry
- | 1 | place | house | 10 | 1 1
- | 2 | place | house | 15 | 1 1.001
- And the place ways
- | osm_id | class | type | housenumber | geometry
- | 1 | place | houses | even | 1 1, 1 1.001
- And the ways
- | id | nodes
- | 1 | 1,2
- When importing
- Then way 1 expands to housenumbers
- | housenumber | centroid
- | 12 | 1,1.0004
- | 14 | 1,1.0008
-
- Scenario: Reverse even two point interpolation with odd beginning
- Given the place nodes
- | osm_id | class | type | housenumber | geometry
- | 1 | place | house | 11 | 1 1
- | 2 | place | house | 16 | 1 1.001
- And the place ways
- | osm_id | class | type | housenumber | geometry
- | 1 | place | houses | even | 1 1.001, 1 1
- And the ways
- | id | nodes
- | 1 | 2,1
- When importing
- Then way 1 expands to housenumbers
- | housenumber | centroid
- | 12 | 1,1.0002
- | 14 | 1,1.0006
-
- Scenario: Reverse even two point interpolation with odd end
- Given the place nodes
- | osm_id | class | type | housenumber | geometry
- | 1 | place | house | 10 | 1 1
- | 2 | place | house | 15 | 1 1.001
- And the place ways
- | osm_id | class | type | housenumber | geometry
- | 1 | place | houses | even | 1 1.001, 1 1
- And the ways
- | id | nodes
- | 1 | 2,1
- When importing
- Then way 1 expands to housenumbers
- | housenumber | centroid
- | 12 | 1,1.0004
- | 14 | 1,1.0008