always bind addr:place to place instead of street

If an addr:place is given but no addr:street tag, then bind
the rank 30 object always to a <=25 object, even when there
is none found with the same name.
This commit is contained in:
Sarah Hoffmann
2020-09-03 21:42:00 +02:00
parent caea14d035
commit a8dfbcef44
4 changed files with 40 additions and 18 deletions

View File

@@ -9,8 +9,8 @@ Scenario: POI inside building inherits addr:street change
| N2 | shop | bakery | :n-edge-NS |
| N3 | shop | supermarket| :n-edge-WE |
And the places
| osm | class | type | addr_place | housenr | geometry |
| W1 | building | yes | nowhere | 3 | :w-building |
| osm | class | type | street | housenr | geometry |
| W1 | building | yes | nowhere | 3 | :w-building |
And the places
| osm | class | type | name | geometry |
| W2 | highway | primary | bar | :w-WE |
@@ -34,5 +34,3 @@ Scenario: POI inside building inherits addr:street change
| N1 | W3 | 3 |
| N2 | W3 | 3 |
| N3 | W3 | 3 |