Google Maps saved lists from a scheduled Google Takeout: hourly check of TAKEOUT_DIR (brick's Drive backup, mounted read-only), the zip with Takeout/Saved/*.csv picked by its central directory (photo parts skipped), each list into Google Maps/<list>; positions decoded offline from the place's S2 feature id and refined by Nominatim, unresolved ones flagged approximate in the popup (cleared when moved by hand); points matched by Google id per folder, so a new export updates them (own color/icon/position kept, deleted stay deleted)
CI / check (push) Successful in 8m56s
CI / deploy (push) Successful in 38s

This commit is contained in:
randy committed 2026-11-25 15:10:30 +01:00
1 parent 261b4c053e
commit 0aee739ac3
9 files changed
+306 -1

No files matched your search

+10
View File
@@ -61,6 +61,9 @@ services:
KIWIX_URL: "http://kiwix:8080"
# The valhalla service below, same story as KIWIX_URL.
VALHALLA_URL: "http://valhalla:8002"
# Google Takeout exports (the "Saved" lists), mounted below; app.rb
# imports a new one hourly. Remove both lines to turn it off.
TAKEOUT_DIR: /app/takeout
volumes:
# Uploaded GPX files and the offline PMTiles extract — kept outside
# the image so a rebuild/redeploy doesn't wipe them (see
@@ -80,6 +83,13 @@ services:
# recursively relabels that file to maptool's own private label,
# locking kiwix out of it (and kiwix's :Z would do the same back).
- ./data:/app/data:z
# Where the Google Drive backup syncs the scheduled Takeout (a plain
# directory; changed files get moved to ../../old/, so the bind stays
# valid). Read-only. Shared :z like data/ above: brick enforces
# SELinux and the backup tree is unlabeled_t, unreadable for a
# container; the root sync job is unaffected by the relabel and new
# files inherit the directory's label.
- /srv/backup/gdrive/my-drive/current/Takeout:/app/takeout:ro,z
# Fakes a GNSS fix (a loop around Bratislava, see
# bin/gnss_simulator.rb/docs/development.adoc) since there's no real