Acessibilidade / Reportar erro

Web software to create thematic maps for precision agriculture

Software para web para criar mapas temáticos para agricultura de precisão

Abstract:

The objective of this work was to develop and provide a free web application able to generate thematic maps. The initiative aims to incorporate the functionalities of the “Software para Definição de Unidades de Manejo” (SDUM) desktop application, which has proven to be suitable for working with thematic maps and management zones, but that was only available for desktop computers. The developed web application was tested with real data from two agricultural fields located in the state of Paraná, Brazil. Thematic maps of soil and plant characteristics relevant to precision agriculture were created through the following interpolation methods: inverse distance, moving average, and nearest neighbor. The obtained results show that the usage of this web tool allows identifying areas with the same behavior toward soil variables, making it possible for the user to have a better and more accurate vision of the area to be worked on and to identify possible causes of variation in productivity. Because it is installed in a server with on-demand features, the software has a satisfactory performance from a functional point of view and can be accessed from any web environment.

Index terms:
AgDataBox-Map software; digital agriculture; geoprocessing; interpolation; spatial variability

Resumo:

O objetivo deste trabalho foi desenvolver e fornecer um aplicativo da web gratuito, capaz de gerar mapas temáticos. A iniciativa visa incorporar as funcionalidades do aplicativo Software para Definição de Unidades de Manejo (SDUM) desktop, que provou ser adequado para trabalhar com mapas temáticos e zonas de manejo, mas que estava disponível apenas para computadores desktop. O aplicativo da web desenvolvido foi testado com dados reais de duas áreas agrícolas localizadas no estado do Paraná. Mapas temáticos dos atributos do solo e das plantas relevantes para a agricultura de precisão foram criados através dos seguintes métodos de interpolação: inversa da distância, média móvel e vizinho mais próximo. Os resultados obtidos mostram que o uso dessa ferramenta da web permite identificar áreas com o mesmo comportamento em relação às variáveis do solo, o que possibilita ao usuário ter uma visão melhor e mais precisa sobre a área a ser trabalhada e identificar possíveis causas de variação na produtividade. Por estar instalado em um servidor com recursos sob demanda, o software possui desempenho satisfatório do ponto de vista funcional e pode ser acessado em qualquer ambiente da web.

Termos para indexação:
AgDataBox-Map software; agricultura digital; processamento geográfico; interpolação; variabilidade espacial

Introduction

Soil variability is the result of complex interactions between the factors and processes involved in its formation, and external agents - such as climatic characteristics, irrigation, and soil and crop management - can influence and change its attributes (Davatgar et al., 2012DAVATGAR, N.; NEISHABOURI, M.R.; SEPASKHAH, A.R. Delineation of site specific nutrient management zones for a paddy cultivated area based on soil fertility using fuzzy clustering. Geoderma, v.173/174, p.111-118, 2012. DOI: https://doi.org/10.1016/j.geoderma.2011.12.005.
https://doi.org/10.1016/j.geoderma.2011....
). Therefore, it is not unusual for the content, distribution, and availability of soil nutrients to vary widely both within and between parcels of land (Corwin & Lesch, 2003CORWIN, D.L.; LESCH, S.M. Application of soil electrical conductivity to precision agriculture: theory, principles and guidelines. Agronomy Journal, v.95, p.455-471, 2003. DOI: https://doi.org/10.2134/agronj2003.4550.
https://doi.org/10.2134/agronj2003.4550...
), influencing the production and quality of agricultural products. For this reason, the spatial variability of soil chemical and physical attributes is corrected as much as costs and machines allow through the use of precision agriculture technologies (Teixeira et al., 2011TEIXEIRA, L.A.J.; QUAGGIO, J.A.; MELLIS, E.V. Ganhos de eficiência fertilizante em bananeira sob irrigação e fertirrigação. Revista Brasileira de Fruticultura, v.33, p.272-278, 2011.).

In precision agriculture, the preparation and analysis of thematic maps allows identifying the spatial distribution of geographical attributes, soil, and plant productivity (Bazzi et al., 2015BAZZI, C.L.; SOUZA, E.G. de; BETZEK, N.M. SDUM: software para definição de unidades de manejo: teoria e prática. [Cascavel: PGEAGRI], 2015.), which is a necessary step to assist the producer in decision-making (Grego et al., 2014GREGO, C.R.; OLIVEIRA, R.P. de; VIEIRA, S.R. Geoestatística aplicada a agricultura de precisão. In: BERNARDI, A.C. de C.; NAIME, J. de M.; RESENDE, Á.V. de; BASSOI, L.H.; INAMASU, R.Y. (Ed.). Agricultura de precisão: resultados de um novo olhar. Brasília: Embrapa, 2014. p.74-83.). Based on the analysis of the yield maps that represent the spatial distribution of crop response, it is possible to manage the production of subsequent years by applying a differentiated rate of fertilizers and other agricultural inputs according to local needs (Adamchuk et al., 2011ADAMCHUK, V.I.; VISCARRA ROSSEL, R.A.; MARX, D.B.; SAMAL, A.K. Using targeted sampling to process multivariate soil sensing data. Geoderma, v.163, p.63-73, 2011. DOI: https://doi.org/10.1016/j.geoderma.2011.04.004.
https://doi.org/10.1016/j.geoderma.2011....
). This allows decreasing environmental impact while increasing productivity and financial returns (Tey & Brindal, 2012TEY, Y.S.; BRINDAL, M. Factors influencing the adoption of precision agricultural technologies: a review for policy implications. Precision Agriculture, v.13, p.713-730, 2012. DOI: https://doi.org/10.1007/s11119-012-9273-6.
https://doi.org/10.1007/s11119-012-9273-...
).

