Export GPS data from Immich photos to GeoJSON
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-28 22:13:10 +02:00
immich_geojson_timeline.py Initial commit: immich geojson timeline exporter 2026-07-28 22:13:10 +02:00
README.md Initial commit: immich geojson timeline exporter 2026-07-28 22:13:10 +02:00

immich-geojson-timeline

Exportiert Immich-Fotos mit GPS-Daten als GeoJSON-Timeline, kompatibel mit GeoPulse.

Features

  • Ohne Bilder herunterzuladen - nutzt nur EXIF-Metadaten über die Immich API
  • Erzeugt Point-Features mit timestamp und device_id in den Properties (GeoPulse-kompatibel)
  • Chronologisch sortiert
  • Datumsfilter (--start-date, --end-date)
  • Optional: Nur eigene Assets (--only-owned)

Voraussetzungen

  • Python 3.10+
  • Immich API-Key mit asset.read und user.read

Usage

python3 immich_geojson_timeline.py \
    --base-url https://immich.example.com \
    --api-key DEIN_API_KEY \
    --output timeline.geojson \
    [--start-date 2024-01-01] \
    [--end-date 2024-12-31] \
    [--only-owned]

GeoPulse Import

  1. GeoJSON in GeoPulse hochladen (Menu -> Import/Export Data -> GeoJSON)
  2. Jeder Punkt enthält automatisch:
    • timestamp (ISO-8601 UTC)
    • device_id (immer "immich-location-exporter")
    • Optional: altitude (wenn in EXIF vorhanden)

License

MIT