A) On‑Truck Apps & SDKs
| Need | ArcGIS piece | Notes | Refs |
|---|---|---|---|
| Show maps offline; draw/collect features; geofence | ArcGIS Maps SDKs (Runtime) | Native SDKs for Android/iOS/.NET/Qt. Support offline data, editing, and Geotriggers on-device. | Maps SDKs (Native) • Geotriggers |
| Turn‑by‑turn even when disconnected | ArcGIS Navigator | Offline navigation using packaged maps & network datasets; integrates with field apps. | Navigator documentation |
| Device‑side routing & map display | Runtime routing | Runtime samples show offline routing and map matching. | Routing & navigation |
B) Offline Maps & Geofences
- Mobile Map Package (MMPK) for basemaps + layers + locator + network dataset created in ArcGIS Pro, then sideloaded or downloaded to devices.
- Mobile geodatabases (SQLite) for editable feature layers; sync when connectivity returns.
- Geotriggers (Maps SDK) to notify when entering/exiting polygons (school zones, noise windows, weight limits) without the cloud.
Refs: ArcGIS Pro — Mobile Map Package (MMPK) • Offline data (Maps SDK) • Geotriggers
C) Field Data Capture (ready‑made apps)
| App | Best for | Offline | Refs |
|---|---|---|---|
| ArcGIS Field Maps | Map‑centric editing, inspections, attachments | Yes (sync later) | Field Maps docs |
| Survey123 | Smart forms with logic, photos, barcodes | Yes | Survey123 docs |
| QuickCapture | Big‑button tap‑to‑record incidents at speed | Yes | QuickCapture docs |
D) Real‑Time Streaming (MQTT/HTTP)
ArcGIS Velocity (ArcGIS Online) can subscribe to MQTT/HTTP streams, run real‑time analytics & geofences, and write to feature layers. For on‑prem, ArcGIS GeoEvent Server performs similar ingestion/geofencing in ArcGIS Enterprise.
E) Ops Dashboards & Feature Services
- ArcGIS Dashboards visualizes live truck locations, stops, and alerts from feature/stream layers.
- Persist edits via the ArcGIS REST
applyEditsAPI; supports batch updates and attachments.
Refs: ArcGIS Dashboards • ArcGIS REST — Feature Service: applyEdits
F) Example Flows & JSON
1) Disconnected Shift (offline edits → sync)
- Load MMPK + mobile geodatabase on device.
- Collect features/attachments with Field Maps or a Runtime app.
- When back online, sync or POST
applyEditsto the feature service.
2) Live Exception (edge → Velocity → Dashboard)
- On‑truck service posts an MQTT message:
{ "truck_id": "TRUCK-12", "event": "blocked_alley", "stop_id": "STOP-7781", "lat": 37.7812, "lon": -122.4058, "photo": "file://blocked_102_pine.jpg", "time_utc": "2025-10-05T14:02:00Z" } - ArcGIS Velocity ingests, checks geofences, writes a record to a feature layer.
- ArcGIS Dashboards displays the alert with filter/actions.
3) applyEdits request (illustrative)
POST /FeatureServer/0/applyEdits
Content-Type: application/json
{
"adds": [{
"attributes": {
"truck_id": "TRUCK-12",
"event": "blocked_alley",
"stop_id": "STOP-7781",
"note": "Dumpster across alley",
"timestamp": 1730748120
},
"geometry": { "x": -122.4058, "y": 37.7812, "spatialReference": {"wkid": 4326} }
}]
}
G) Security & Governance
- Least privilege: use item‑based access and token/cert auth; avoid admin tokens on devices.
- Offline integrity: sign data packages; verify before load; sandbox file imports.
- Privacy: minimize PII; redact/blur faces/plates on‑device if capturing video/photos.
- Quality: collocate sensors for calibration; log versions of models/prompts used for analytics.