]> git.openstreetmap.org Git - nominatim.git/commit
ensure consistent country assignments
authorSarah Hoffmann <lonvia@denofr.de>
Thu, 15 Aug 2024 12:26:09 +0000 (14:26 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Thu, 15 Aug 2024 12:26:09 +0000 (14:26 +0200)
commit054efc8311839f6665d54b44b3bb811948199555
tree3ae20f0a8331f476e3def9ef439d43b9a8b4f54a
parentd7cf81c0473a3d6c280607ed8b90ba17fdf414f7
ensure consistent country assignments

When OSM data has areas with overlapping countries, use the country
assignments from the pre-defined country grid for tie-breaking.
If that fails, fall back to the country with the smaller partition
number.
lib-sql/functions/utils.sql
test/bdd/db/import/country.feature