/suggest is now served purely from the local GeoNames index — no external geocoder call per keystroke. /geocode answers from the local index first and falls back to OSM Nominatim /search only on a miss (or while the index is still loading), covering the neighbourhood/postcode/tiny-village/native-name long tail the cities dump lacks. Nominatim shares the reverse geocoder's lock and ~1/sec pacing since both hit the same host, and only the low-volume /geocode miss path reaches it. Removes the Open-Meteo geocoding dependency entirely; the "geocode" metrics phase now maps to the nominatim source. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| app.py | ||