Skip to main content

Location History

@dieter/location-historyv2026.09.18.1· 18d agoMODELSREPORTS
01README

Provider-neutral location evidence, enrichment, geocoding, timeline inference, and reports.

02Models7
@dieter/location-annotationsv2026.09.18.1location_annotations.ts

Global Arguments

ArgumentTypeDescription
annotationFilestringPrivate YAML file containing manual location facts and corrections.
fn import(outputChunkSize: number)
Validate and import manual location annotations
ArgumentTypeDescription
outputChunkSizenumberAnnotations per NDJSON output file; changes file layout, not imported facts.

Resources

summary(infinite)— Summary of validated manual location annotations

Files

evidence(application/x-ndjson)— Generic manual location evidence as NDJSON
exclusions(application/x-ndjson)— Manual evidence exclusions as NDJSON
@dieter/location-evidencev2026.09.18.1location_evidence.ts

Global Arguments

ArgumentTypeDescription
sourcesarrayGeneric source-adapter outputs to curate.
fn curate(outputChunkSize: number)
Merge generic adapter evidence and apply exclusions
ArgumentTypeDescription
outputChunkSizenumberRecords per NDJSON output file; changes file layout, not curated evidence.

Resources

summary(infinite)— Manifest for curated generic location evidence

Files

evidence(application/x-ndjson)— Curated generic location evidence as NDJSON
audit(application/x-ndjson)— Applied and unmatched evidence-exclusion audit records
warnings(application/x-ndjson)— Unmatched evidence-exclusion warnings
@dieter/location-geocodingv2026.09.18.1location_geocoding.ts

Global Arguments

ArgumentTypeDescription
sourceModelTypestringModel type that produced recurring-place data.
sourceModelIdstringID of the model that produced recurring-place data.
placeChunkNamesarrayRecurring-place file names to reverse geocode.
evidenceChunkNamesarrayEvidence file names to enrich with cached geography.
endpointurlNominatim-compatible reverse-geocoding API endpoint.
userAgentstringIdentifying HTTP User-Agent required by the geocoding service.
acceptLanguagestringPreferred language for returned place names.
minIntervalMsnumberMinimum delay between external geocoding requests, in milliseconds.
clusterPrecisionnumberDecimal precision used to derive reusable geocoding-cache keys.
fn sync(maxRequests?: number)
Reverse geocode uncached coordinate clusters sequentially
ArgumentTypeDescription
maxRequests?numberOptional development limit on uncached reverse-geocoding requests; omit to complete all pending places.
fn enrich(outputChunkSize: number)
Propagate cached reverse geocodes through recurring-place evidence
ArgumentTypeDescription
outputChunkSizenumberRecords per NDJSON output file; changes file layout, not enrichment results.

Resources

geocode(infinite)— Cached reverse-geocode fact
summary(infinite)— Reverse-geocoding synchronization or enrichment summary

Files

places(application/x-ndjson)— Recurring places enriched with cached location names
evidence(application/x-ndjson)— Generic location evidence enriched with named geography
@dieter/location-personal-placesv2026.09.18.1location_personal_places.ts

Global Arguments

ArgumentTypeDescription
sourceModelTypestringModel type that produced normalized location evidence.
sourceModelIdstringID of the model that produced normalized location evidence.
evidenceChunkNamesarrayEvidence file names to resolve against personal places.
placesarrayPersonal-place catalog; use an empty array when no precise places are configured.
fn enrich(maxRecords?: number)
Enrich coordinate evidence from the personal-place catalog
ArgumentTypeDescription
maxRecords?numberDevelopment-only limit on evidence records; output is truncated when reached.

Resources

summary(infinite)— Summary of local personal-place resolution

Files

evidence(application/x-ndjson)— Location evidence enriched with personal-place matches
@dieter/location-recurring-placesv2026.09.18.1location_recurring_places.ts

Global Arguments

ArgumentTypeDescription
sourceModelTypestringModel type that produced generic location evidence.
sourceModelIdstringID of the model that produced generic location evidence.
sourceChunkNamesarrayGeneric evidence file names to cluster.
fn enrich(radiusKm: number, outputChunkSize: number)
Cluster coordinate-bearing generic evidence without a time limit
ArgumentTypeDescription
radiusKmnumberMaximum distance from a recurring-place anchor to group coordinate evidence, in kilometres.
outputChunkSizenumberRecords per NDJSON output file; changes file layout, not clustering results.

Resources

summary(infinite)— Recurring-place clustering summary

Files

evidence(application/x-ndjson)— Generic evidence enriched with recurring places
places(application/x-ndjson)— Recurring spatial-place representatives
@dieter/location-takeoutv2026.09.18.1location_takeout.ts

Global Arguments

ArgumentTypeDescription
sourceDirectorystringRead-only root directory of an extracted Google Takeout export.
fn import(maxMetadataEntries?: number, chunkSize: number)
Scan extracted Google Takeout files and extract Google Photos GPS sidecars
ArgumentTypeDescription
maxMetadataEntries?numberDevelopment-only limit: stop after N supplemental metadata files; output and coverage metrics are truncated.
chunkSizenumberEvidence records per NDJSON output file; changes file layout, not the evidence set.

Resources

summary(infinite)— Summary of a Takeout metadata scan

Files

evidence(application/x-ndjson)— Generic location evidence in newline-delimited JSON
exclusions(application/x-ndjson)— Takeout exclusions; empty because this adapter emits none
@dieter/location-timelinev2026.09.18.1location_timeline.ts

Global Arguments

ArgumentTypeDescription
sourceModelTypestringModel type that produced enriched generic evidence.
sourceModelIdstringModel ID that produced enriched generic evidence.
evidenceChunkNamesarrayEnriched generic evidence chunks to segment.
fn build(radiusKm: number, reviewGapHours: number, outputChunkSize: number)
Infer chronological episodes from generic location evidence
ArgumentTypeDescription
radiusKmnumberMaximum coordinate distance between grouped presence instants, in kilometres.
reviewGapHoursnumberGap above which grouped instants require review, in hours.
outputChunkSizenumberEpisodes per NDJSON output file; changes file layout only.

Resources

summary(infinite)— Generic location-episode segmentation summary

Files

episodes(application/x-ndjson)— Source-neutral location episodes as NDJSON
03Reports2
@dieter/country-timelinemethod
country_timeline.ts

Country-level chronology with open bounds, travel context, and conflicts

@dieter/location-timelinemethod
location_timeline.ts

Detailed chronological location episodes, provenance, gaps, and conflicts

04Stats
A
100 / 100
Downloads
14
Archive size
80.9 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
05Platforms