Skip to content

Name KML placemarks by timestamp in two location artifacts - #2172

Merged
abrignoni merged 1 commit into
mainfrom
fix/wifi-portrait-kml-timestamps
Sep 13, 2026
Merged

Name KML placemarks by timestamp in two location artifacts#2172
abrignoni merged 1 commit into
mainfrom
fix/wifi-portrait-kml-timestamps

Conversation

@abrignoni

Copy link
Copy Markdown
Owner

Names KML placemarks by timestamp in two location artifacts.

  • wifiAnalyticsGeotags and personalizationPortraitLocations returned SQL datetime() strings, so kmlgen found no datetime value and named every placemark N/A. The timestamps now come from convert_cocoa_core_data_ts_to_utc and convert_unix_ts_to_utc.
  • wifiAnalyticsGeotags drops Entity ID (ZGEOTAG.Z_ENT), which held one value on every tested store.

Row counts and LAVA epochs are unchanged. Timestamp text in the HTML, TSV and timeline now ends in +00:00.

🤖 Generated with Claude Code

wifiAnalyticsGeotags and personalizationPortraitLocations returned their timestamps as SQL datetime() strings. kmlgen names a placemark after a Timestamp column or the first datetime value in the row, so every placemark in both KML exports was named N/A. The timestamps now come from convert_cocoa_core_data_ts_to_utc and convert_unix_ts_to_utc, so each placemark is named by the record's first timestamp, and the timestamp text in the HTML, TSV and timeline gains +00:00.

wifiAnalyticsGeotags also drops Entity ID. It was ZGEOTAG.Z_ENT, the Core Data entity number, and held a single value on every tested store.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@abrignoni
abrignoni merged commit 2e6a6f3 into main Sep 13, 2026
10 checks passed
@abrignoni
abrignoni deleted the fix/wifi-portrait-kml-timestamps branch September 13, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant