Next Article in Journal
Beyond 5G Fronthaul Based on FSO Using Spread Spectrum Codes and Graphene Modulators
Previous Article in Journal
Benchmarking Dataset of Signals from a Commercial MEMS Magnetic–Angular Rate–Gravity (MARG) Sensor Manipulated in Regions with and without Geomagnetic Distortion
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Open-Source Platform for GIS Data Management and Analytics

by
Flavio Piccoli
1,2,*,
Simone Giuseppe Locatelli
2,
Raimondo Schettini
2 and
Paolo Napoletano
2,*
1
Istituto Nazionale di Fisica Nucleare, 20126 Milano, Italy
2
Dipartimento di Informatica, Sistemistica e Comunicazione, Università Milano-Bicocca, 20126 Milano, Italy
*
Authors to whom correspondence should be addressed.
Sensors 2023, 23(8), 3788; https://doi.org/10.3390/s23083788
Submission received: 28 February 2023 / Revised: 31 March 2023 / Accepted: 4 April 2023 / Published: 7 April 2023
(This article belongs to the Section Intelligent Sensors)

Abstract

:
Precision agriculture has emerged as a promising approach to improve crop productivity and reduce the environmental impact. However, effective decision making in precision agriculture relies on accurate and timely data acquisition, management, and analysis. The collection of multisource and heterogeneous data for soil characteristics estimation is a critical component of precision agriculture, as it provides insights into key factors, such as soil nutrient levels, moisture content, and texture. To address these challenges, this work proposes a software platform that facilitates the collection, visualization, management, and analysis of soil data. The platform is designed to handle data from various sources, including proximity, airborne, and spaceborne data, to enable precision agriculture. The proposed software allows for the integration of new data, including data that can be collected directly on-board the acquisition device, and it also allows for the incorporation of custom predictive systems for soil digital mapping. The usability experiments conducted on the proposed software platform demonstrate that it is easy to use and effective. Overall, this work highlights the importance of decision support systems in the field of precision agriculture and the potential benefits of using such systems for soil data management and analysis.

1. Introduction

