Mobile Attendance Processing
Processes GPS-based mobile attendance punches, calculating distance from branch office and reverse-geocoding locations.
Mobile Punch Processing Flow
Distance Calculation
The system uses the Haversine formula via .NET's GeoCoordinate.GetDistanceTo():
var branchLocation = new GeoCoordinate(branchLat, branchLon);
var punchLocation = new GeoCoordinate(punchLat, punchLon);
double distanceInMeters = branchLocation.GetDistanceTo(punchLocation);