GIS Web and Mobile Development With Interfaces in QGIS For Variable Rate Fertilization
GIS Web and Mobile Development With Interfaces in QGIS For Variable Rate Fertilization
Abstract.
In this paper we described the implementation of a GIS for Precision Agriculture for sugarcane
crop in Colombia. An spatial equation for Variable Rate Fertilization Model was defined using as
inputs estimated harvest data, nutrients in soil and fertilizer efficiently. Models for soil and harvest
variability are also defined. A personalized plugin for precision agriculture was developed into
QGIS software, there is the option of upload maps to a Web and mobile app using the Desktop
software and data import and export is also implemented to used with tractor and soil data.
Processing time and costs was reduced in comparison with the initial project state.
Keywords.
Precision Agriculture, Geographic Information Systems, Variable Rate Fertilization, Sugarcane
Crop, QGIS.
The authors are solely responsible for the content of this paper, which is not a refereed publication.. Citation of this work should state that it
is from the Proceedings of the 14th International Conference on Precision Agriculture. EXAMPLE: Lastname, A. B. & Coauthor, C. D. (2018).
Title of paper. In Proceedings of the 14th International Conference on Precision Agriculture (unpaginated, online). Monticello, IL: International
Society of Precision Agriculture.
Introduction
The precision agriculture processes had been implemented in the sugarcane crop into Riopaila
Castilla company in Colombia since 2007 using separated files and software increasing
processing time and costs. In this case of study we want to understand and improve the current
precision agriculture workflow that had been used and improve it using Geographic Information
System (GIS) which could be useful to produce the prescription maps based on a variable rate
fertilization (VRF) model (GRDC, 2010) and associated maps implemented in QGIS with other
capabilities as Web and Mobile publishing.
Precision Agriculture Division in Riopaila Castilla is also looking for a system that can reduce the
production costs associated to processing, reduce the time spent collecting and ordering the
information, can add or edit other cartographic data and easily share each result to internal and
external customers.
According with the initial workflow and the requirements, the objectives in this case of study are
listed below:
● Create a geographic database for precision agriculture including the normalization
process of existing data (Beeri et al, 1978).
● Define a spatial VRF model based on the sugarcane nutritional requirements, soil nutrients
and fertilizer efficiency.
● Define spatial models for spatial soil and harvest variability.
● Develop a desktop GIS plugin in QGIS to produce the maps.
● Develop a Web and Mobile GIS tool with offline capabilities to navigate in the maps.
● Develop interfaces to easily import and export data to different tractor onboard computers
and soil data.
Methodology
The first step is understanding the current workflow for precision agriculture in Riopaila Castilla
and the improve it using a complete GIS solution.
Improved Workflow
Taking the initial state as a reference, we are proposing a improved workflow that take the
advantages of GIS applied to agriculture (Pierce and Clay, 2007).
Spatial Database
As is shown in the Fig 1, there are three initial datasets: Soil Data Spreadsheet, Farm Polygon
and Crop Management Unit Polygon, we started the process making an extraction of Sample
Point features and the making a spatial process to determine the real Point codification validated
with Farms and Crop Management Units and in the other part of the process we use database
normalization procedures to create a Entity-Relationship Model with it validators an triggers to
automatic make laboratory operations like calculate soil texture or phosphorus using instruments
data as inputs. Finally we linked both data and validate it before upload to Database.
In order to obtain an appropriate balance between the crop and the soil, the engineer Castro
(1998) designed an equation that is used to calculate the needs of nutrients to apply:
𝑁𝑟 − 𝑆
𝑁= × 100
𝐹𝑒
Where,
Each of this inputs is expressed as spatial bands that will be implemented as a personalized
algorithm using the Processing, SAGA GIS, Grass GIS and natives libraries into QGIS software
development environment.
Software Development
The project envisioned software for desktop data collection and processing, as well as software
for web and mobile publication and dissemination of results. Software engineering process was
iterative and incremental, following agile development principles.
On the one hand, the process was iterative in order to handle change, after all, the goal was to
develop tailor-made software and the workflow was under review and improvement. An initial set
of requirements was identified with direct interaction with people involved in the workflow. An
interdisciplinary group of engineers collaborated in feature and user interface design.
On the other hand, the process was incremental because small groups of features were added
Proceedings of the 14th International Conference on Precision Agriculture
June 24 – June 27, 2018, Montreal, Quebec, Canada Page 5
each time, making it possible to frequently release versions that could be used and involved early
in production. A QGIS plugin repository was implemented to make it easier for users to access
and install new software versions.
The development was driven by user feedback and satisfaction. Usability of the user interface
was fundamental. As soon as RIOPAILA-CASTILLA engineers observed ways to enhance
efficiency or to customize the software to better fit their language or workflow, those adjustments
were made, tested and incorporated into a new release.
SIGAP Software
The software developed is called SIGAP (Geographic Information System in Spanish for Precision
Agriculture).
SIGAP Desktop
SIGAP Desktop is a QGIS v2,14.x plugin written in Python that allows users to collect, analyze,
process and store (upload) agriculture data. In the Figure 3 is shown a preview of the plugin with
a result obtained with it.
Due to the lack of a reliable Internet connection in the region, SIGAP desktop has two modes of
operation: Online and Offline. Offline work requires downloading a subset of the remote database
to an SpatiaLite (SQLite with spatial modules) database and then heavy data processing takes
place. When ready, online mode can be enabled to upload processed data to the remote
database.
SIGAP Desktop reflects a whole workflow that starts uploading productivity data, configuring
fertilizer products, generating recommendations for variable rate fertilization, adjusting such
recommendations according to specific land owners requirements, Recommendations can be
generated for one or two soil elements, in the format that tractors can understand and operate
with.
Besides recommendations for variable rate fertilization, SIGAP Desktop also generates
Productivity and Variability maps.
Both SIGAP Web and SIGAP Mobile are built on top of the Django framework and on the Leaflet
web mapping library. The aim if these applications is to make it easier to provide certain people
within the organization with recommendation, productivity and variability maps directly in their
web browsers or smartphones, without requiring them to install specialized software like QGIS.
These maps are created by professionals using SIGAP Desktop.
SIGAP web and mobile preview is shown in the Figure 4.
SIGAP Web and Mobile users are seldom at the office and the application should address such
scenario. By using service workers under the hood, the application is able to fully work offline. A
local copy of allowed data can be downloaded before going outdoors, and based on such data,
the application can respond to user queries and render maps as if it were online, giving users a
seamless experience.
Conclusions
● Creating a geographic database for precision agriculture reduces the time ordering data
and contribute for a better data quality and disponibility.
● Define a VRF model using spatial analysis algorithms is useful and can include another
source of information to improve the results, so there is an important opportunity to
continue researching about it and how to get results more accurate with other variables.
● QGIS software provides excellent developer tools and algorithms that allows to create a
complete agriculture personalized solution.
● Web and Mobile GIS tools helps to the final users to navigate and explore the crop data
in real time and in the colombian case is important to have the offline capability because
there is not a good cell phone quality in the country areas..
● Exporting VRF data is a critical task but sometimes the internal tractor files are not easy
to create, that is why is necessary to define an standar in all agriculture software.
Acknowledgements
Thanks to Riopaila Castilla Company for the confident to implement this system. Thanks to
professor Iván Lizarazo Salcedo for his unconditional help and support.
References
Book
Castro F., Hugo E. (1998). Fundamentos para el Conocimiento y Manejo de Suelos Agrícolas: Manual Técnico.
Tunja, Boyacá : Instituto Universitario Juan de Castellanos.
Gómez S., Manuel, "Manual Técnico de Fertilización de Cultivos" En: Colombia 2006. ed:Produmedios ISBN: 978-
958-33-8514-8 v. pags. 116
Proceedings paper
Beeri, Catriel & Bernstein, Philip & Goodman, Nathan. A Sophisticate's Introduction to Database Normalization
Theory.. Proceedings of the 4th International Conference on Very Large Data Bases. 113-124, 1978.
F. van Diepen, K. Charvat, C. Dittmann, J. Jezek, D. Martini, R. Wagner: AgriXchange – European data exchange in
agriculture, Proc. Workshop LPIS Appl. Qual., Sofia (EC Joint Research Centre, Ispra 2008)
D.P. Sherchan and K.B. Karki: Plant nutrient management for improving crop productivity in Nepal. Proc of a
Regional Workshop. Beijing., China. (Food and Agriculture Organization of the United Nations, FAO, 2006)
Lowenberg-Deboer, J. Precision Framing or Convenience Farming, pp. 1–32. (2003),
Online document
O.A. Denton, V.O. Aduramigba-Modupe, A.O. Ojo, O.D. Adeoyolanu, K.S. Are, A.O. Adelana, A.O. Oyedele, A.O.
Adetayo, A.O. Oke & Manuel Tejada Moral (2017) Assessment of spatial variability and mapping of soil properties
for sustainable agricultural production using geographic information system techniques (GIS), Cogent Food &
Agriculture, 3:1. https://www.tandfonline.com/doi/full/10.1080/23311932.2017.1279366. Accessed 30 March 2018.
GisGeography.com (2018). Agriculture Technology: How GIS Can Help You Win the Farm. GIS
Career.https://gisgeography.com/farming-agriculture-technology. Accessed 15 Abril 2018.
Grain Research and Development Corporation (GRDC) . (2010). Precision Agriculture Fact sheet. How to put
Precision Agriculture into practice. Grain Research and Development Corporation, Kingston, Australia, pp. 1–6.
Accessed 20 March 2018
Jahanshiri, E., bin Mohamed Shariff, A.R., Amiri, F. et al. Arab J Geosci (2015) 8: 9775.
https://doi.org/10.1007/s12517-015-1912-6. Accessed 12 March 2018
Mohamed, Mustafa & M Abdo, B. (2011). Spatial variability mapping of some soil properties in El-Multagha
agricultural project (Sudan) using geographic information systems (GIS) techniques.
https://www.researchgate.net/publication/267996008_Spatial_variability_mapping_of_some_soil_properties_in_El-
Multagha_agricultural_project_Sudan_using_geographic_information_systems_GIS_techniques. Accessed 1
March 2018.