<div dir="ltr">Hi,<div><br></div><div>Some places in the Netherlands have a rank_address in nominatim that doesn't match with a city in Photon. (Most places are correct btw)</div><div><br></div><div>For example <a href="https://www.openstreetmap.org/relation/163550">https://www.openstreetmap.org/relation/163550</a>. This one has admin_level 10 which (in the Netherlands) always is the city name. But because Photon is based on rank_address this ends up wrong. rank_search seems to be more realistic in this case.</div><div><br></div><div><font face="monospace">nominatim=# select rank_search, rank_address, admin_level from placex where osm_type = 'R' and osm_id = 163550;<br> rank_search | rank_address | admin_level<br>-------------+--------------+-------------<br>          16 |           22 |          10</font><br></div><div><br></div><div><br></div><div>For example this one, which seems to be comparable is okay: </div><a href="https://www.openstreetmap.org/relation/271169">https://www.openstreetmap.org/relation/271169</a><div>But the rank_address is 0</div><div><font face="monospace">nominatim=# select rank_search, rank_address, admin_level from placex where osm_type = 'R' and osm_id = 271169;<br> rank_search | rank_address | admin_level<br>-------------+--------------+-------------<br>          16 |            0 |          10</font><br></div><div><br></div><div>Who is wrong in the case of Bunschoten - Spakenburg? Is it OSM, Nominatim, Photon?</div><div>Can anyone explain how the rank_address is determined?</div><div><br></div><div>Thanks for helping!</div><div><br></div><div>Regards,</div><div>Hendrik Morée<br></div></div>