To generate thematic maps, the georeferenced samples - including soil, plant, and productivity - collected in the study area are used (Rodrigues Jr. et al., 2013RODRIGUES JR., F.A.; MAGALHÃES, P.S.G.; FRANCO, H.C.J.; BEAUCLAIR, E.G.F. de; CERRI, D.G.P. Correlation between chemical soil attributes and sugarcane quality parameters according to soil texture zones. Soil Science, v.178, p.147-156, 2013. DOI: https://doi.org/10.1097/SS.0b013e31829132c5.
https://doi.org/10.1097/SS.0b013e3182913...
). After their collection, the data are entered into a geographic information system (GIS) to generate the map on the topic to be assessed, which could be productivity or soil attributes, for example. In this step, the interpolation of the collected data is performed, and values at unvisited locations are estimated (Kerry et al., 2010KERRY, R.; OLIVER, M.A; FROGBROOK, Z.L. Sampling in precision agriculture. In: OLIVER, M.A. (Ed.). Geostatistical applications for precision agriculture. Dordrecht: Springer, 2010. p.35-63. DOI: https://doi.org/10.1007/978-90-481-9133-8_2.
https://doi.org/10.1007/978-90-481-9133-...
). Several techniques are used for interpolation purposes, such as inverse distance to a power (IDP), kriging, nearest neighbor, and moving average, which differ based on how weights are assigned to the different samples (Laslett et al., 1987LASLETT, G.M.; MCBRATNEY, A.B.; PAHL, P.J.; HUTCHINSON, M.F. Comparison of several spatial prediction methods for soil pH. European Journal of Soil Science, v.38, p.325-341, 1987. DOI: https://doi.org/10.1111/j.1365-2389.1987.tb02148.x.
https://doi.org/10.1111/j.1365-2389.1987...
).

However, choosing that program instead of a tool dedicated for precision agriculture can be a challenge, since most software used to generate thematic maps have not been specifically developed for precision agriculture, but for generic data handling (Whelan & Taylor, 2013WHELAN, B.; TAYLOR, J. Precision agriculture for grain production systems. Collingwood: CSIRO, 2013. DOI: https://doi.org/10.1071/9780643107489.
https://doi.org/10.1071/9780643107489...
). This shows the need for a free, user-friendly software for the execution of all stages of the process of generating management areas in precision agriculture. With this aim, the “Software para Definição de Unidades de Manejo” (SDUM) desktop application, i.e., software for the definition of management units, was developed (Bazzi et al., 2015BAZZI, C.L.; SOUZA, E.G. de; BETZEK, N.M. SDUM: software para definição de unidades de manejo: teoria e prática. [Cascavel: PGEAGRI], 2015.). This tool allows the creation of thematic maps by known methods of interpolation, generation, and evaluation of management areas. Although the SDUM proved to be a suitable option for working with thematic maps and management areas (Gavioli et al., 2016GAVIOLI, A.; SOUZA, E.G.; BAZZI, C.L.; GUEDES, L.P.C.; SCHENATTO, K. Optimization of management zone delineation by using spatial principal components. Computers and Electronics in Agriculture, v.127, p.302-310, 2016. DOI: https://doi.org/10.1016/j.compag.2016.06.029.
https://doi.org/10.1016/j.compag.2016.06...
; Schenatto et al., 2016aSCHENATTO, K.; SOUZA, E.G. de; BAZZI, C.L.; BETZEK, N.M.; GAVIOLI, A. Two approach comparison to define crop management zones (MZs). African Journal of Agricultural Research, v.11, p.3680-3689, 2016a. DOI: https://doi.org/10.5897/AJAR2016.11453.
https://doi.org/10.5897/AJAR2016.11453...
, 2016bSCHENATTO, K.; SOUZA, E.G.; BAZZI, C.L.; BIER, V.A.; BETZEK, N.M.; GAVIOLI, A. Data interpolation in the definition of management zones. Acta Scientiarum. Technology, v.38, p.31-34, 2016b. DOI: https://doi.org/10.4025/actascitechnol.v38i1.27745.
https://doi.org/10.4025/actascitechnol.v...
), it is available only for desktop computers and needs to be installed on the user’s computer, both unfavorable for the dissemination and use of the software.

The objective of this work was to develop and provide a free web application able to generate thematic maps.

Materials and Methods

Software development

