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.

Start a Project
More Work

Related Projects

Django Expo PostgreSQL
Mobius: B2B Scrap & Recycled Materials Marketplace with Live Commodity Pricing and Route Matching
The B2B scrap marketplace — connect with verified recyclers, access live commodity pricing from CME Group, and close deals with documented route agreements and built-in real-time chat.
View Details
Django Material UI PostgreSQL
Next Real Estate: 6-Module Property Management SaaS — Construction to Tenant Exit, Arabic RTL Included
One platform for the full property management lifecycle: construction costs, tenant onboarding, leases, utility billing, payroll, and Arabic RTL PDF lease agreement generation.
View Details