forked from hans/Nominatim
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.
38 KiB
38 KiB