With the increase in population and the decrease in resources, sustainability is becoming an increasingly important issue and technological innovation can help to optimize all those processes that waste a lot of resources [1].
Agriculture is one of those sectors. In this context, the adoption of precision agriculture (PA) can dramatically contribute to improving sustainability [2]. Quoting the International Society of Precision Agriculture [3], “PA is a management strategy that gathers, processes and analyzes temporal, spatial and individual data and combines it with other information to support management decisions according to estimated variability for improved resource use efficiency, productivity, quality, profitability and sustainability of agricultural production”. Modern farms are sensorized environments that, thanks to the Internet of Things paradigm, enable the broader concept of Smart Agriculture [4,5,6,7].
In Smart Agriculture, data-driven Artificial Intelligence (AI) methods can help to support and/or automate management decisions [8]. Agricultural Decision Support Systems (DSSs) have been created in particular to support farmers in making effective ongoing and/or future decisions [8,9]. DSSs will guide effective agronomic practices to optimize the phases of mechanical processing, fertilization, weeding, irrigation, distribution of pesticides, and harvesting to a very high degree of detail by dosing the intensity according to the characteristics of the soil and the crops that have been measured and loaded into the system [10].
This significantly improves the entire process, thus reducing waste to a minimum and optimizing each intervention [11]. The use of data-driven technologies, however, require an expensive process of data collection and analysis. With the aim of avoiding mistakes, this process must follow strict acquisitions protocols and should be supported by an ad hoc software platform [12,13].
Furthermore, the scalability of DSSs on new areas (for which no samples are available) requires the use of AI-based predictive systems that are capable of performing digital soil mapping by estimating soil characteristics from remote sensors [14]. Specifically, it is possible to perform soil characteristic estimation from airborne sensors, such as drones or aerostatic balloons, and/or spaceborne sensors, such as satellites [15].
Data-driven AI methods require a large amount of data to be stored, managed, annotated, visualized, explored, and eventually edited [16]. Most importantly, the DSSs should provide an intuitive and effective graphical interface to permit result interpretability for human supervision and understanding [17,18]. To this end, Geographical Information Systems (GISs) are fundamental tools for the management, analysis, editing, and visualization of geospatial data [19,20]. There are free and open source software programs, such as QGIS (https://www.qgis.org/en/site/, accessed on 30 March 2023) as well as licensed-based software products, such as ArcGIS (https://www.arcgis.com/, accessed on 30 March 2023). Open source tools are very flexible, so they allow the creation of scientific and academic custom projects. Commercial tools are very robust to failures, making them very reliable in production environments.
In this work, we propose the Pignoletto web-platform, which addresses all the aforementioned topics for supporting data-driven precision agriculture. In particular, the proposed platform:
  • Supports data collection and management from heterogeneous data sources;
  • Provides all the tools for data visualization and decision making;
  • Provides soil characteristics AI-based predictors;
  • Provides a procedure to include custom predictors.
The platform and its components are open-source tools, leaving them easily modifiable and adaptable to other locations or specific needs.
The platform has been tested in the context of the Pignoletto Project (more info here https://www.pignolettomibinfn.it/, accessed on 30 March 2023), which is an Italian project about advanced tools for land monitoring. The data used are geophysical field measurements acquired in the region of Lombardy (northern of Italy) combined with airborne sensors (ionizing gamma radiation, optical hyperspectral, thermal multispectral), satellite information (PRISMA and Copernicus), and soil proximity measures.
The article is organized as follows: in Section 2, we describe the technological context; in Section 3, we describe the proposed platform; in Section 4, we present the selected use case; in Section 5, we present the results obtained through a survey on the usability of the platform; finally, in Section 6 and Section 7, we present our discussion and conclusions.

2. Scientific and Technological Context

Geographic Information Systems (GISs) have emerged as effective tools for the macro- and micro-level mapping of natural resources and artificial deployments; thus, their use extends to different sectors—from research to business [21]. There are several types of GIS software on the market, but the most widely used are QGIS [22] and ArcGIS [23]. GISs are powerful tools for collecting, storing, retrieving, transforming, and visualizing spatial data. Their ability to analyze and visualize agricultural environments and workflows has proven to be beneficial for the agricultural sector [24]. GIS technology is becoming an essential tool for combining different sources of data, such as data acquired by drones, airborne sensors, and satellites [25]. GIS tools are also playing an increasingly important role in precision agriculture, thus helping farmers to increase production, reduce costs, and manage their land more efficiently [26,27].
In the literature, GIS technology has been used in various scenarios. Frigerio et al. [28] proposed a methodology that exploits socio-economic factors to identify how different areas of the country can react to catastrophic natural events. Furthermore, GISs have proven to be valuable tools in preventing soil erosion and degradation processes [29].
Blanco et al. [30], instead, exploited the potential of GIS systems to monitor the use and waste of plastic in the Puglia (Italy) region; in particular, the tool developed allows stakeholders to quantify and localize areas characterized by intensive plastic production, thus allowing the study of the most suitable areas for collection centers.
Mancini et al. proposed methodology for the management of landslide hazard [31], while Ladisa et al. proposed methodology for the evaluation of desertification risks related to specific areas, as in [32].
Rossetto et al., on the other hand, integrated a toolset called FREEWAT [33] into the QGIS environment as a plugin to enable authorities to manage groundwater and surface-water resources using free and open-source software without the need for expensive licenses. The FREEWAT platform combines the capabilities of GIS geo-processing and post-processing tools for spatial data analysis with those of process-based simulation models. With FREEWAT, you can store large spatial datasets, manage and visualize data, and run several distributed modeling codes. FREEWAT can simulate hydrologic and transport processes and offers a database framework and visualization tools for hydrochemical analysis. The platform provides real-world case studies to demonstrate its applications.
Fegn et al. [34] developed GeoAPEXOL, a web GIS interface for the Agricultural Policy Environmental eXtender, which is able to evaluate the on-site nonpoint source (NPS) pollution status by applying Agricultural Policy Environmental eXtender (APEX) models on the whole-farm level or watershed scale, considering not only pollutants within the field boundaries but also outside, thus minimizing possible evaluation errors.
Zhang et al. [35] proposed an interoperable data service web application—the Crop Condition and Soil Moisture Analytics (Crop-CASMA) system—that facilitates the retrieval, analysis, visualization, and sharing of soil moisture data from remote-sensing measures.
DIVA-GIS [36] is a geographic information system software used for the creation of maps and the analysis of geographical data. The focus of this platform is the study of biodiversity. This tool also contains, for each country, basic information such as administrative areas, roads, land cover, etc.

3. Proposed Platform

3.1. Overview

The proposed platform is designed to handle geophysical field measures, airborne sensor measures (e.g., ionizing gamma radiation, optical hyperspectral, thermal multispectral), satellite information (e.g., PRISMA and Copernicus), and soil proximity measures. The platform provides tools for data visualization and decision making using AI-based predictors and custom predictors. The platform and its components are open-source tools, and it leaves the possibility of being easily modifiable and adaptable for other locations or specific needs.
Figure 1 shows all components of the proposed Pignoletto platform and their interactions. The platform components can be grouped into server and client-side elements. The client-side is composed of several tools for interacting with data. The Map tool allows visual-based interaction with soil maps through a web browser, the Tabular tool allows interaction with data in a tabular format, and the API (Application Programming Interface) tool allows interaction with the platform through a computer program. The three interaction modalities are described in more detail, respectively, in Section 3.3, Section 3.4 and Section 3.5.
The server-side is composed of a service layer, which orchestrates the interactions between the clients and the data layer. Specifically, for the Map component, the service layer creates, at run time, a QGIS project and the corresponding Lizmap [37] configuration for the creation of the web interface. For the Tabular and API components, the service layer exposes proper functions for data uploading, querying, and editing. Data are stored in a PostgreSQL database with a CRUD-type storage engine (create, read, update, and delete). Please refer to Section 3.2 for further details. The use of QGIS and its utilities allows the sharing of platform geographical data through the Web Map Service (WMS) and the Web Feature Service (WFS), which are well-known standards in the GIS community [38].
The platform considers different types of users: (1) anonymous clients; (2) registered clients; (3) administrator. Anonymous users can only navigate the Map component, without any possibilities to edit the content. Registered users can interact with all the components of the client layer. They can add new data to the platform, but they can not delete existing data. Newly subscribed users must be manually approved by an administrator. The administrator has all the privileges to edit platform data.

3.2. Platform Database

The platform handles two different types of land measures: (1) laboratory L measures and the remote (e.g., drone, satellite, etc.) acquisitions D . The former set can be collected in a controlled environment to support the training of deep-learning-based systems, while the latter set is composed of drone acquisitions. The database is designed to handle registered users, laboratory L and remote D (e.g., drone, satellite, etc.) acquisitions, as well as machine learning predictions and remote-sensing rasters. Figure 2 shows the logical organization of the platform database, with the main entities and relationships between them.
Let s L and s D be, respectively, two samples of L and D . s L and s D are located by means of geographic coordinates (latitude and longitude). They can belong to zero as well as to multiple sites. A site is a logical grouping of acquisitions, such as a sampling campaign or a field. Each s L consists of a hyperspectral signal associated with the measurement of one or more soil variables. This flexibility allows the set of soil properties considered to be modified at any time. For example, separate acquisition campaigns that consider different sets of variables can be modeled seamlessly in the system. These samples constitute the set of data used for the training of supervised predictors. Samples s D are not associated with soil properties. In fact, they represent specimens loaded at test time that require a prediction by an AI-based model. For this purpose, they are associated in the database with one or more estimates that in turn are associated with the model that made them in combination with the variables that were predicted by that model. This allows different variables to be predicted by multiple predictive models.
Each raster is represented through a pyramidal view in order to decrease the loading time. Each raster is therefore represented by a meta table that contains the information of each layer of the pyramid associated with the proper level of zoom. We also designed the Table RasterMaster to keep track of all the rasters in the system, with the possibility of disabling the visualization of a raster at runtime.
The platform database has been developed in PostgreSQL. To support georeferenced data, we enriched the suite by adopting PostGIS. This extension allows the use of geographic objects following the specifications from the Open Geospatial Consortium (OGC) (https://www.ogc.org/, accessed on 30 March 2023). OGC is a consortium of experts committed to improving access to geospatial or location information. Thousands of organizations worldwide rely on OGC Standards as the binding force for geospatial information interoperability, which is reflected in millions of lines of code.

3.3. The Map Component

The Map is displayed as a Web Map Service (WMS) application built using a custom version of the Lizmap API (https://github.com/3liz/lizmap-plugin, accessed on 30 March 2023) [37]. It is built on top of a QGIS server that displays the information contained in a QGIS project on a geographical map. It includes several Lizmap tools that allow the user to interact and explore the data. Table 1 describes these tools in detail. For instance, it is possible to filter data on the basis of their properties, to show the information about the collected data in a tabular way, etc. The Web Processing Service (WPS) component can be used to apply one of the available data processing algorithms to the selected samples. Later in the experimental section, we will show the application of the organic carbon map obtained through the inverse distance weighting (IDW) interpolation.
The QGIS project rendered through the Map is created by the service layer when the platform is started. Contextually, the service layer creates a Lizmap JSON configuration file for setting up the Lizmap parameters. Data inserted, modified, or deleted during the life cycle of the platform are immediately available (or hidden in the case of deletion) on the Map as soon as the operation is completed.
Figure 3 shows three examples of interactions with the Map. In Figure 3a, it is possible to see the base map brought by OpenStreetMap [39]; in Figure 3b, the user has selected the visualization of a raster layer; in Figure 3c, the user zoomed on a field for observing the acquisitions.

3.4. The Tabular Component

The Tabular displays data in a tabular format. It is composed of two pages for handling, respectively, the acquisitions L and D . Figure 4 shows an excerpt of L samples. In this context, each lab sample is characterized by a numerical id, the position expressed in latitude and longitude, and all the chemical properties related to it. To make the visualization of the samples more effective, the last column includes a graphical plot of the hyperspectral signal instead of the raw values.
While the Map is visible without authentication, the Tabular is accessible only to registered users. Among them, two types are identified: the normal users, who can view, filter, sort, and download data, and the administrator who can go further and modify the data stored in the dataset. In particular, they can upload one or more samples of L and D at once through a CSV file and upload a zipped archive of images or new predictive models that can be used later for estimating variables.
The Tabular is a Flask-based web application developed in Python that queries the data through SQLAlchemy. Information is gathered through the browser and thus rendered with HTML/CSS/JS. Two external libraries are used: Datatable (https://datatables.net/, accessed on 30 March 2023) for rendering the tables and Peity (http://benpickles.github.io/peity/, accessed on 30 March 2023) for plotting the spectral signals.

3.5. API

The platform API allows the uploading, querying, and editing of D samples. New samples can be loaded in real-time from a software running on the acquisition device. Two modalities have been identified: a single and a massive upload. The former can be performed using the HTTP protocol and a JSON-formatted request, while the latter through a CSV file. Each line of the file is a sample that must be inserted into the system.
For convenience, the API is included in the same Flask web app of the Tabular as the two elements share several functions. It has been implemented following the REpresentational State Transfer (REST) style, whose principle fits nicely with the HTTP protocol used for communication.
The JSON Web Token (JWT) open standard is used to improve the security of the system. In the first place, the user authenticates the system and receives, through an HTTP response, a token that represents its identity. Further on, this token enables the use of API capabilities.
An example of the API usage is presented in Figure 5. In this example, we show the communication flow between the user—or an acquisition device—and the platform. In the first place, the user requires the authorization to interact with the database through the service layer, and in second place, it performs a single and massive data uploading.

4. Use Case

The proposed platform has been tested within the Pignoletto (https://www.pignolettomibinfn.it/il-progetto, accessed on 6 March 2023) project, which aims to target the specific agricultural needs of the Lombardy region, including the automatic creation of soil characteristic maps of the agricultural lands on the basis of proximity, as well as remote and hybrid chemical and spectral measures. This will support local farmers in adapting their practice to crop management. Better crop management is a key objective of precision agriculture, and it involves a range of techniques, such as precision planting, irrigation, and fertilization. By using sensors, satellite imagery, and other advanced tools, farmers can analyze various factors such as soil moisture, nutrient levels, and crop growth patterns in real-time. This information helps farmers to make more informed decisions about crop management, enabling them to apply resources such as water and fertilizer more precisely and at the right time, leading to improved crop yields and reduced environmental impact.
The project considers two different types of land measures: (1) laboratory L measures and drone acquisitions D . The former set is collected in a controlled environment to support the training of a deep-learning-based system M able to estimate soil properties p from the spectral information h, i.e., M ( h ) = p ^ . To this aim, each sample ( h , p ) L is composed of the hyperspectral signal h together with the soil properties p measured by an expert. The latter set is composed of drone acquisitions that will be loaded at test time. These acquisitions are acquired in the wild. Once they are loaded in the system, one or more predictive systems M will perform an estimation of the soil properties p ^ associated with this signal.

5. Experimental Results

Two usability tests were performed to evaluate the ease of use of the Map and the Tabular components. The first one is a task-driven survey (TDS) containing the 11 questions showed in Table A1. Each question asks to perform a task and assess the easiness of doing it. In this case, the higher the score is, the better the goodness is. The second one is the System Usability Scale (SUS) [40]. For odd questions, the higher, the better. On the contrary, for even questions, the lower, the better.
In total, 20 users were involved in the usability assessment, and 10 of them had expertise in GIS-based systems. The first row in Figure 6 represents the results of the task-driven tests, while the second row represents those of the SUS test divided according to user expertise. All evaluations demonstrated that the Map and the Tabular are easy to use, and the learning curve is low both for non-expert and expert users. From the analysis of the replies to question 3 of TDS, it emerged that users prefer more levels of zoom, which has been corrected after the evaluation. As expected, from question 4 and 10 of the SUS, it emerges that expert users were more confident in using this tool. Specifically, none of the expert users expressed the need for technical support, nor the need for training before using the tool.
All experiments were timed. Normal users took an average of 10 min, while experienced users took 5 min. Again, this confirms that previous experiences with GIS tools favor the use of the proposed tool. Interestingly, all non-expert users were also able to complete the tasks, and their times are still low.
To better demonstrate the potential of the WPS component of the platform, in Figure 7, we show the organic carbon map obtained through the inverse distance weighting (IDW (https://docs.qgis.org/3.22/de/docs/user_manual/processing_algs/qgis/interpolation.html, accessed on 6 March 2023)) interpolation. This map is obtained from 20 laboratory samples of organic carbon taken from 20 ha of soil in the surrounding of the city of Lodi. (Lodi is a city in the southern Milan (Italy). The center of the area under analysis is at the following coordinates: lat 45.29167066234336 and long 9.50092884268406.) The digital map obtained is at a resolution of about 0.5 m per pixel.

Software Availability

All technologies used for the creation of the platform are free and open source. To make the system usable in any context and to maximize reproducibility, a Docker [41] environment containing all the necessary software and data samples was created. You can find the GitHub repository of the proposed platform (https://github.com/SimoLoca/Pignoletto_platform, accessed on 6 March 2023).
The server is hosted on an Ubuntu 20.04 machine composed of an ASRock Z68 Extreme3 Gen3 motherboard and an Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz. All code is included in a Docker image containing all the dependencies. The web server used is NGINX. A DNS record has been bound to the server IP to make the platform easily accessible through the URL http://pignoletto.lombardia.it, accessed on 6 March 2023.
Table 2 describes in detail all the attributes related to the presented software.

6. Discussion

In this section, we analyze commonalities and differences among the proposed tool and the platforms that compose the state of the art for digital soil mapping. The analysis was conducted by considering four key aspects that characterize a GIS system.
  • Focus: FREEWAT [33] has been designed for managing ground- and surface-water resources. The focus is then applied to modeling the water flow through hydrological models. GeoAPEXOL [34] has been crafted with the goal of evaluating nonpoint source pollution (NPS), e.g., pollution coming from contaminants that end up on the ground or from human activity. To this aim, the platform offers several field and small watershed simulations for predicting NPS. Crop-CASMA [35] has been created for studying biodiversity through remote sensing. It contains remotely sensed geospatial soil moisture and vegetation index data. DIVA-GIS [36] is a generic tool for the creation of maps. The proposed method differs from state-of-art methods as it proposes several tools for supporting the manual annotation of ground points (e.g., tabular, map-based, and csv-based). It also allows the creation of digital soil maps and second-level analyses. To prove its effectiveness, the proposed platform has been used to collect and analyze a library of soil properties relative to the Lombardy region in Italy.
  • End-user type: The definition and development of user processes in a GIS-based platform is guided by the skills expected of the end user. In this context, FREEWAT [33], GeoAPEXOL [34], and Crop-CASMA [35] are intended for experienced users, such as researchers. DIVA-GIS [36] and the proposed platform are designed for both expert and non-expert users. In the case of the Pignoletto platform, this is also possible due to the fact that the platform is data-agnostic, that is, the ground-points to be inspected can represent any kind of data or information.
  • Technological context: The technology used in the development of a platform influences its reach and spread. FREEWAT [33] is a QGIS plugin. This limits its effectiveness only to QGIS users. DIVA-GIS [36] has been developed for Windows and Mac OSX only. In addition, the tool is becoming obsolete as the last update was performed in 2011. GeoAPEXOL [34], Crop-CASMA [35], and the proposed platform are delivered through a web page, allowing their use on any platform through a web browser.
  • Integrability: Platforms can be closed stand-alone products, or they can allow the exposition of the data gathered and inferred through the offered functionalities. FREEWAT [33] is fully integrated in QGIS, and thus, its interoperability is granted by the QGIS environment. DIVA-GIS [36] and GeoAPEXOL [34] are closed environments that do not allow a direct data exposition. Crop-CASMA [35] and the proposed platform implement the GIS WMS standard. This allows the exposition and the direct integration of the data under analysis in other GIS-based platforms. In this conception, the proposed platform can become a data collection and inspection module in a broader pipeline.

7. Conclusions

In this paper, we presented a new platform for handling and processing airborne and proximity data. It is also capable of integrating predictive models and their relative predictions.
The presented tool intends to support all stakeholders related to the agricultural sector in adopting the best practices of PA with the aim of improving the entire agricultural production chain. Although it was initially published to support the specific needs of the Lombardy region, the platform is easily extendable to other locations with different needs, thus making it a software exploitable for any purpose. The usability assessment that we performed in Section 5 showed that the presented system is easy to use, and the learning curve is low both for users with and without previous experience in GIS systems.
Those factors, in combination with the technical gain offered by the platform, suggest that the presented system can bring a noticeable impact on the agricultural sector thanks to its effective utility and ease of use. The platform we presented in this paper can be easily customized to meet the specific needs of different regions, making it a valuable tool for promoting sustainable agriculture around the world. By using the platform to optimize their agricultural practices, farmers can also reduce the overall carbon footprint of their operations, contributing to global efforts to mitigate climate change.
Moreover, the presented tool can benefit society in several ways. Firstly, it can improve the quality and quantity of agricultural production, leading to increased food security and availability, which is especially crucial in areas with high levels of food insecurity. Secondly, by reducing the use of agricultural inputs and minimizing the environmental impact of farming practices, the platform can contribute to the sustainable development of rural areas and protect the health and well-being of people living in these areas.
In summary, the presented platform is a valuable tool for promoting sustainable agriculture, reducing the environmental impact of farming practices, and contributing to global efforts to mitigate climate change. By optimizing agricultural practices and improving the efficiency of the entire production chain, the platform can benefit farmers, rural communities, and society as a whole.

Author Contributions

Conceptualization, F.P., S.G.L., P.N. and R.S.; methodology, F.P., S.G.L., P.N. and R.S.; software, F.P., S.G.L., P.N. and R.S.; formal analysis, F.P., S.G.L., P.N. and R.S.; investigation, F.P., S.G.L., P.N. and R.S.; writing—original draft preparation, F.P., S.G.L., P.N. and R.S.; writing—review and editing, F.P., S.G.L., P.N. and R.S.; visualization, F.P., S.G.L., P.N. and R.S.; supervision, F.P., S.G.L., P.N. and R.S.; project administration, F.P., S.G.L., P.N. and R.S. All authors have read and agreed to the published version of the manuscript.

Funding

Research developed in the context of the project PIGNOLETTO—Call HUB Ricerca e Innovazione CUP (Unique Project Code) n. E41B20000050007, co-funded by POR FESR 2014-2020 (Programma Operativo Regionale, Fondo Europeo di Sviluppo Regionale—Regional Operational Programme, European Regional Development Fund).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

Data sharing is not applicable to this article.

Conflicts of Interest

No conflict of interest exists: We wish to confirm that there are no known conflicts of interest associated with this publication, and there has been no significant financial support for this work that could have influenced its outcome.

Appendix A

Questions of Task-Driven Assessment

Table A1 contains the questions posed to the users in the TDS test.
Table A1. Task-driven questions.
Table A1. Task-driven questions.
MapDisplay the acquisitions relative to the Argilla variable under the group lab_acquisition. Zoom on a point and click on it to view its value. How hard is this task?
Open the tabular visualization (“Dati” tool on the left sidebar) and click on the button relative to the Argilla acquisitions to open the table. Locate the sample DL-06 in the table and click the lens icon to view the corresponding point on the map. Click on the found point to view the relative info on the left panel.
Zoom out to have all the acquisitions (points) on the screen visible. Search all the samples that contain a level of Argilla between 200 and 400 (use the “Filtro” tool on the left sidebar).
Display the raster slope (it can take some time to load).
TabularDownload the dataset about Laboratory acquisition.
Filter the samples that have been acquired in Lodi.
Sort the “sito” column on the Laboratory acquisitions in descending order.
Go to the Drone acquisition page and try to filter the samples that have been acquired from 5 April 2022 to 14 May 2022.
GeneralHow user-friendly is Pignoletto platform map interface?
How user-friendly is Pignoletto platform tabular interface?
Do you think this application can provide valuable support for precision agriculture?

References

  1. Velten, S.; Leventon, J.; Jager, N.; Newig, J. What is sustainable agriculture? A systematic review. Sustainability 2015, 7, 7833–7865. [Google Scholar] [CrossRef] [Green Version]
  2. Pierce, F.J.; Nowak, P. Aspects of precision agriculture. Adv. Agron. 1999, 67, 1–85. [Google Scholar]
  3. Cammarano, D. Precision Agriculture an International Journal on Advances in Precision Agriculture. 2023. Available online: https://www.springer.com/journal/11119 (accessed on 23 March 2023).
  4. Granell, C.; Kamilaris, A.; Kotsev, A.; Ostermann, F.O.; Trilles, S. Internet of things. In Manual of Digital Earth; Springer: Berlin/Heidelberg, Germany, 2020; pp. 387–423. [Google Scholar]
  5. Trilles, S.; González-Pérez, A.; Huerta, J. An IoT platform based on microservices and serverless paradigms for smart farming purposes. Sensors 2020, 20, 2418. [Google Scholar] [CrossRef]
  6. Trilles, S.; Torres-Sospedra, J.; Belmonte, Ó.; Zarazaga-Soria, F.J.; González-Pérez, A.; Huerta, J. Development of an open sensorized platform in a smart agriculture context: A vineyard support system for monitoring mildew disease. Sustain. Comput. Inform. Syst. 2020, 28, 100309. [Google Scholar] [CrossRef]
  7. Trilles, S.; González-Pérez, A.; Huerta, J. A comprehensive IoT node proposal using open hardware. A smart farming use case to monitor vineyards. Electronics 2018, 7, 419. [Google Scholar] [CrossRef] [Green Version]
  8. Lindblom, J.; Lundström, C.; Ljung, M.; Jonsson, A. Promoting sustainable intensification in precision agriculture: Review of decision support systems development and strategies. Precis. Agric. 2017, 18, 309–331. [Google Scholar] [CrossRef] [Green Version]
  9. Shafi, U.; Mumtaz, R.; García-Nieto, J.; Hassan, S.A.; Zaidi, S.A.R.; Iqbal, N. Precision agriculture techniques and practices: From considerations to applications. Sensors 2019, 19, 3796. [Google Scholar] [CrossRef] [Green Version]
  10. Ayaz, M.; Ammad-Uddin, M.; Sharif, Z.; Mansour, A.; Aggoune, E.H.M. Internet-of-Things (IoT)-based smart agriculture: Toward making the fields talk. IEEE Access 2019, 7, 129551–129583. [Google Scholar] [CrossRef]
  11. Sishodia, R.P.; Ray, R.L.; Singh, S.K. Applications of remote sensing in precision agriculture: A review. Remote Sens. 2020, 12, 3136. [Google Scholar] [CrossRef]
  12. Tantalaki, N.; Souravlas, S.; Roumeliotis, M. Data-driven decision making in precision agriculture: The rise of big data in agricultural systems. J. Agric. Food Inf. 2019, 20, 344–380. [Google Scholar] [CrossRef]
  13. Linaza, M.T.; Posada, J.; Bund, J.; Eisert, P.; Quartulli, M.; Döllner, J.; Pagani, A.; G Olaizola, I.; Barriguinha, A.; Moysiadis, T.; et al. Data-driven artificial intelligence applications for sustainable precision agriculture. Agronomy 2021, 11, 1227. [Google Scholar] [CrossRef]
  14. Mulla, D.J. Satellite Remote Sensing for Precision Agriculture. In Sensing Approaches for Precision Agriculture; Springer: Berlin/Heidelberg, Germany, 2021; pp. 19–57. [Google Scholar]
  15. Elijah, O.; Rahman, T.A.; Orikumhi, I.; Leow, C.Y.; Hindia, M.N. An overview of Internet of Things (IoT) and data analytics in agriculture: Benefits and challenges. IEEE Internet Things J. 2018, 5, 3758–3773. [Google Scholar] [CrossRef]
  16. Strickland, E. Andrew Ng, AI Minimalist: The Machine-Learning Pioneer Says Small is the New Big. IEEE Spectr. 2022, 59, 22–50. [Google Scholar] [CrossRef]
  17. Kukar, M.; Vračar, P.; Košir, D.; Pevec, D.; Bosnić, Z. AgroDSS: A decision support system for agriculture and farming. Comput. Electron. Agric. 2019, 161, 260–271. [Google Scholar]
  18. Coppola, E.; Moccia, F.D. LANDSUPPORT, a decision support system for territorial government. Upl.-J. Urban Plan. Landsc. Environ. Des. 2019, 4, 29–38. [Google Scholar]
  19. Valjarević, A.; Milanović, M.; Gultepe, I.; Filipović, D.; Lukić, T. Updated Trewartha climate classification with four climate change scenarios. Geogr. J. 2022, 188, 506–517. [Google Scholar] [CrossRef]
  20. Mathenge, M.; Sonneveld, B.G.; Broerse, J.E. Application of GIS in Agriculture in Promoting Evidence-Informed Decision Making for Improving Agriculture Sustainability: A Systematic Review. Sustainability 2022, 14, 9974. [Google Scholar] [CrossRef]
  21. Longley, P.A.; Goodchild, M.F.; Maguire, D.J.; Rhind, D.W. Geographic Information Systems and Science; John Wiley & Sons: Hoboken, NJ, USA, 2005. [Google Scholar]
  22. QGIS Development Team. QGIS Geographic Information System; QGIS Association: Grüt, Switzerland, 2022. [Google Scholar]
  23. Booth, B.; Mitchell, A. Getting Started with ArcGIS; ESRI: Redlands, CA, USA, 2001. [Google Scholar]
  24. Sebastianelli, A.; Del Rosso, M.P.; Ullo, S.L. Automatic dataset builder for Machine Learning applications to satellite imagery. SoftwareX 2021, 15, 100739. [Google Scholar] [CrossRef]
  25. Ma, Z.; Hart, M.M.; Redmond, R.L. Mapping vegetation across large geographic areas: Integration of remote sensing and GIS to classify multisource data. Photogramm. Eng. Remote Sens. 2001, 67, 295–308. [Google Scholar]
  26. Michelon, G.K.; Bazzi, C.L.; Upadhyaya, S.; de Souza, E.G.; Magalhães, P.S.G.; Borges, L.F.; Schenatto, K.; Sobjak, R.; Gavioli, A.; Betzek, N.M. Software AgDataBox-Map to precision agriculture management. SoftwareX 2019, 10, 100320. [Google Scholar] [CrossRef]
  27. Bazzi, C.L.; Jasse, E.P.; Magalhães, P.S.G.; Michelon, G.K.; de Souza, E.G.; Schenatto, K.; Sobjak, R. AgDataBox API–Integration of data and software in precision agriculture. SoftwareX 2019, 10, 100327. [Google Scholar] [CrossRef]
  28. Frigerio, I.; Ventura, S.; Strigaro, D.; Mattavelli, M.; De Amicis, M.; Mugnano, S.; Boffi, M. A GIS-based approach to identify the spatial variability of social vulnerability to seismic hazard in Italy. Appl. Geogr. 2016, 74, 12–22. [Google Scholar] [CrossRef]
  29. Petito, M.; Cantalamessa, S.; Pagnani, G.; Degiorgio, F.; Parisse, B.; Pisante, M. Impact of Conservation Agriculture on Soil Erosion in the Annual Cropland of the Apulia Region (Southern Italy) Based on the RUSLE-GIS-GEE Framework. Agronomy 2022, 12, 281. [Google Scholar] [CrossRef]
  30. Blanco, I.; Loisi, R.V.; Sica, C.; Schettini, E.; Vox, G. Agricultural plastic waste mapping using GIS. A case study in Italy. Resour. Conserv. Recycl. 2018, 137, 229–242. [Google Scholar] [CrossRef]
  31. Mancini, F.; Ceppi, C.; Ritrovato, G. GIS and statistical analysis for landslide susceptibility mapping in the Daunia area, Italy. Nat. Hazards Earth Syst. Sci. 2010, 10, 1851–1864. [Google Scholar] [CrossRef] [Green Version]
  32. Ladisa, G.; Todorovic, M.; Liuzzi, G.T. A GIS-based approach for desertification risk assessment in Apulia region, SE Italy. Phys. Chem. Earth Parts A/B/C 2012, 49, 103–113. [Google Scholar] [CrossRef]
  33. Rossetto, R.; De Filippis, G.; Borsi, I.; Foglia, L.; Cannata, M.; Criollo, R.; Vázquez-Suñé, E. Integrating free and open source tools and distributed modelling codes in GIS environment for data-based groundwater management. Environ. Model. Softw. 2018, 107, 210–230. [Google Scholar] [CrossRef]
  34. Feng, Q.; Flanagan, D.C.; Engel, B.A.; Yang, L.; Chen, L. GeoAPEXOL, a web GIS interface for the Agricultural Policy Environmental eXtender (APEX) model enabling both field and small watershed simulation. Environ. Model. Softw. 2020, 123, 104569. [Google Scholar] [CrossRef]
  35. Zhang, C.; Yang, Z.; Zhao, H.; Sun, Z.; Di, L.; Bindlish, R.; Liu, P.W.; Colliander, A.; Mueller, R.; Crow, W.; et al. Crop-CASMA: A web geoprocessing and map service based architecture and implementation for serving soil moisture and crop vegetation condition data over US Cropland. Int. J. Appl. Earth Obs. Geoinf. 2022, 112, 102902. [Google Scholar] [CrossRef]
  36. Hijmans, R.J.; Guarino, L.; Cruz, M.; Rojas, E. Computer tools for spatial analysis of plant genetic resources data: 1. DIVA-GIS. In Plant Genetic Resources Newsletter; Alliance of Bioversity International and CIAT: Rome, Italy, 2001; pp. 15–19. [Google Scholar]
  37. Laurent, J.B.; Leroux, L. Online publication of a land cover map using LizMap. QGIS Generic Tools 2018, 1, 243–255. [Google Scholar]
  38. Michaelis, C.D.; Ames, D.P. Web Feature Service (WFS) and Web Map Service (WMS); Encyclopedia of GIS; Springer: Boston, MA, USA, 2008. [Google Scholar]
  39. OpenStreetMap Contributors. 2017. Available online: https://www.openstreetmap.org (accessed on 6 March 2023).
  40. Brooke, J. Sus: A quick and dirty usability scale. Usability Eval. Ind. 1996, 189, 4–7. [Google Scholar]
  41. Anderson, C. Docker [software engineering]. IEEE Softw. 2015, 32, 102-c3. [Google Scholar] [CrossRef]
Figure 1. Architecture of the software. Clients can interact with the system through the Map, the Tabular, or the RESTful API. Our class QGISManager furnishes all the functions to perform CRUD operations on the platform database.
Figure 1. Architecture of the software. Clients can interact with the system through the Map, the Tabular, or the RESTful API. Our class QGISManager furnishes all the functions to perform CRUD operations on the platform database.
Sensors 23 03788 g001
Figure 2. Database organization. It considers five aspects, the handling of users, the acquisitions made in the laboratory and with airborne sensors, the rasters, and finally the predictions made by predictive models on airborne-acquired data. The considered variables are not a static set, but they can easily change as the researchers focus on different characteristics of soil.
Figure 2. Database organization. It considers five aspects, the handling of users, the acquisitions made in the laboratory and with airborne sensors, the rasters, and finally the predictions made by predictive models on airborne-acquired data. The considered variables are not a static set, but they can easily change as the researchers focus on different characteristics of soil.
Sensors 23 03788 g002
Figure 3. Main functionalities of the platform: (a) Initial view; (b) Raster layer selected; (c) Zoom on acquisitions.
Figure 3. Main functionalities of the platform: (a) Initial view; (b) Raster layer selected; (c) Zoom on acquisitions.
Sensors 23 03788 g003
Figure 4. Closeup of the Tabular interface. Each sample is identified through an id and spatially located by its GPS coordinates. Each sample is characterized by its soil properties and by its hyperspectral signal, which were reported graphically for a better user experience.
Figure 4. Closeup of the Tabular interface. Each sample is identified through an id and spatially located by its GPS coordinates. Each sample is characterized by its soil properties and by its hyperspectral signal, which were reported graphically for a better user experience.
Sensors 23 03788 g004
Figure 5. High-level flow of API’s execution. On-board devices and users can interact programmatically with the system through the API. After the logging procedure performed through the token, a single or massive upload of acquisitions can be performed.
Figure 5. High-level flow of API’s execution. On-board devices and users can interact programmatically with the system through the API. After the logging procedure performed through the token, a single or massive upload of acquisitions can be performed.
Sensors 23 03788 g005
Figure 6. The first row represents the results of task-driven assessment (TDS) for non-expert (a) and expert (b) users. The second row shows the SUS assessment for non-expert (c) and expert (d) users. For TDS and odd questions of SUS, the higher, the better. For even questions of SUS, the lower, the better.
Figure 6. The first row represents the results of task-driven assessment (TDS) for non-expert (a) and expert (b) users. The second row shows the SUS assessment for non-expert (c) and expert (d) users. For TDS and odd questions of SUS, the higher, the better. For even questions of SUS, the lower, the better.
Sensors 23 03788 g006
Figure 7. Example of Organic Carbon visualization: (a) soil sample; (b) soil mapping obtained using IDW interpolation.
Figure 7. Example of Organic Carbon visualization: (a) soil sample; (b) soil mapping obtained using IDW interpolation.
Sensors 23 03788 g007
Table 1. Utilities included in the web-map.
Table 1. Utilities included in the web-map.
Sensors 23 03788 i001Home: brings the user back to the project selection page.
Sensors 23 03788 i002Layers: to control the visibility of the layers on the map
Sensors 23 03788 i003Information: gives information about the project
Sensors 23 03788 i004Filter: lets the user filter data based on their properties.
Sensors 23 03788 i005WPS: for choosing a model (or algorithm) uploaded and extract useful informations.
Sensors 23 03788 i006Popup: it will show information about the data clicked by the user.
Sensors 23 03788 i007Selection: enables the drawing on the map.
Sensors 23 03788 i008Tooltip: It will highlight data of the layer under inspection that lies under the cursor.
Sensors 23 03788 i009Permalink: enables the sharing of the link.
Sensors 23 03788 i010Data: shows informations about collected data in a tabular way.
Sensors 23 03788 i011WPSResults: shows the results of the algorithms used.
Table 2. Details of the software.
Table 2. Details of the software.
AttributeValue
Name of the proposed softwarePignoletto platform
Availabilityhttps://github.com/SimoLoca/Pignoletto_platform, accessed on 6 March 2023
DevelopersLocatelli, Piccoli, Napoletano, Schettini
Contact[email protected]
LicenceMIT License
Hardware required2+ GHz processor. 4+ GB of RAM
Software requiredPython 3.x, Docker
Program LanguagePython 3.x
Program size26.3 MB
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Piccoli, F.; Locatelli, S.G.; Schettini, R.; Napoletano, P. An Open-Source Platform for GIS Data Management and Analytics. Sensors 2023, 23, 3788. https://doi.org/10.3390/s23083788

AMA Style

Piccoli F, Locatelli SG, Schettini R, Napoletano P. An Open-Source Platform for GIS Data Management and Analytics. Sensors. 2023; 23(8):3788. https://doi.org/10.3390/s23083788

Chicago/Turabian Style

Piccoli, Flavio, Simone Giuseppe Locatelli, Raimondo Schettini, and Paolo Napoletano. 2023. "An Open-Source Platform for GIS Data Management and Analytics" Sensors 23, no. 8: 3788. https://doi.org/10.3390/s23083788

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop