Implementation of Spatial Analysis Using KNN-5 in GIS for Mapping Mushroom Houses in Karawang Regency

Authors

  • Muhamad Guntur Buana Perjuangan University
  • April Lia Hananto Buana Perjuangan University
  • Fitria Nurapriani Buana Perjuangan University
  • Shofa Shofiah Hilabi Buana Perjuangan University

DOI:

https://doi.org/10.32627/aims.v9i1.1910

Keywords:

Geographic Information System, K-Nearest Neighbors, Mushroom Farming, Market Proximity, Spatial Analysis

Abstract

This research aims to develop a Geographic Information System (GIS) to map the locations of straw mushroom farms in Karawang Regency by applying spatial analysis based on the K-Nearest Neighbors algorithm with k = 5. This approach examines the spatial proximity relationship between mushroom production sites and the nearest markets to inform location-based distribution decisions. The research method employs a quantitative approach through mapping, geographic coding, and analysis of geographic distances, which are integrated into the GIS. Spatial data are obtained from field observations and collected from mushroom farmers, then analyzed using distance calculations based on geographic coordinates. The results show that the K-Nearest Neighbors analysis with k = 5 can dynamically identify the nearest markets and more objectively represent the spatial relationship between production and markets than a static radius approach. Additionally, proximity analysis between farms reveals local-scale spatial clustering patterns, while radius analysis provides an initial overview of limited spatial accessibility. Integrating the analysis results into the Geographic Information System enables comprehensive spatial visualization and supports more efficient, data-driven decision-making for straw mushroom distribution.

Downloads

Published

2026-03-03

Issue

Section

Articles