Skip to content

GPS Tracking

GPS Coordinate Collection

  • FleetTrack uses the GPS sensor of students' smartphones.
  • Students travelling on a bus can share their current location.
  • The mobile application periodically reads the device's latitude and longitude.
  • Each location update contains information such as:
  • Latitude
  • Longitude
  • Timestamp
  • Device/user identifier
  • Multiple students on the same bus can provide location data.

GPS Data Transmission

  • The mobile application sends GPS coordinates to the FleetTrack backend.
  • Location data can be transmitted using HTTP or WebSocket.
  • The backend receives and validates the location data.
  • The server processes location updates from multiple devices.
  • The most reliable location data is selected or aggregated for the bus.
Student Smartphone
       │
       │ GPS Coordinates
       ▼
 FleetTrack App
       │
       │ HTTP / WebSocket
       ▼
 Backend Server
       │
       │ Process Location
       ▼
  Bus Location

GPS Location Display

  • The processed bus coordinates are sent to connected students using WebSocket.
  • The frontend receives the latest coordinates in real time.
  • The bus position is displayed as a marker on an interactive map.
  • The marker is updated whenever a new location is received. Students can view the bus's current location and its movement along the route.
 Backend Server
      │
      │ WebSocket
      ▼
 Student App
      │
      ▼
 Map View
      │
      ▼
 Current Bus Location

Complete GPS Flow

GPS Sensor
    │
    ▼
Student Smartphone
    │
    │ Location Update
    ▼
FleetTrack App
    │
    │ HTTP / WebSocket
    ▼
Backend Server
    │
    │ Validate & Process
    ▼
Bus Location
    │
    │ WebSocket
    ▼
Connected Students
    │
    ▼
Interactive Map