mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
When inheriting an address rank from a linked place we must be careful not to destroy the hierarchy established through boundary admin_level. Therefore, before assigning an address rank from a linked place, find the next higher boundary in the admin_level hierarchy, look up its address rank and then only use the address rank from the linked place if it is higher.