Reverse engineering was used to develop the online tool for the creation of procedures by software in the context of precision agriculture. This process is considered a form of examining and understanding the existing system (Pfleeger, 2004PFLEEGER, S.L. Engenharia de software: teoria e prática. 2.ed. São Paulo: Prentice Hall, 2004.), aiming to better understand a software, facilitating activities such as expansion, correction, documentation, re-designing, or reprogramming in another programming language (Rugaber & Stirewalt, 2004RUGABER, S.; STIREWALT, K. Model-driven reverse engineering. IEEE Software, v.21, p.45-53, 2004. DOI: https://doi.org/10.1109/MS.2004.23.
https://doi.org/10.1109/MS.2004.23...
). Reverse engineering enabled the analysis of the features and technological principles of the SDUM desktop application, allowing to create a new version of the tool at a high level of abstraction, while keeping the functions of thematic maps. It also permitted the addition of new features for a simplified usage in web browsers.

Software modeling assists in the preparation of a quality software, allowing to visualize and control its architecture, to manage risks, and to better understand its requirements (Pressman & Maxim, 2016PRESSMAN, R.S.; MAXIM, R.B. Engenharia de software: uma abordagem profissional. Tradução João Eduardo Nóbrega Tortello. 8.ed. Porto Alegre: AMGH, 2016.). For the representation of the features and documentation of the system, the Unified Modeling Language (UML) was adopted. For the layout, the free software Astah Community (Astah, Tokyo, Japan) was used, which allowed to graphically represent the use cases and all features and prerequisites. For software development, free tools were used to facilitate the project, without the need for additional license costs or support. The database management system PostgreSQL (2019)POSTGRESQL: the world’s most advanced open source relational database. Available at: <Available at: https://www.postgresql.org/ >. Accessed on: Dec. 28 2019.
https://www.postgresql.org/...
was adopted due to its flexibility and extension for PostGis georeferenced data. The spatial representations shown by satellite images in the software and used in the development environment are made available by the OpenLayers 3 library (OpenLayers 3 Beginner’s Guide, 2019OPENLAYERS 3 Beginner’s Guide. Available at: <Available at: http://openlayersbook.github.io/index.html >. Accessed on: Dec. 28 2019.
http://openlayersbook.github.io/index.ht...
), which features online mapping services integration and enables software developers to create geographic applications for the web environment with the capacity to display and manipulate geospatial data. The integrated development environment Eclipse (Eclipse Foundation, Inc., Ontario, Canada), as well as the Apache Tomcat web server (Apache Software Foundation, Wakefield, MA, USA), were also used for developing the new tool.

The concept of separation of layers of development (Pfleeger, 2004PFLEEGER, S.L. Engenharia de software: teoria e prática. 2.ed. São Paulo: Prentice Hall, 2004.; Silva, 2010SILVA, M.S. JavaScript: guia do programador. São Paulo: Novatec, 2010.; Sommerville, 2011SOMMERVILLE, I. Engenharia de software. Tradução Kalinka Oliveira e Ivan Bosnic. 9.ed. São Paulo: Pearson Prentice Hall, 2011.) was applied, and the Hypertext Markup Language (HTML) was used to structure the web page content. For the presentation layer that consists of style sheets, the Cascading Style Sheets (CSS) language was used to define how the elements of each web page were displayed. In the behavior layer defined by the scripts, the JavaScript programming language was used for data handling and processing. Application layers (user interface), business rules (system feature), and persistence (database in memory) were distinguished to make the system more flexible to changes.

For the communication between the development language and the database, the Hibernate framework (Red Hat, Raleigh, NC, USA) was used, facilitating the mapping of attributes between a traditional database and the object-oriented model of the application. The VRaptor 3 framework (Caleum, Rio de Janeiro, RJ, Brazil) was used to provide a quicker construction of web systems, allowing the implementation of features such as upload/download of files and conversion of data into different formats (XML, JSON, and XHTML, for example) by using the encapsulation HttpServlet Request, Response, Session, as well as the javax.servlet API. Software architecture was built based on the concepts of representational state transfer (REST), since they assist in integration with different systems (Lecheta, 2015LECHETA, R.R. Web Services RESTful: aprenda a criar web services RESTful em Java na nuvem do Google. São Paulo: Novatec, 2015.), using the REST application programming interface (API).

With the goal of building a distributed and scalable environment, the software architecture was distributed into two layers (Figure 1). On the server-side, an API for the REST web service (AgDataBox-API) was used for accessing the data persistence layer, managing authentication/authorization methods, and storing of data sent by applications. On the client-side, the application for generating thematic maps (AgDataBox-Maps) established a communication with the server layer (AgDataBox-API) by using the hypertext transfer protocol (HTTP), allowing the communication between the map system and the other systems also integrated into AgDataBox-API, such as Mobile and Sensor, among others. This structure allows users to share their data (fields of study) among different applications, developed by different programmers, in different programming languages, for different purposes.

Figure 1.
Architectural model of the AgDataBox software, showing the server layer and the client layer.

Operating structure of the AgDataBox-Map software

Because of the need to work with a considerable amount of data, a structure geared towards project management by the user was created (Figure 2). In the project module, methods to create and edit different projects - each allowing the registration of parcels, sampling grids, and collected samples of various attributes (data on soil and/or plant physical and chemical attributes) - were implemented.

