RABIT: Jurnal Teknologi dan Sistem Informasi Univrab
Vol 11 No 2 (2026): Juli

ANALISIS SPASIAL KLASTER KECELAKAAN LALU LINTAS MENGGUNAKAN ALGORITMA K-MEANS BERBASIS QGIS UNTUK IDENTIFIKASI BLACK SPOT DI KABUPATEN GUNUNGKIDUL

Lukky Astuti (Universitas Mercu Buana Yogyakarta)
Agus Sidiq Purnomo (Universitas Mercu Buana Yogyakarta)



Article Info

Publish Date
10 Jul 2026

Abstract

Traffic accidents are a serious problem in Gunungkidul Regency, with more than 947 recorded incidents throughout 2025. This study aims to analyze spatial distribution patterns of accidents, identify risk cluster characteristics, determine black spot locations, and formulate mitigation recommendations. The method includes Risk Index calculation using Weighted Risk Assessment with five criteria (C1-C5), followed by the K-Means clustering algorithm validated using the Elbow Method to determine the optimal number of clusters (k=3) and the Silhouette Score (0.6645) to measure cluster quality, as well as QGIS-based spatial visualization. The results on 500 sample data show that the optimal number of clusters is k=3 with a Silhouette Score of 0.6645. Cluster 1 (low risk) includes 164 data (32.8%), Cluster 2 (medium risk) 273 data (54.6%), and Cluster 3 (black spot) 63 data (12.6%). Statistical validation using the Kruskal-Wallis test showed significant differences between clusters (H=419.5850; p<0.001). The main black spots are concentrated on the Wonosari-Yogyakarta Road, Patuk and Playen segments. This study produces specific mitigation recommendations for each risk cluster.

Copyrights © 2026






Journal Info

Abbrev

rabit

Publisher

Subject

Computer Science & IT Engineering

Description

This journal is called RABIT, where the name comes from two words namely, RAB which means Abdurrab University and IT which means information technology, it can be interpreted as a journal of this journal Journal of Informatics Engineering Study Program Pekanbaru Abdurrab University. This RABIT ...