Designing a Scalable Open-Source Workflow for Water Network Field Validation: Lessons from Costa Rica
2026-09-01 , Conference Management Room6

How can open-source GIS support large-scale and collaborative validation of urban water networks? This talk presents a scalable workflow built with QGIS, Giswater, PostGIS and QFieldCloud, enabling structured field data collection, multi-organization collaboration and high-quality datasets for hydraulic modelling in a national water utility.


This presentation describes the evolution of the enterprise GIS workflow at AyA (Instituto Costarricense de Acueductos y Alcantarillados, Costa Rica) to support large-scale validation and surveying of urban water distribution networks using a fully open-source stack.

The initial system focused on inspection visits and partial network review. However, it did not support full asset surveying when required, lacked isolation from the production database, and was not designed for simultaneous collaboration between multiple external organizations. As the need grew to update and validate large portions of the network, a more robust and scalable approach became necessary.

The new workflow is based on QGIS, Giswater, PostgreSQL / PostGIS, and QField with on-premise QFieldCloud. A dedicated campaign schema was introduced to separate field operations from production data, ensuring stability and controlled validation before integration.

Field campaigns and work packages are generated through custom tools in the Giswater QGIS plugin. Each package defines a geographic area and is assigned to a specific organization and field team. This design allows several external contractors to work in parallel while ensuring data isolation and preventing visibility between organizations.

Using QFieldCloud, projects are directly connected to the central PostgreSQL database via pgservice. Field teams update pipes, valves, pumps, tanks and other network assets in real time, comparing existing GIS data with actual field conditions and creating new assets where necessary. Changes become immediately available for validation in QGIS Desktop, reducing synchronization issues and improving transparency.

The workflow is currently designed to support large-scale surveying in Costa Rica, with ongoing work in parts of San José and full coverage planned for other cities. At present, two external organizations are actively working alongside AyA, involving around 20 concurrent users between field and office roles.

Key technical design choices to support operational needs include:
- Image management via WebDAV, automatically mounted on the server. A relational intermediate table allows unlimited images per asset, ensuring structured multimedia documentation.
- Implementation of a PostgreSQL session role mechanism, enabling the database current_user to reflect the authenticated QField user. This allows precise change tracking, user-based filtered views, and improved accountability.
- Custom PostgreSQL functions supporting topological control directly from QGIS, including detection of duplicate or orphan nodes and bulk pipe splitting using pre-existing nodes.

Once campaigns are completed, edits are reviewed and validated before controlled integration into production. The resulting datasets significantly improve network quality and enable reliable hydraulic modelling with Giswater, supporting strategic decision-making and long-term water management.

Although presented through the AyA case, the architecture and design principles are transferable to other utilities managing distributed infrastructure assets. The session will highlight reusable patterns and lessons learned to help organizations design collaborative, database-driven field workflows using open-source technologies.


Level of technical complexity: 2 - intermediate Give indication of resources (video, web pages, papers, etc.) to read in advance, that will help get up to speed on advanced topics.:

https://www.bgeo.es/en/gis-launch-without-adaptations-for-the-instituto-costarricense-de-acueductos-y-alcantarillado/
https://www.linkedin.com/posts/bgeoopengisslu_bgeo-inorca-opengis-activity-7375845211224113152-EHqa?utm_source=social_share_send&utm_medium=member_desktop_web&rcm=ACoAABr6rHUBopw90TgdTDz7PGfDkCd-HuJwdcg

Indicate what is (are) the open source project(s) essential in your talk:

Open source is essential to this proposal because it shows how a national public utility in Costa Rica is investing in reusable and transferable GIS solutions instead of proprietary systems. The workflow has been designed to be scalable and adaptable, allowing other organizations and countries to adopt similar approaches. This promotes collaboration, knowledge sharing and long-term sustainability, positioning the project as a potential reference model for Latin America.

I make my conference contribution available under the CC BY 4.0 license. The conference contribution comprises the abstract, the text contribution for the conference proceedings, the presentation materials as well as the video recording and live transmission of the presentation:

GIS Analyst with over eight years of experience at BGEO, currently serving as GIS Area Coordinator. He leads the implementation of GIS solutions for national and international clients, supporting all project phases, including deployment, training, customization, development, maintenance, and troubleshooting.

He actively contributes to the development of Giswater, focusing on its data model and PostgreSQL-integrated functionality. He works daily with tools such as QGIS, QField, GeoNode, GeoServer, and MapStore, and is strongly committed to promoting competitive, reliable open-source GIS solutions for companies and public administrations.

This speaker also appears in: