Abstract
The monitoring of metal pollution in environmental waters is crucial for the protection of ecosystems, human health and agricultural activities. Traditional laboratory metal analyses provide accurate concentration values, but the results are typically delivered as standalone numbers that lack immediate spatial context. Without additional processing, they do not directly reveal patterns, hotspots, or geographic relationships. The key challenge is therefore not measurement itself but transforming analytical data into spatially meaningful information that supports rapid interpretation and decision-making. The present study introduces a new approach to real-time water quality monitoring using portable X-ray fluorescence (p-XRF) technology coupled with geographic information systems (GIS). Using a custom Python script, p-XRF data measured on-site is processed and formatted into a GIS-compatible format, facilitating spatial visualization of metal concentrations in QGIS. Key aspects include robust data collection, spatial visualization, and validation processes to ensure accuracy and efficiency. These features provide quick and efficient insights into metal contamination trends and allow smart sampling and proactive decision-making.