WebGIS-Based K-Nearest Neighbor Classification for Agricultural Land Suitability Assessment Across Multiple Commodities in Curah Kalak Village, Situbondo Regency
DOI:
https://doi.org/10.35870/ijsecs.v6i2.7343Keywords:
Agricultural Land Suitability, Geographic Information System, K-Nearest Neighbor, WebGIS, Land ClassificationAbstract
Agricultural land suitability assessment plays an important role in supporting agricultural planning and ensuring that land resources are used according to environmental characteristics and crop requirements. In Curah Kalak Village, Situbondo Regency, land suitability assessment is generally conducted manually, resulting in limited efficiency and difficulties in accessing spatial information for decision-making. This study aims to develop a WebGIS-based agricultural land suitability classification system by integrating the K-Nearest Neighbor (KNN) algorithm with Geographic Information System (GIS) technology. The classification process uses environmental and spatial parameters, including slope, soil pH, soil type, rainfall, altitude, soil depth, and irrigation distance. A total of 669 agricultural land records were used as the dataset, and land suitability classes were classified using KNN with K = 31 based on Euclidean distance. The developed system classified land suitability for sugarcane, chili, corn, and rice commodities. The classification results indicated that chili and sugarcane were categorized as Highly Suitable (S1), whereas corn and rice were categorized as Moderately Suitable (S2). Performance evaluation using an 80:20 train-test split showed that the KNN model achieved an accuracy of 73.00%, weighted precision of 68.00%, weighted recall of 73.00%, and weighted F1-score of 70.00%, indicating moderate classification performance. Furthermore, the WebGIS provides interactive digital maps for visualizing classification results and spatial information. Black-box testing confirmed that all implemented system functions operated according to the specified requirements. The novelty of this study lies in the integration of KNN-based multi-commodity land suitability classification with WebGIS visualization within a village-level platform for agricultural land assessment. The proposed system can support agricultural land management and spatially informed decision-making in Curah Kalak Village.
Downloads
References
Abate, S. G., & Anteneh, M. B. (2024). Assessment of agricultural land suitability for cereal crops based on the analysis of soil physico-chemical characteristics. Environmental Systems Research, 13, Article 6. https://doi.org/10.1186/s40068-024-00333-y
AbdelRahman, M. A. E., Yossif, T. M. H., & Metwaly, M. M. (2025). Enhancing land suitability assessment through integration of AHP and GIS-based for efficient agricultural planning in arid regions. Scientific Reports, 15, Article 31370. https://doi.org/10.1038/s41598-025-14051-7
Artikanur, S. D., Widiatmaka, Setiawan, Y., & Marimin. (2023). An evaluation of possible sugarcane plantations expansion areas in Lamongan, East Java, Indonesia. Sustainability, 15(6), Article 5390. https://doi.org/10.3390/su15065390
Ashiagbor, G., Asare-Ansah, A. O., Amoah, E. B., Asante, W. A., & Mensah, Y. A. (2023). Assessment of machine learning classifiers in mapping the cocoa-forest mosaic landscape of Ghana. Scientific African, 20, Article e01718. https://doi.org/10.1016/j.sciaf.2023.e01718
Cheng, H., Chen, S., Yu, Y., Xu, Z., Zhu, B., Xu, X., & Wang, Z. (2021). Evaluation of agricultural land suitability based on RS, AHP, and MEA: A case study in Jilin Province, China. Agriculture, 11(4), Article 370. https://doi.org/10.3390/agriculture11040370
Chukwuere, J. E. (2021). Theoretical and conceptual framework: A critical part of information systems research process and writing. Review of International Geographical Education (RIGEO), 11(9), 2678–2683. https://doi.org/10.48047/rigeo.11.09.234
Dornik, A., Chetan, M. A., Crisan, T. E., Heciko, R., Gora, A., Dragut, L., & P. P. [Author information should be verified against the final published record]. (2024). Geospatial evaluation of the agricultural suitability and land use compatibility in Europe’s temperate continental climate region. International Soil and Water Conservation Research, 12(4), 908–919. https://doi.org/10.1016/j.iswcr.2024.01.002
Elbasi, E., Mostafa, N., Zaki, C., AlArnaout, Z., [remaining authors should be verified against the final published record]. (2024). Optimizing agricultural data analysis techniques through AI-powered decision-making processes. Applied Sciences, 14(17), Article 8018. https://doi.org/10.3390/app14178018
Kawung, Y., Tooy, D., & Pakasi, S. (2023). Design of a web-based geographic information to show spatial information of land used for horticulture. Agro Bali: Agricultural Journal, 6(3), 581–594. https://doi.org/10.37637/ab.v6i3.1373
Kiyak, E. O., Ghasemkhani, B., & Birant, D. (2023). High-level K-nearest neighbors (HLKNN): A supervised machine learning model for classification analysis. Electronics, 12(18), Article 3828. https://doi.org/10.3390/electronics12183828
Møller, A. B., Mulder, V. L., Heuvelink, G. B. M., Jacobsen, N. M., & Greve, M. H. (2021). Can we use machine learning for agricultural land suitability assessment? Agronomy, 11(4), Article 703. https://doi.org/10.3390/agronomy11040703
Patel, S., Kaur, B., Verma, S., Sood, A., Litoria, P. K., & Pateriya, B. (2023). Web GIS based decision support system for agriculture monitoring and management. Geoinformatics & Geostatistics: An Overview, 11(1), Article 1000133. https://doi.org/10.4172/2327-4581.1000133
Radočaj, D., & Jurišić, M. (2022). GIS-based cropland suitability prediction using machine learning: A novel approach to sustainable agricultural production. Agronomy, 12(9), Article 2210. https://doi.org/10.3390/agronomy12092210
Roy, P. P., Abdullah, M. S., & Siddique, I. M. (2024). Machine learning empowered geographic information systems: Advancing spatial analysis and decision making. World Journal of Advanced Research and Reviews, 22(1), 1387–1397. https://doi.org/10.30574/wjarr.2024.22.1.1200
Sarkar, D., Saha, S., & Mondal, P. (2023). Modelling agricultural land suitability for vegetable crops farming using RS and GIS in conjunction with bivariate techniques in the Uttar Dinajpur district of Eastern India. Green Technologies and Sustainability, 1(2), Article 100022. https://doi.org/10.1016/j.grets.2023.100022
Uddin, S., Haque, I., Lu, H., Moni, M. A., & Gide, E. (2022). Comparative performance analysis of K-nearest neighbour (KNN) algorithm and its different variants for disease prediction. Scientific Reports, 12, Article 10358. https://doi.org/10.1038/s41598-022-10358-x
Vinueza-Martinez, J., Correa-Peralta, M., Ramirez-Anormaliza, R., Arias, O. F., & Vera Paredes, D. (2024). Geographic information systems (GISs) based on WebGIS architecture: Bibliometric analysis of the current status and research trends. Sustainability, 16(15), Article 6439. https://doi.org/10.3390/su16156439
Wicaksono, A., Manalu, D. S. T., Sebayang, V. B., Pratama, A. J., Pamungkas, M. A., & Puspa, A. S. (2026). Geographic information system for land suitability mapping of partner farmers at Okiagaru Indonesia Agricoop using rule-based system and prototype methodology. Jurnal Teknik Informatika (JUTIF), 7(2), 1455–1467. https://doi.org/10.52436/1.jutif.2026.7.2.5471
Zilvanhisna, E. F., Irawan, A. D., Madjid, A., & Imron, A. M. N. (2025). Implementation of decision support system for analyzing the suitability of plantation crops. International Journal of New Media Technology, 12(1), 8–13.
Downloads
Published
License
Copyright (c) 2026 Moh. Alfian Husni Mubarok, A. Hamdani, Adi Susanto

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
1. Copyright Retention and Open Access License
Authors retain copyright of their work and grant the journal non-exclusive right of first publication under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license allows unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
2. Rights Granted Under CC BY 4.0
Under this license, readers are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material for any purpose, including commercial use
- No additional restrictions — the licensor cannot revoke these freedoms as long as license terms are followed
3. Attribution Requirements
All uses must include:
- Proper citation of the original work
- Link to the Creative Commons license
- Indication if changes were made to the original work
- No suggestion that the licensor endorses the user or their use
4. Additional Distribution Rights
Authors may:
- Deposit the published version in institutional repositories
- Share through academic social networks
- Include in books, monographs, or other publications
- Post on personal or institutional websites
Requirement: All additional distributions must maintain the CC BY 4.0 license and proper attribution.
5. Self-Archiving and Pre-Print Sharing
Authors are encouraged to:
- Share pre-prints and post-prints online
- Deposit in subject-specific repositories (e.g., arXiv, bioRxiv)
- Engage in scholarly communication throughout the publication process
6. Open Access Commitment
This journal provides immediate open access to all content, supporting the global exchange of knowledge without financial, legal, or technical barriers.
