mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
We can't use getNearFeatures() to determine the parent of a place with an unlisted addr:place because this function returns place nodes that are potentially outside the area of interest. Doing the complete address computation is too expensive, so simply use the area with the largest rank that contains the feature instead.