Figure 2.
Operation flowchart of the AgDataBox-Map. ID, inverse of distance; ISD, inverse of distance squared; and MA, moving average.

Data regarding the outline and sample data of the area (altitude, pH, phosphorus, and calcium, among others) were also included. For this, three different methods were implemented and made available: delimitation of the parcel and indication of sample points on satellite images, presented to the user with the available drawing tools; import of data from parcels (outline and sample data) previously registered within the AgDataBox-API environment (available in the cloud), with potential use of other software integrated in the API; and import of parcel data (outline and sample data) available in text format files (“.txt”), containing two columns of data, representing longitude and latitude, respectively, when defining the area outline, besides an additional column to indicate the points sampled in the parcel.

To allow easy data change, editing interfaces were implemented in the environment, enabling editing operations to position the outline of the parcels and sampling points, as well as changes in the values of the attributes and the exclusion of previously registered points. It is possible to modify the sample grid created from a regular grid, since the points can be dragged to the desired location, erased, or have values attributed to them.

Generation of the thematic maps

The interpolation of data is a necessary procedure for the construction of thematic maps, because it allows estimating the value of attributes in unvisited locations, based on the information obtained from points that were collected (Bazzi et al., 2015BAZZI, C.L.; SOUZA, E.G. de; BETZEK, N.M. SDUM: software para definição de unidades de manejo: teoria e prática. [Cascavel: PGEAGRI], 2015.). For the generation of the thematic maps, the same interpolation methods used in the SDUM desktop application were implemented: IDP, moving average, nearest neighbor (special case of IDP), and ordinary kriging.

IDP was obtained by:

Z = i = 1 n ( Z i D i p ) i = 1 n ( 1 D i p )

where Z corresponds to the value of the Z attribute for the point to be interpolated, Zi is the value of Z in relation to its neighbor i, Di p is the distance between the point to be interpolated (Z) and the sampled data, and p corresponds to the desired power.

Moving average was calculated by:

Z = i = 1 n ( Z i ) / n

where Z also corresponds to the value of the Z attribute for the point to be interpolated, Zi is the value of Z in relation to its neighbor i, and n is the number of sample elements used for interpolation.

The ordinary kriging functionalities adjust automatically the traditional models used in the literature (spherical, Gaussian, exponential, and Matérn) to the semivariogram, without human interference, using the fitting methods ordinary least squares and weighted least squares. To choose the best fit for each model used, the software adopts statistical cross-validation parameters for the mean error (ME) and the standard deviation of the mean error (SDME), as shown in the two following equations, respectively:

M E = 1 n i = 1 n Z ( S i ) Z ( S i )

S D M E = 1 n i = 1 n [ Y ( S i ) M E ] 2

where n is the number of data; Z(Si) is the value observed at point Si; Ẑ(Si) is the value predicted by ordinary kriging in point Si; and Ŷ(Si) is the prediction of the error associated with the estimate of the value at point Si.

The ME and SDME values are calculated for each set of parameters used to determine the best fit model for the semivariogram. The model is then determined according to the lower value for the interpolation selection index (Bier & Souza, 2017BIER, V.A.; SOUZA, E.G. de. Interpolation selection index for delineation of thematic maps. Computers and Electronics in Agriculture, v.136, p.202-209, 2017. DOI: https://doi.org/10.1016/j.compag.2017.03.008.
https://doi.org/10.1016/j.compag.2017.03...
), obtained by:

I S I = { a b s ( M E ) max i = 1 j [ a b s ( M E ) ] + [ S D M E min i = 1 j ( S D M E ) ] max i = 1 j [ a b s ( S D M E ) ] }

where ISI is the interpolation selection index, abs(ME) is the module value of the average error, SDME is the standard deviation of the mean error, minji=1 is the lowest value among the compared of the j interpolators, and maxji=1 is the highest value among the compared interpolators.

In order to perform ordinary kriging interpolation, after the adjustment of the variogram model, the following equation can be used to calculate the estimated value at the point of interest:

Z i = i = 1 w γ i × Z i

IDP interpolation assumes the existence of a positive spatial correlation, and the power is used to attenuate the impact of distant points. The IDP is a quick method that generates good results and requires little computational resources (Mazzini & Schettini, 2009MAZZINI, P.L.F.; SCHETTINI, C.A.F. Avaliação de metodologias de interpolação espacial aplicadas a dados hidrográficos costeiros quase-sinóticos. Brazilian Journal of Aquatic Science and Technology, v.13, p.53-64, 2009.). The nearest-neighbor technique is the simplest method of interpolation, since its main characteristic is to ensure that the interpolated value is one of the original values (Franke, 1982FRANKE, R. Scattered data interpolation: tests of some methods. Mathematics of Computation, v.38, p.181-181, 1982. DOI: https://doi.org/10.1090/S0025-5718-1982-0637296-4.
https://doi.org/10.1090/S0025-5718-1982-...
). Since it does not generate new values for the Z variable, it is recommended when working with qualitative data, often being used when the data has already been interpolated by another method and if the aim is for the interpolation to keep the original data. For the moving average, values are estimated based on the calculation of the average of the points selected by the user (it is possible to set the number of points in the considered vicinity) or by using a predefined distance between the elements and the location where interpolation application is desired. Kriging, which was detailed in Michelon et al. (2019)MICHELON, G.K.; BAZZI, C.L.; UPADHYAYA, S.; SOUZA, E.G. de; 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, v.10, art.100320, 2019. DOI: https://doi.org/10.1016/j.softx.2019.100320.
https://doi.org/10.1016/j.softx.2019.100...
, is another method, but of regression, applied in geostatistics to approximate or interpolate data based on statistical models that includes spatial autocorrelation, i.e., relationship statistics between measured points.

