MSFS clean-slate import + real GPS overlay #46

Closed
opened 2026-05-29 03:01:05 +00:00 by shawn · 0 comments
Owner

Summary

Reset the DB to MSFS-only data then overlaid real field GPS on top.

Steps

  1. Exported 28 GPS records from current DB to /tmp/gps_restore.sql
  2. Ran import_msfs.py — fresh DB from merged-assets.json (9,636 assets)
  3. Cleared all MSFS-derived GPS (address-geocoded data, not real machine locations)
  4. Re-imported the 28 real GPS records by machine_id match
  5. Restarted server on port 8901

Result

  • 9,636 assets total (MSFS data = base)
  • 28 assets with real field GPS
  • Zero address-derived geocoded GPS
  • GPS backup saved at /tmp/gps_backup.csv and /tmp/gps_restore.sql
  • DB pre-import backup at assets.db.20260528_225934.pre-msfs-import
## Summary Reset the DB to MSFS-only data then overlaid real field GPS on top. ### Steps 1. Exported 28 GPS records from current DB to `/tmp/gps_restore.sql` 2. Ran `import_msfs.py` — fresh DB from `merged-assets.json` (9,636 assets) 3. Cleared all MSFS-derived GPS (address-geocoded data, not real machine locations) 4. Re-imported the 28 real GPS records by machine_id match 5. Restarted server on port 8901 ### Result - 9,636 assets total (MSFS data = base) - 28 assets with real field GPS - Zero address-derived geocoded GPS - GPS backup saved at `/tmp/gps_backup.csv` and `/tmp/gps_restore.sql` - DB pre-import backup at `assets.db.20260528_225934.pre-msfs-import`
shawn closed this issue 2026-05-29 03:01:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: shawn/canteen-asset-tracker#46