# EGMStream Webapp: EGMS Data Downstream Solution
## 4 Discussion  
The increasing availability of EGMS data and their critical role in monitoring and analysing ground deformation require solutions capable of overcoming technical barriers, allowing even non-expert users to access these datasets with ease. The development of the EGMStream webapp addresses the growing need within the scientific and professional communities for intuitive, scalable, and high-performance tools to manage complex geospatial datasets. The migration from a desktop application (the first version of EGMStream [48]) to a web-based architecture represents a significant advancement in accessibility, performance, and scalability. By eliminating the need for local installations and high-performance hardware, the EGMStream webapp ensures universal access through a user-friendly interface that can be used from any internet-connected device. This transition enables a much larger audience, including public entities, local administrations, and stakeholders involved in the analysis of geological, infrastructural, and environmental phenomena, to benefit from its advanced features. Furthermore, the web-based platform allows for faster and more efficient processing of large geospatial datasets, making the application a versatile tool for diverse user needs. A crucial improvement was the integration of Docker, a technology that enables the isolation of applications within portable containers. This solution ensures that the software operates consistently across different platforms, overcoming compatibility and dependency issues. Additionally, Docker allows for the implementation of a scalable cloud-based architecture capable of handling a high number of simultaneous requests without compromising performance. Parallel processing, made possible by this architecture, significantly reduces the time required for data downloading and format conversion, improving the system efficiency. Centralized data management represents another significant advancement over the previous desktop version. While the R-based version required users to download and convert EGMS data locally, introducing limitations related to hardware resources and storage capacity, the web application transfers the computational load to the server. Converted data are sent directly to the user email, ensuring quick and organized access while simplifying the workflow and enabling remote data retrieval. Additionally, the possibility for users to close the browser or turn off their device during the data conversion, thanks to server-side computation, enhances practicality and flexibility. This ability, combined with an automated temporary data management system on a server offering up to 10 TB of available space and automatic deletion after three days, ensures optimal resource management without compromising the user experience. \begin{table}
\begin{tabular}{c c c c c c} \hline \hline  & **Case Study** & **Data Format** & **EGMS Product** & **Time Series** & **Area (km2)** & **Time** \\ \hline (iii) & Firenze–Prato–Pistoia basin & GPKG & \begin{tabular}{c} ORTHO \\ (2018–2022) \\ \end{tabular} & NO & 515.98 & \textless{}1 min \\ \hline (iv) & Rules Dam and Reservoir & SHP & \begin{tabular}{c} BASIC \\ (2019–2023) \\ \end{tabular} & NO & 17.73 & 14 min \\ \hline (v) & Solnitsata-Provadia & GEOJSON & \begin{tabular}{c} ORTHO \\ (2019–2023) \\ \end{tabular} & NO & 12.65 & \textless{}1 min \\ \hline (vi) & Upper Silesian Coal Basin & GEOJSON & \
\begin{tabular}{c} ORTHO \\ (2018–2022) \\ \end{tabular} & NO & 4849.34 & 2 min \\ \hline (vii) & Larissa & GPKG &
\begin{tabular}{c} BASIC \\ (2019–2023) \\ \end{tabular} & YES & 988.94 & 6 h 28 min \\ \hline \hline \end{tabular}
\end{table} 
Table 1: _Cont._Another distinctive feature of the webapp is the flexible management of areas of interest by allowing users to upload geospatial files in standard formats such as Google Earth format and shapefile, by compressed ZIP with all accessory files.