As the interpolators IDP and moving average must be adjusted according to the user’s need, methods were implemented to enable the configuration of the parameters related to the power P (only for the IDP), maximum distance (radius), and/or number of sample elements used in interpolation. It should be noted that it is not necessary to configure these parameters to perform ordinary kriging interpolation. Aside from these settings, the module also allows to change the pixel size of the map (spatial resolution).

To visualize the thematic maps, the user should register a “Classifier Entity” - corresponding to a company, agency, or researcher to serve as a reference for attribute ratings in tabulated form. This function is an alternative that allows the generation of the map in accordance with the interval value proposed by the classifier, facilitating the division of map classes, which is carried out automatically considering the classification of the classifier entity.

Performance assessment

To evaluate the developed tool, performance and accuracy tests were carried out for each feature, aiming at minimizing undesirable results and correcting errors. For the assessment, after the input of parcel delimitation and the inclusion of the sampling data related to soil chemical characteristics and corn (Zea mays L.) productivity, thematic maps of the attributes that used the IDP method were generated. Soil chemical data were classified according to Costa & Oliveira (2001)COSTA, J.M.; OLIVEIRA, E.F. de. Fertilidade do solo e nutrição de plantas: culturas: soja-milho-trigo-algodão-feijão. 2.ed. rev. Campo Mourão: COAMO; Cascavel: COODETEC, 2001. and accounted for the average corn production in the state during the reviewed year.

The functioning of the application in different viewing environments was tested using the main web browsers available (Mozilla Firefox, Google Chrome, Internet Explorer, and Opera), to evaluate the compatibility of visualization resources. Moreover, to test the accuracy of the thematic maps, the maps generated on the web application were compared with those generated in the SDUM desktop application and in the ArcGis proprietary software (ESRI, Redlands, CA, USA). The maps generated with different configurations of pixel size, radius, exponent, and number of neighbors were compared using the kappa index.

Data used in the case study

For the tests and performance assessment of the software features, experimental data of precision agriculture were used. These data were collected in 2014 in two agricultural fields - field A with 9.9 ha and field B with 23.8 ha - located in the municipality of Serranópolis do Iguaçu, in the state of Paraná, Brazil, in the central geographical coordinate s25°24’28’’S and 54°00'17"W and 25°26'49"S and 54°04'59'W, respectively. The soil in the fields is classified as a typical Latossolo Vermelho distroférrico (Santos et al., 2018SANTOS, H.G. dos; JACOMINE, P.K.T.; ANJOS, L.H.C. dos; OLIVEIRA, V.A. de; LUMBRERAS, J.F.; COELHO, M.R.; ALMEIDA, J.A. de; ARAUJO FILHO, J.C. de; OLIVEIRA, J.B. de; CUNHA, T.J.F. Sistema brasileiro de classificação de solos. 5.ed. rev. e ampl. Brasília: Embrapa , 2018. E-book.), i.e., a Typic Haplustox (Soil Survey Staff, 2006SOIL SURVEY STAFF. Keys to soil taxonomy. 10th ed. Washington: USDA, NRCS, 2006.), cultivated under a no-tillage system with a succession of soybean [Glycine max (L.) Merr.] and corn crops. The data used for testing refer to soil chemical attributes and corn yield. The sampling grids for data collection are different for the two fields and have a sample density of 4.24 points per hectare (42 samples) for field A and of 3.06 points per hectare (73 samples) for field B.

To determine the location of the sampling points, the Trimble GeoXT GNSS receiver (GeoExplorer, Sunnyvale, CA, USA) was used. At each sampled grid point, eight subsamples were collected within a radius of 3 m of their respective sample point (Wollenhaupt & Wolkowski, 1994WOLLENHAUPT, N.C.; WOLKOWSKI, R.P. Grid soil sampling. Better Crops with Plant Food, v.78, p.6-7, 1994.) and at a depth of 0.20 m. The collected soil was sent for laboratory analysis, where its chemical attributes were determined. For corn productivity sampling, eight spikes in each sampling point of the grid were manually harvested and separated. After harvesting, screening and manual cleaning were performed. Finally, the grains were weighed, and their mass was corrected to 13% moisture content, according to the instructions for seed analysis (Brasil, 2009BRASIL. Ministério da Agricultura, Pecuária e Abastecimento. Regras para análise de sementes. Brasilia, 2009.).

Results and Discussion

