IMPLEMENTATION OF GEOFENCING ALGORITHM FOR MOBILE-BASED ONLINE STUDENT ATTENDANCE SYSTEM AT SMA NEGERI 5 MEDAN

Authors

  • Dio Kiasta Universitas Islam Sumatera Utara
  • Mhd Zulfansyuri Siambaton Universitas Islam Sumatera Utara
  • Tasliyah Haramaini Universitas Islam Sumatera Utara

Keywords:

AABB (Axis Aligned Bounding Box), Firebase Realtime Database, Flutter, Geofencing, Laravel, Location-Based Services, Mapbox, Mobile Attendance System

Abstract

The manual attendance system still used in many schools has significant weaknesses such as time inefficiency, vulnerability to "proxy attendance" manipulation, and human error in the recapitulation process. This research aims to develop a mobile-based student attendance system with Geofencing technology using the AABB (Axis-Aligned Bounding Box) algorithm to ensure the validity of student attendance only within predetermined school areas. The research method employs a Prototyping approach with a technology stack consisting of Flutter for the frontend, Laravel for the backend API, MySQL and Firebase Realtime Database for data storage, and Mapbox API for 3D map visualization. The novelty of this research lies in the implementation of a 3D volumetric virtual fence that validates not only horizontal coordinates (latitude and longitude) but also the vertical altitude of students, addressing manipulation vulnerabilities present in conventional 2D Geofencing systems. Functional testing results (black box testing) demonstrate that all main system features operate according to specifications for the three user roles (Administrator, Teacher, and Student). Geofencing accuracy testing proves that the AABB algorithm is capable of validating locations with a 100% success rate across various test scenarios, including rejection of attendance attempts from outside the configured horizontal and vertical boundaries. Compatibility testing on 20 Android devices shows that the application runs stably with good location accuracy. This system successfully enhances attendance process efficiency, attendance data accuracy, and significantly prevents location manipulation. The implementation of Firebase Realtime Database enables real-time attendance monitoring by teachers, while the Mapbox 3D-based visual interface facilitates Administrator configuration of validation areas. This research provides an important contribution to the development of Location-Based Services (LBS) systems for the education sector through a three-dimensional spatial validation approach.

References

Dewi, R., & Maulana, F. (2021). Analisis Sequence Diagram pada Sistem Informasi Pendidikan Berbasis Web. Jurnal Teknologi dan Komputer, 10(2), 87–94.

Ericson, C. (2004). Real-Time Collision Detection. CRC Press, ISBN: 978-1558607323.

Firmansyah, A., & Rachman, I. (2022). Perancangan Use Case Diagram untuk Sistem Ujian Berbasis Android. Jurnal Teknologi Informasi Terapan, 12(1), 44–53.

Gupta, A., & Kumar, V. (2021). Geofencing: A comprehensive survey on concepts, technology and applications. Journal of Ambient Intelligence and Humanized Computing.

Hasibuan, M. I., & Triase, T. (2022). Implementasi sistem database NoSQL secara realtime menggunakan Firebase Realtime Database pada aplikasi Ourticle. SIBATIK JOURNAL: Jurnal Ilmiah Bidang Sosial, Ekonomi, Budaya, Teknologi, dan Pendidikan, 2(1):1-24 DOI: 10.54443/sibatik.v2i1.489.

Hidayah, F., & Saputra, A. (2024). Pemanfaatan Android dalam Pengembangan Aplikasi Ujian Online Sekolah Menengah. Jurnal Ilmiah Informatika Pendidikan, 12(1), 56–64.

Maulana, D., & Rachmat, A. (2022). Pemanfaatan Flutter dalam Pengembangan Aplikasi Pendidikan Berbasis Mobile. Jurnal Teknologi Informasi Pendidikan, 10(3), 211–220.

Novriansyah, M. A., Simatupang, D. S., & Sujjada, A. (2023). Geographic Information System Mapping of Legal Waste Disposal Site Locations in Sukabumi. G-Tech: Jurnal Teknologi Terapan, 7(3), 1194–1206 DOI: https://doi.org/10.33379/gtech.v7i3.2869.

Otwell, T. (2021). Laravel: Up & Running: A Framework for Building Modern PHP Apps.

Pressman, R., & Maxim, B. (2023). Software Engineering: A Practitioner's Approach (9th ed.). McGraw-Hill Education.

Santoso, H., Suharso, W., & Hariyady, H. (2022). Pembangunan aplikasi mobile hybrid pada M-voting pemilu raya Universitas Muhammadiyah Malang. IJAI (Indonesian Journal of Applied Informatics), 5(1), 12-22.

Setiawan, A., & Nurhayati, L. (2022). Unified Modeling Language (UML) sebagai Alat Bantu Perancangan Sistem Informasi. Jurnal Sistem Informasi dan Komputer, 12(2), 101–110.

Sudirman, B., Susatyono, J. D., & Azhari, M. N. (2025). Implementasi Geofencing pada Sistem Presensi Siswa dengan Verifikasi Lokasi Secara Real-Time: Studi Kasus SMK Islamic Center Baiturrahman. Jurnal Teknik Mesin, Elektro dan Ilmu Komputer (TEKNIK), 5(2), 24-35. https://doi.org/10.55606/teknik.v5i2.7131.

Suryani, E., & Putra, H. (2021). Penerapan UML dalam Pengembangan Aplikasi Mobile Berbasis Android. Jurnal Ilmiah Teknologi dan Sistem Informasi, 9(2), 87–96.

Tresnani, Lestari, D., & Rinaldi, M. (2012). Implementasi Sistem Absensi Pegawai Menggunakan QR Code Pada Smartphone Berbasis Android. Jurnal Sarjana Institut Teknologi Bandung Bidang Teknik Elektro dan Informatika, 1(2), 257–261.

Yuliani, R. (2020). Pengembangan Aplikasi Mobile Learning Berbasis Android untuk Meningkatkan Efektivitas Pembelajaran. Pengembangan Aplikasi Mobile Learning Berbasis Android untuk Meningkatkan Efektivitas Pembelajaran, 13(1), 25–33.

Zandbergen, P. A. (2009). Accuracy of iPhone Locations: A Comparison of Assisted GPS, WiFi and Cellular Positioning. Transactions in GIS, 13(s1), 5-25.

Downloads

Published

2025-12-07