Andrius Balciunas

Lecturer of Cartography, Geographic Information Systems and Web Mapping at the Geoscience Institute of Vilnius University. PhD in Physical Science, graduate in Geography at Vilnius University. Founder and GIS Developer at Geografines informacines technologijos.


Sessions

07-03
14:30
30min
Modernizing the National River and Lakes Cadastre by Transition to FOSS4G
Andrius Balciunas

This presentation is intended to introduce a project completed at the end of 2023, during which the Lithuanian National River and Lake Cadastre (https://uetk.biip.lt/) has been modernized by transferring GIS (and not only) solutions from commercial software to open source and by extending automated GIS data processing solutions. During the presentation, we will share not only the technological solutions we have adopted, but also our experience in changing the attitude of GIS specialists with experience of working with commercial GIS software towards open source.

The main technological components of the project included the development of a data management system using PostGIS and QGIS, the development of a map browser using openlayers and Vue JS (available as an open source project - https://github.com/AplinkosMinisterija/biip-maps-web), and the development of a service publishing solution based on QGIS Server. The project used Docker technology and GitHub action-based continuous deployment (CD) solutions, which should also be relevant to the audience.

Many of us know that building a system from the ground up is often much easier than upgrading an existing system that has been in place for a long time but has not been updated. This was the case for the National River and Lakes Cadastre as well. This process is particularly challenging when it comes to the modernisation of national information systems and cadastres, which are often subject to quite strict legislative control. There are also a number of challenges at the technical level: 1) old and outdated software that cannot be upgraded without overhauling the system, 2) integrations with other systems, 3) old infrastructure, 4) code that is closed and unmanageable by the organization, and 5) users who are working with the data, who are challenged by the new solutions. This is exactly the same set of problems that awaited the modernisation of the Lithuanian National Cadastre of Rivers and Lakes, managed by the Environmental Protection Agency.

The Lithuanian National Cadastre of Rivers and Lakes is a system for collecting, organizing and making available to other information systems and to the public data on rivers, lakes, ponds, as well as hydraulic engineering structures such as hydroelectric power plants, overflow culverts, fish ladders, fish passes, research stations, etc. The cadastre consists of three major components: the administration of GIS data, the publishing and viewing of online map services, and the provision of e-services (extracts, statistics). This cadastre is of particular importance as it is not only essential for the monitoring of the hydrographic network, but also for the protection of these features and the restriction of agricultural activities.

The digital cadastre of rivers and lakes was launched almost 10 years ago, and at that time it was one of the largest GIS projects in Lithuania. The cadastre was implemented using only commercial software: ArcGIS (ArcMap, ArcGIS Server, ArcGIS JS api), Oracle, Alfresco (document management system), etc. Over time, the Environment Agency has been unable to upgrade the software of these systems due to licensing costs, and has lost support as a result. The system soon showed its weaknesses: the system's availability was unacceptable (the load time of web map was 1 minute at peak times), the incorrectly implemented database structure led to a large number of errors, as the data was administered using a programmed plug-in in the ArcMap environment, any changes were difficult to implement and in practice were difficult to support due to the old code and outdated versions of ArcMap software.

We came into the modernisation project with the basic idea of migrating the core functionality to open source solutions, i.e. migrating exactly what is being used and not bloated with legacy software solutions. In this presentation, we will share these insights from the project:
- Use of PostGIS for automated data filling, e.g. automated analysis of river tributaries, lengths, distances to parent river headwaters, etc. All of this is realized with the help of PostGIS functions;
- Database structure and use to ensure data integrity;
- Creating a map browser using OpenLayers and Vue JS as a reusable component that now serves also for other informational systems;
- Use of QGIS server and Docker;
- GitHub and continuous deployment to dev, staging and production environments.

Transition to FOSS4G
GEOCAT (301)