The developed web-based system allows visualizing the geographic outline of the study area and its respective sampling points (Figure 3) through the main screen button “My Projects” (item 1). After the area is selected, the system allows the visualization of the sample data (item 2). The main menu is located at the top of the screen (item 3), where it is possible to register, edit, and delete features, such as: areas and sample attributes, soil types, attribute types, sampling grid, classifier entity, and data interpolation. On the right side of the main menu, are the buttons for changing the language (Portuguese, English, or Spanish) of the interface (item 4), and the username and the logoff option are located to the side (item 5).

Figure 3.
AgDataBox-Map showing: A, main screen; B, experimental field A; and C, experimental field B. Small circles represent the sampling points.

Following the organizational architecture of the environment, after the data were registered, data interpolation was executed to generate the thematic maps. For this step, it is advisable to first register - via “Classifier Entity” in the main menu - an entity, organ, or researcher that presents the classification for the attributes to be used in generating the maps in a tabulated manner; this allows registering intervals and colors for each classification level. However, it is also possible to generate thematic maps without the need of a classifier entity; in this case, a fixed number of ranges is preferable, considering the lower and upper limits of the attributes of the map to be generated.

The environment enables the creation of thematic maps through the button “Create Thematic Maps” available from the main menu, and the users have the possibility of changing settings according to their need, considering parameters related to the type of interpolator (IDP, moving average, nearest neighbor, or kriging), to the pixel size of the map (spatial resolution), to the values of the exponent (IDP only), to the number of neighbors, and to the radius. The generated map can be viewed through the main screen button “My Thematic Maps” (Figure 4).

Figure 4.
AgDataBox-Map showing the thematic map of phosphorus for field A (A) and field B (B).

The influence of the parameters used in the interpolation process can be observed on the thematic maps for organic matter, collected in 2015, in field A (Figure 5), and for phosphorus, collected in 2015, in field B (Figure 6). The maps were generated by the inverse distance interpolation method raised to the exponents of 1 (ID, inverse of distance) and 2 (IDS, inverse of distance squared), with different configurations to compare the impact of the following parameters: power, which allows giving higher priority or greater importance to the closest neighbors; pixel size, which determines the distance between the center of a polygon and the nearest neighbor(s); radius, a parameter that defines the distance for the selection of samples for the interpolation of a pixel; and number of neighbors to be considered for each pixel interpolation.

Figure 5.
Thematic maps of field A generated with different settings for the attribute organic matter. IDP, inverse distance to a power; and IDS, inverse of distance squared.

Figure 6.
Thematic maps of field B generated with different settings for the attribute phosphorus. IDP, inverse distance to a power; and IDS, inverse of distance squared.

Visually, there was an increase in the level of detail of the map with 5x5-m pixel size generated by IDS (Figures 5 and 6), with much more defined curves than those of the map with 20x20 m pixels. On the 10x10-m pixel map, interpolation extends beyond the boundaries of the area outline. Regarding power, the higher the value, the more important the nearby points become, as is evident from the maps (Figures 5 and 6 C and D). The parameter for the number of neighbors ensures that at least one sampling point is selected for the interpolation of each pixel when the radius is equal to zero. It can be seen that when the number of neighbors was equal to zero and the radius equal to ten, the map did not represent efficiently the attribute phosphorus variability, as it did when the number of neighbors and the radius received a value equal to 10 (Figure 6 D and C).

Figure 7 A and B shows the thematic maps of corn productivity in 2014 and 2015, respectively, whereas Figure 7 C presents corn productivity in 2015 using kriging interpolation. To generate the maps, the following were used: IDS interpolator, number of neighbors equal to 10, radius equal to 0, and pixel size of 5x5 m for Figure 7 A and B; and pixel size of 5x5 m for Figure 7 C. It was observed that yield maps assist in recognizing yield changes between harvests.

Figure 7.
Thematic map of corn (Zea mays) productivity generated in the software for the definition of management units (SDUM) desktop application, showing corn productivity in 2014 (A), corn productivity in 2015 (B), and corn productivity in 2015 using kriging interpolation (C).

For comparison, the maps generated in the SDUM desktop application, the AgDataBox-Map, and ArcGIS for the phosphorus attribute, collected in 2015, are shown (Figure 8). The interval was chosen according to the values recommended for the soil of the experimental area, a typical Latossolo Vermelho distroférrico (Costa & Oliveira, 2001COSTA, J.M.; OLIVEIRA, E.F. de. Fertilidade do solo e nutrição de plantas: culturas: soja-milho-trigo-algodão-feijão. 2.ed. rev. Campo Mourão: COAMO; Cascavel: COODETEC, 2001.), i.e., a Typic Haplustox (Soil Survey Staff, 2006SOIL SURVEY STAFF. Keys to soil taxonomy. 10th ed. Washington: USDA, NRCS, 2006.). The following were used: IDS interpolator, number of neighbors equal to 10, radius equal to 0, and pixel size of 5x5 m.

Figure 8.
Thematic map of the phosphorus attribute generated in the software for the definition of management units (SDUM) desktop application (A), the AgDataBox-Map (B), and the ArcGis software (C).

Changes were not detected in the platform when accessed in the different browsers tested - Mozilla Firefox, Google Chrome, Internet Explorer, and Opera.

