Analisis Perbandingan Algoritma Dijkstra, Haversine, dan Distance Matrix API pada Penentuan Jarak Sekolah di Kota Semarang
The distance between home and school often becomes an important consideration in the school selection process, as it relates to accessibility, comfort, and travel time efficiency. There are various distance calculation methods that can be used, each with its own advantages. This study aims to compare three distance calculation methods, namely Dijkstra (using road network data from OpenStreetMap), the Haversine method, and the Google Distance Matrix API. The results show that Dijkstra provides a more realistic distance estimate compared to the Haversine method, with an average difference of 1.78 km from the Google Distance Matrix API results. Meanwhile, the Haversine method has an average difference of 3.64 km. This research offers an offline solution based on the Dijkstra algorithm for school navigation in large cities. The developed system provides an efficient and independent alternative for distance estimation for zoning selection in school admissions, without reliance on an internet connection. Nevertheless, this system has not yet considered dynamic factors such as traffic conditions, and it is still limited to the Semarang City area and has not been optimized for large-scale usage scenarios.
Authors
- Nur Cahyo Hendro Wibowo
- Masy Ari Ulinuha (ORCID: https://orcid.org/0000-0001-8481-4746)
- Khothibul Umam (ORCID: https://orcid.org/0000-0002-9403-9461)
- Jauharul Umam
Institutions
- Walisongo State Islamic University (ID)
Publication Details
- Journal
- Jurnal Teknologi dan Manajemen Informatika
- Published
- 2025-07-04
- DOI
- https://doi.org/10.26905/jtmi.v11i1.15544
- Primary Topic
- Multimedia Learning Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00