docs: OCR GPS auto-save + MSFS enrichment

2026-05-28 22:30:38 -04:00
parent c54f7ec1f1
commit b61ad080d9
+3 -2
@@ -10,7 +10,7 @@ Mobile-first web app for tracking physical assets via barcode scanning, OCR stic
## Latest: Major App Overhaul (May 28) ## Latest: Major App Overhaul (May 28)
- **DB rebuilt** with **9,636 MSFS-merged assets** via `import_msfs.py` - **DB rebuilt** with **9,636 MSFS-merged assets** via `import_msfs.py`
- **Find Asset tab** (renamed from Add/Find): lookup-only mode — barcode scanning and OCR only, no new asset creation - **Find Asset tab** (renamed from Add/Find): lookup-only mode — barcode scanning and OCR only, no new asset creation. OCR EXIF GPS auto-saved to asset when lat/lng blank.
- **Assets tab**: removed import functionality - **Assets tab**: removed import functionality
- **Map tab**: removed geofence drawing tools - **Map tab**: removed geofence drawing tools
- **OSRM navigation**: added to Map tab with driving/walking mode toggle, turn-by-turn directions, distance/ETA - **OSRM navigation**: added to Map tab with driving/walking mode toggle, turn-by-turn directions, distance/ETA
@@ -260,8 +260,9 @@ When building_number is entered in the manual asset form or location form, it au
| `/api/assets` | CRUD | Asset management | | `/api/assets` | CRUD | Asset management |
| `/api/assets/search?machine_id=` | GET | Lookup by machine ID | | `/api/assets/search?machine_id=` | GET | Lookup by machine ID |
| `/api/checkins` | POST/GET | GPS check-ins | | `/api/checkins` | POST/GET | GPS check-ins |
| `/api/ocr` | POST | Extract machine_id from sticker image | | `/api/ocr` | POST | Extract machine_id from sticker image; auto-saves EXIF GPS to asset lat/lng if blank |
| `/api/connect-label` | POST | Unified photo + OCR + GPS asset creation | | `/api/connect-label` | POST | Unified photo + OCR + GPS asset creation |
- **MSFS enrichment:** Asset detail view (`GET /api/assets/{id}`) now includes `msfs` block with Dynamics 365 Field Service data — Connect ID, manufacturer, install date, work order count, etc.
| `/api/geocode?lat=&lng=` | GET | Reverse geocode GPS → address | | `/api/geocode?lat=&lng=` | GET | Reverse geocode GPS → address |
| `/api/geocode-address?address=` | GET | Forward geocode address → GPS | | `/api/geocode-address?address=` | GET | Forward geocode address → GPS |
| `/api/checkins/heatmap?days=&limit=` | GET | Real check-in GPS coords for heatmap | | `/api/checkins/heatmap?days=&limit=` | GET | Real check-in GPS coords for heatmap |