Field Ops
Locatelog: GPS Attendance & Polygon Geofencing System — Zero Proxy Sign-Ins, Full Audit Trail
Eliminate attendance fraud — GPS polygon geofencing validates every field employee check-in against physical site boundaries in real time. Multi-site hierarchy, mobile app, leave management.
Django
Material UI
PostgreSQL
Python
React
Redux
3
Org Hierarchy Levels (Circle → Division → SubDivision)
5
Attendance Record Types with Full Leave Management
Any Shape
Polygon Boundary Supported — Simple Rectangle to Complex Site
The Problem
Paper Attendance Registers Are Trivially Bypassed at Every Field Site
For organisations with dozens of distributed field sites, traditional paper attendance registers are trivially bypassed — employees can sign in from anywhere. Manual supervisor verification is expensive, slow, and doesn't scale across multiple geographic divisions.
Field-service organisations needed a system that could verify attendance against physical site boundaries in real time, handle multiple parallel workspaces across a geographic hierarchy, manage leave requests with approvals, and give administrators a live operational view of who is on-site across the entire organisation.
Our Solution
GPS Geofencing with 3-Tier Org Hierarchy and Mobile GPS Check-In
We built Locatelog as a full-stack Django + React platform. The backend models a three-tier geographic hierarchy (Circle → Division → SubDivision) that maps to the client's operational territory structure, with each workspace assigned to a level and each employee assigned to one or more workspaces.
The geofencing engine uses an advanced polygon boundary algorithm that instantly validates whether any GPS coordinate falls within a defined site boundary — handling irregular shapes, complex polygons, and all edge cases reliably. It works with any polygon regardless of shape or vertex count, giving the client the flexibility to define irregular site boundaries precisely.
The mobile check-in system fetches all workspace assignments for the employee, runs the geofencing check against each polygon, and creates an Attendance record with in_boundary=True (type=In) or in_boundary=False (type=CLNA). The same endpoint handles leave submissions and check-out records.
The admin dashboard uses annotated ORM queries to deliver type-bucketted attendance counts in a single DB round trip. A geographic map view filters employee locations by Circle, Division, or SubDivision — giving supervisors real-time visibility at whatever hierarchical level they need.
Architecture
Django 5 + DRF API. JWT authentication. PostgreSQL database. Pure Python polygon boundary geofencing engine (no external dependencies). 3-tier geographic hierarchy (Circle → Division → SubDivision). JSONField polygon coordinate storage. Attendance model with 5-type enum and full leave management fields. React + Redux + Material UI dashboard. Mobile API for GPS coordinate submission.
The Result
GPS-Verified Attendance at Every Site — Zero Proxy Sign-Ins, Complete Audit Trail
Locatelog eliminated paper-based attendance fraud across every field site. GPS coordinates are validated against precise polygon boundaries in real time on check-in, so every attendance record carries a verified in_boundary flag — something no paper register or manual sign-in sheet can provide.
The three-tier geographic hierarchy let administrators filter and report at Circle, Division, or SubDivision level — matching the organisation's exact operational structure. The leave approval workflow replaced ad-hoc WhatsApp and email leave requests with a traceable, auditable system: leave submissions move through Awaiting → Approved/Denied with a complete notification trail.
Selfie capture added an additional identity verification layer for high-compliance sites. The signals-driven activity log and annotated ORM dashboard queries gave directors real-time attendance statistics and a live geographic view of who is on-site — at whatever hierarchical level they need — all from a single dashboard screen.
Want scalable architecture and measurable results like this?
Book an Architecture Audit
Build Something Like This
// free scoping call · senior engineers · no commitment
Project scope, timelines, and architecture options in one 45-minute session.
More Work