move linked place type into linked_place extratags

Using linked_place means that we don't overwrite any
place tags on the boundary. This is important when we
wanto to use the information for linking.
This commit is contained in:
Sarah Hoffmann
2020-02-09 22:26:53 +01:00
parent b00d16fd7d
commit 00ca493f33
4 changed files with 23 additions and 6 deletions

View File

@@ -125,11 +125,11 @@ Feature: Updates of linked places
When importing
Then placex contains
| object | extratags |
| R1 | 'wikidata' : '34', 'place' : 'city' |
| R1 | 'wikidata' : '34', 'linked_place' : 'city' |
When updating places
| osm | class | type | name | extra+oneway | admin | geometry |
| N3 | place | city | newname | yes | 30 | 0.00001 0 |
Then placex contains
| object | extratags |
| R1 | 'wikidata' : '34', 'oneway' : 'yes', 'place' : 'city' |
| R1 | 'wikidata' : '34', 'oneway' : 'yes', 'linked_place' : 'city' |