[Photon] Reverse lookup can be inaccurate
marc tobias
mtm at opencagedata.com
Sun Apr 7 23:50:58 UTC 2019
The latest (master) version of Nominatim is more flexible
in what data gets imported, it also allows deleted those
tables which aren't needed for reverse-only installations.
See
http://nominatim.org/release-docs/develop/admin/Import-and-Update/
(sections 'Reverse-only' and 'Filtering Imported Data'). I
think you only need the administrative boundaries which
is about 20GB (smaller than a default photon installation).
If the 20GB database fits into RAM it could also be faster.
To my knowledge photon doesn't have a filter to select only
objects of a certain admin_level (OSM tag name). It will look
for the smallest object, then lookup the hierarchy (district,
city, state etc). Lots of open feature requests, you're not a
Java/ElasticSearch developer with free time by any chance?
https://github.com/komoot/photon/
marc tobias
More information about the Photon
mailing list