]> git.openstreetmap.org Git - nominatim.git/commit
place nodes can only be linked once against boundaries
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 2 Dec 2020 14:31:02 +0000 (15:31 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 2 Dec 2020 14:31:02 +0000 (15:31 +0100)
commit987d60ccdaa750defcd09ce64f19e3e049222802
treee76d4daf0a7bf8a47120ae0f9e294e6d98ba1b31
parent7d520bf448191d12b96265fb066dd7039cde041c
place nodes can only be linked once against boundaries

If a place node is already linked against a boundary, it should not
be used for linking again. It is usually a sign of a mapping error,
when there are multiple boundary candidates. This change just avoids
inconsistent data in the database, it does not guarantee that the
linking is against the more correct boundary.
sql/functions/placex_triggers.sql
test/bdd/db/import/linking.feature