Conclusions

  1. The AgDataBox-Map software, developed to create thematic maps for precision agriculture, proved to be a good free software option, since the generated maps are similar to those generated by the software for definition of management units (SDUM) desktop application and the ArcGIS proprietary software.

  2. The use of technologies to build the software are shown to be satisfactory from a technical (computational) point of view and rendered the construction of a tool with features similar to those of geographic information systems.

Acknowledgments

To the post-graduation program Tecnologias Computacionais para o Agronegócio (PPGTCA) of Universidade Tecnológica Federal do Paraná (UTFPR), for financial support and aid in the maintenance of the research activities; to Coordenação de Aperfeiçoamento de Pessoal de Nível Superior (Capes), for scholarship granted (finance code 001); to Conselho Nacional de Desenvolvimento Científico e Tecnológico (CNPq), for financial support and grants 308790/2017-0 and 307648/2017-6; and to Ministério da Agricultura, Pecuária e Abastecimento (Mapa), for support.

References

  • ADAMCHUK, V.I.; VISCARRA ROSSEL, R.A.; MARX, D.B.; SAMAL, A.K. Using targeted sampling to process multivariate soil sensing data. Geoderma, v.163, p.63-73, 2011. DOI: https://doi.org/10.1016/j.geoderma.2011.04.004.
    » https://doi.org/10.1016/j.geoderma.2011.04.004
  • BAZZI, C.L.; SOUZA, E.G. de; BETZEK, N.M. SDUM: software para definição de unidades de manejo: teoria e prática. [Cascavel: PGEAGRI], 2015.
  • BIER, V.A.; SOUZA, E.G. de. Interpolation selection index for delineation of thematic maps. Computers and Electronics in Agriculture, v.136, p.202-209, 2017. DOI: https://doi.org/10.1016/j.compag.2017.03.008.
    » https://doi.org/10.1016/j.compag.2017.03.008
  • BRASIL. Ministério da Agricultura, Pecuária e Abastecimento. Regras para análise de sementes. Brasilia, 2009.
  • CORWIN, D.L.; LESCH, S.M. Application of soil electrical conductivity to precision agriculture: theory, principles and guidelines. Agronomy Journal, v.95, p.455-471, 2003. DOI: https://doi.org/10.2134/agronj2003.4550.
    » https://doi.org/10.2134/agronj2003.4550
  • COSTA, J.M.; OLIVEIRA, E.F. de. Fertilidade do solo e nutrição de plantas: culturas: soja-milho-trigo-algodão-feijão. 2.ed. rev. Campo Mourão: COAMO; Cascavel: COODETEC, 2001.
  • DAVATGAR, N.; NEISHABOURI, M.R.; SEPASKHAH, A.R. Delineation of site specific nutrient management zones for a paddy cultivated area based on soil fertility using fuzzy clustering. Geoderma, v.173/174, p.111-118, 2012. DOI: https://doi.org/10.1016/j.geoderma.2011.12.005.
    » https://doi.org/10.1016/j.geoderma.2011.12.005
  • FRANKE, R. Scattered data interpolation: tests of some methods. Mathematics of Computation, v.38, p.181-181, 1982. DOI: https://doi.org/10.1090/S0025-5718-1982-0637296-4.
    » https://doi.org/10.1090/S0025-5718-1982-0637296-4
  • GAVIOLI, A.; SOUZA, E.G.; BAZZI, C.L.; GUEDES, L.P.C.; SCHENATTO, K. Optimization of management zone delineation by using spatial principal components. Computers and Electronics in Agriculture, v.127, p.302-310, 2016. DOI: https://doi.org/10.1016/j.compag.2016.06.029.
    » https://doi.org/10.1016/j.compag.2016.06.029
  • GREGO, C.R.; OLIVEIRA, R.P. de; VIEIRA, S.R. Geoestatística aplicada a agricultura de precisão. In: BERNARDI, A.C. de C.; NAIME, J. de M.; RESENDE, Á.V. de; BASSOI, L.H.; INAMASU, R.Y. (Ed.). Agricultura de precisão: resultados de um novo olhar. Brasília: Embrapa, 2014. p.74-83.
  • KERRY, R.; OLIVER, M.A; FROGBROOK, Z.L. Sampling in precision agriculture. In: OLIVER, M.A. (Ed.). Geostatistical applications for precision agriculture. Dordrecht: Springer, 2010. p.35-63. DOI: https://doi.org/10.1007/978-90-481-9133-8_2.
    » https://doi.org/10.1007/978-90-481-9133-8_2
  • LASLETT, G.M.; MCBRATNEY, A.B.; PAHL, P.J.; HUTCHINSON, M.F. Comparison of several spatial prediction methods for soil pH. European Journal of Soil Science, v.38, p.325-341, 1987. DOI: https://doi.org/10.1111/j.1365-2389.1987.tb02148.x.
    » https://doi.org/10.1111/j.1365-2389.1987.tb02148.x
  • LECHETA, R.R. Web Services RESTful: aprenda a criar web services RESTful em Java na nuvem do Google. São Paulo: Novatec, 2015.
  • MAZZINI, P.L.F.; SCHETTINI, C.A.F. Avaliação de metodologias de interpolação espacial aplicadas a dados hidrográficos costeiros quase-sinóticos. Brazilian Journal of Aquatic Science and Technology, v.13, p.53-64, 2009.
  • MICHELON, G.K.; BAZZI, C.L.; UPADHYAYA, S.; SOUZA, E.G. de; 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, v.10, art.100320, 2019. DOI: https://doi.org/10.1016/j.softx.2019.100320.
    » https://doi.org/10.1016/j.softx.2019.100320
  • OPENLAYERS 3 Beginner’s Guide. Available at: <Available at: http://openlayersbook.github.io/index.html >. Accessed on: Dec. 28 2019.
    » http://openlayersbook.github.io/index.html
  • PFLEEGER, S.L. Engenharia de software: teoria e prática. 2.ed. São Paulo: Prentice Hall, 2004.
  • POSTGRESQL: the world’s most advanced open source relational database. Available at: <Available at: https://www.postgresql.org/ >. Accessed on: Dec. 28 2019.
    » https://www.postgresql.org/
  • PRESSMAN, R.S.; MAXIM, R.B. Engenharia de software: uma abordagem profissional. Tradução João Eduardo Nóbrega Tortello. 8.ed. Porto Alegre: AMGH, 2016.
  • RODRIGUES JR., F.A.; MAGALHÃES, P.S.G.; FRANCO, H.C.J.; BEAUCLAIR, E.G.F. de; CERRI, D.G.P. Correlation between chemical soil attributes and sugarcane quality parameters according to soil texture zones. Soil Science, v.178, p.147-156, 2013. DOI: https://doi.org/10.1097/SS.0b013e31829132c5.
    » https://doi.org/10.1097/SS.0b013e31829132c5
  • RUGABER, S.; STIREWALT, K. Model-driven reverse engineering. IEEE Software, v.21, p.45-53, 2004. DOI: https://doi.org/10.1109/MS.2004.23.
    » https://doi.org/10.1109/MS.2004.23
  • SANTOS, H.G. dos; JACOMINE, P.K.T.; ANJOS, L.H.C. dos; OLIVEIRA, V.A. de; LUMBRERAS, J.F.; COELHO, M.R.; ALMEIDA, J.A. de; ARAUJO FILHO, J.C. de; OLIVEIRA, J.B. de; CUNHA, T.J.F. Sistema brasileiro de classificação de solos. 5.ed. rev. e ampl. Brasília: Embrapa , 2018. E-book.
  • SCHENATTO, K.; SOUZA, E.G. de; BAZZI, C.L.; BETZEK, N.M.; GAVIOLI, A. Two approach comparison to define crop management zones (MZs). African Journal of Agricultural Research, v.11, p.3680-3689, 2016a. DOI: https://doi.org/10.5897/AJAR2016.11453.
    » https://doi.org/10.5897/AJAR2016.11453
  • SCHENATTO, K.; SOUZA, E.G.; BAZZI, C.L.; BIER, V.A.; BETZEK, N.M.; GAVIOLI, A. Data interpolation in the definition of management zones. Acta Scientiarum. Technology, v.38, p.31-34, 2016b. DOI: https://doi.org/10.4025/actascitechnol.v38i1.27745.
    » https://doi.org/10.4025/actascitechnol.v38i1.27745
  • SILVA, M.S. JavaScript: guia do programador. São Paulo: Novatec, 2010.
  • SOIL SURVEY STAFF. Keys to soil taxonomy. 10th ed. Washington: USDA, NRCS, 2006.
  • SOMMERVILLE, I. Engenharia de software. Tradução Kalinka Oliveira e Ivan Bosnic. 9.ed. São Paulo: Pearson Prentice Hall, 2011.
  • TEIXEIRA, L.A.J.; QUAGGIO, J.A.; MELLIS, E.V. Ganhos de eficiência fertilizante em bananeira sob irrigação e fertirrigação. Revista Brasileira de Fruticultura, v.33, p.272-278, 2011.
  • TEY, Y.S.; BRINDAL, M. Factors influencing the adoption of precision agricultural technologies: a review for policy implications. Precision Agriculture, v.13, p.713-730, 2012. DOI: https://doi.org/10.1007/s11119-012-9273-6.
    » https://doi.org/10.1007/s11119-012-9273-6
  • WHELAN, B.; TAYLOR, J. Precision agriculture for grain production systems. Collingwood: CSIRO, 2013. DOI: https://doi.org/10.1071/9780643107489.
    » https://doi.org/10.1071/9780643107489
  • WOLLENHAUPT, N.C.; WOLKOWSKI, R.P. Grid soil sampling. Better Crops with Plant Food, v.78, p.6-7, 1994.

Publication Dates

  • Publication in this collection
    16 Mar 2020
  • Date of issue
    2020

History

  • Received
    23 Apr 2018
  • Accepted
    28 Dec 2019
Embrapa Secretaria de Pesquisa e Desenvolvimento; Pesquisa Agropecuária Brasileira Caixa Postal 040315, 70770-901 Brasília DF Brazil, Tel. +55 61 3448-1813, Fax +55 61 3340-5483 - Brasília - DF - Brazil
E-mail: pab@embrapa.br