[Photon] Rank address and city
Hendrik Moree
hendrikmoree at gmail.com
Fri Dec 24 07:35:49 UTC 2021
Hi,
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)
For example https://www.openstreetmap.org/relation/163550. 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.
nominatim=# select rank_search, rank_address, admin_level from placex where
osm_type = 'R' and osm_id = 163550;
rank_search | rank_address | admin_level
-------------+--------------+-------------
16 | 22 | 10
For example this one, which seems to be comparable is okay:
https://www.openstreetmap.org/relation/271169
But the rank_address is 0
nominatim=# select rank_search, rank_address, admin_level from placex where
osm_type = 'R' and osm_id = 271169;
rank_search | rank_address | admin_level
-------------+--------------+-------------
16 | 0 | 10
Who is wrong in the case of Bunschoten - Spakenburg? Is it OSM, Nominatim,
Photon?
Can anyone explain how the rank_address is determined?
Thanks for helping!
Regards,
Hendrik Morée
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/photon/attachments/20211224/ac8353c1/attachment.htm>
More information about the Photon
mailing list