feat(geocode): fully offline reverse geocode via local Pi API

- Remove all Nominatim/external calls from frontend
- Add /api/geocode?lat=&lon= route using reverse_geocoder (20MB offline KD-tree)
- JS hits /api/geocode only — works with no internet at all
- Falls back to raw coords if Pi route fails
- Add reverse_geocoder to requirements.txt

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
Mathieu Moran
2026-08-10 02:49:48 -04:00
co-authored by Copilot
parent 91d475fd24
commit 11e98de0ee
4 changed files with 27 additions and 30 deletions
+1 -1
View File
@@ -7,4 +7,4 @@ pyserial
RPi.GPIO
obd
requests
requests-toolbelt
requests-toolbeltreverse_geocoder