A soil data automatic overlay analysis method based on spatial data

By automating the preprocessing, extraction, correction and correlation operations of soil data, the problem of complex and error-prone manual operations is solved, efficient soil data overlay and customized export are achieved, and work efficiency and accuracy are improved.

CN116991806BActive Publication Date: 2024-08-27CREEPER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311126884.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-04
Publication Date
2024-08-27
Estimated Expiration
2043-09-04

AI Technical Summary

Technical Problem

When extracting information between multiple geographical datasets, manual operations are complex and error-prone, especially when spatial data are overlaid, which requires highly accurate operations and cannot effectively handle spatial location and attribute matching of a large number of different datasets.

Method used

An automatic overlay analysis method of soil data based on spatial data is adopted. Through preprocessing, data extraction, correction, alignment and correlation operations, an analysis system written in Python language is used to automatically preprocess, overlay and export soil data, including data cleaning. , conversion, normalization, error detection and repair, to achieve automatic overlay and customized export of soil data layers.

Benefits of technology

It significantly improves the efficiency of soil data overlay operations, reduces the risk of misoperation, realizes automated processing and customized export of soil data, and improves work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116991806B
    Figure CN116991806B
Patent Text Reader

Abstract

The invention discloses a soil data automatic overlay analysis method based on spatial data, belonging to the technical field of geographic information system, wherein the first unit file is a soil data original evaluation unit file, the second unit file list is a list of soil data layer files to be overlaid, the list includes soil data layer unit files to be overlaid, the analysis system is written in Python language, before processing the automatic overlay process, the user sets a set of soil data layer processing parameters at one time, and is used to batch process multiple soil data layer unit files. The invention can realize customized export of the overlaid files after the soil data is overlaid by setting the overlay unit and the export unit, thereby improving the work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of geographic information systems, and in particular relates to an automatic soil data overlay analysis method based on spatial data. Background Art

[0002] Typically, when information extraction is required between multiple geographic datasets, people choose to do it manually. This includes selecting the necessary information fields from different datasets, removing unnecessary fields, modifying the names and identifiers of the target fields, and then merging the required information fields into the final dataset. However, manual operations become very complex and error-prone when it is necessary to process a large number of different datasets and extract the necessary information fields at the same time. Especially in the context of spatial data overlay, this operation involves matching the spatial locations and attributes of multiple datasets, which requires highly accurate operations. Automation can help process spatial data on a large scale, ensuring that the required information fields are correctly extracted and integrated into the final dataset, avoiding the errors and time-consuming manual operations that may be caused.

[0003] For example, a Chinese invention patent with publication number CN114003679A discloses a spatial overlay analysis method, which produces thematic maps and then map tiles, and performs overlay analysis after data processing to achieve spatial overlay and display effects. However, the overlay operation still requires manual data set production, and the soil layer data cannot be automatically overlaid. Summary of the invention

[0004] In view of the above technical problems, the present invention discloses a soil data automatic superposition analysis method based on spatial data. The steps of automatically superimposing and analyzing soil data by an analysis system include:

[0005] Step S1, obtaining a first unit file and a second unit file list, and performing data preprocessing on the first unit file and the second unit file list using a preprocessing unit;

[0006] Step S2, acquiring data field information of the first unit, extracting data of the second unit according to the acquired field information, and performing correction processing on the extracted data;

[0007] Step S3, using the superposition unit to superimpose the spatial data according to each field, and aligning the data; using the association unit to associate different attributes of the second unit file list;

[0008] Step S4, exporting the superimposed spatial data through an export unit, and setting the export file name, export file type and viewing authority during export.

[0009] Furthermore, the first unit file is an original evaluation unit file of soil data, and the second unit file list is a list of files that need to be superimposed with soil data layers, and the list contains unit files of soil data layers that need to be superimposed.

[0010] Furthermore, the step of associating the file fields through the associating unit includes:

[0011] Step S101, obtaining fields in the second file list through the association unit, setting a file attribute association list, matching selected attributes of any two different files according to the attribute association list, and establishing association;

[0012] Step S102, repeat the operation of the previous step until the attributes between any two different files complete the corresponding relationship in the attribute association list;

[0013] Step S103: establishing association points for the attributes associated between every two files, the association points are used to record the association results, and the association points are superimposed on the map data layer for display.

[0014] Furthermore, the soil data is preprocessed by a preprocessing unit, including data cleaning, conversion, and normalization and formatting; the overlay unit overlays different types of soil data layer unit files, and the overlay includes overlay operations, cross operations, and fusion operations; the association unit is used to match and associate different types of soil data fields; and the export unit is used to export the overlaid files.

[0015] Furthermore, the preprocessing unit includes automatic error detection and repair, consistency check of data in the soil data layer, filling of missing data, detection and correction of outliers, and recording of error logs, wherein the error logs include detected errors, repair operations and results.

[0016] Furthermore, the analysis system is written in Python, and before processing the automatic overlay process, the user sets a set of processing parameters for the soil data layer at one time, which is used to batch process multiple soil data layer unit files.

[0017] Compared with the prior art, the present invention has the following beneficial effects: (1) the present invention realizes automatic superposition operation of soil data by using a computer program. Compared with manual superposition of shp data, the automatic superposition operation of the present invention significantly improves efficiency and reduces the risk of misoperation; (2) the present invention can realize customized export of the superimposed file after superimposing the soil data by setting a superposition unit and an export unit, thereby improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1The following is an exemplary step of performing data superposition in the present invention.

[0019] Figure 2 An exemplary step for associating fields of the present invention.

[0020] Figure 3 This is a block diagram of the unit structure of the analysis system of the present invention. DETAILED DESCRIPTION

[0021] Example: Geographic Information System (GIS) is a technology used to capture, store, manage, analyze and display geospatial data. GIS uses computer technology and geographical principles to combine geospatial information with attribute information, allowing users to perform data analysis and decision-making in a geospatial manner. GIS is widely used in various fields, including geography, urban planning, natural resource management, environmental protection, agriculture, emergency response, etc.

[0022] Soil data overlay is a common application of GIS, especially in the fields of soil science, agriculture, and environment. Soil data overlay refers to the overlay of different types of soil data layers to obtain more comprehensive geographic information and insights. These data layers can include soil type, texture, moisture, nutrients, pollution level, etc.

[0023] like Figure 1 , Figure 2 , Figure 3 As shown, a soil data automatic overlay analysis method based on spatial data, the steps of automatically overlaying and analyzing soil data by an analysis system include:

[0024] Step S1, obtaining a first unit file and a second unit file list, and performing data preprocessing on the first unit file and the second unit file list using a preprocessing unit;

[0025] Step S2, acquiring data field information of the first unit, extracting data of the second unit according to the acquired field information, and performing correction processing on the extracted data;

[0026] Step S3, using the superposition unit to superimpose the spatial data according to each field, and aligning the data; using the association unit to associate different attributes of the second unit file list;

[0027] Step S4, exporting the superimposed spatial data through an export unit, and setting the export file name, export file type and viewing permission during export;

[0028] The first unit file is the original evaluation unit file of soil data, and the second unit file list is a list of files that need to be superimposed with soil data layers, and the list contains the unit files of soil data layers that need to be superimposed.

[0029] In this embodiment, Figure 2 As shown, an exemplary step of associating the file fields through the associating unit includes:

[0030] Step S101, obtaining fields in the second file list through the association unit, setting a file attribute association list, matching selected attributes of any two different files according to the attribute association list, and establishing association;

[0031] Step S102, repeat the operation of the previous step until the attributes between any two different files complete the corresponding relationship in the attribute association list;

[0032] Step S103, establishing association points for the attributes associated between every two files, the association points are used to record the association results, and the association points are superimposed on the map data layer for display;

[0033] In the above steps, the attributes in the attribute association list include soil texture, soil type, soil moisture, and soil pH value, and corresponding association settings are performed on the attributes.

[0034] The soil data is preprocessed through the preprocessing unit, including data cleaning, conversion, and normalization formatting; the overlay unit overlays different types of soil data layer unit files, and the overlay includes overlay operations, intersection operations, and fusion operations; the overlay operation places one layer on top of another layer and merges the features of the two layers based on the spatial position. Overlay operations may include the overlay of points, lines, and surfaces. The intersection operation creates a new layer containing the intersection of the two layers based on the spatial position between the two layers. The fusion operation creates a new layer containing all the features of the two layers, regardless of whether they overlap. This can be used to view the full extent of the two layers.

[0035] The association unit is used to match and associate different types of soil data fields; the export unit is used to export the superimposed files.

[0036] The pre-processing unit includes automatic error detection and repair, consistency check of data in the soil data layer, filling of missing data, detection and correction of outliers, and recording of error logs, the contents of which include detected errors, repair operations and results.

[0037] The analysis system is written in Python. Before processing the automatic overlay process, the user sets a set of soil data layer processing parameters at one time, which is used to batch process multiple soil data layer unit files. Writing in Python can easily obtain the ability to process GIS files.

Claims

1. A soil data automatic superposition analysis method based on spatial data, characterized by: The steps of automatically superimposing and analyzing soil data through the analysis system include: Step S1, obtaining a first unit file and a second unit file list, and performing data preprocessing on the first unit file and the second unit file list using a preprocessing unit; Step S2, acquiring data field information of the first unit, extracting data of the second unit according to the acquired field information, and performing correction processing on the extracted data; Step S3, using the superposition unit to superimpose the spatial data according to each field, and aligning the data; using the association unit to associate different attributes of the second unit file list; Step S4, exporting the superimposed spatial data through an export unit, and setting the export file name, export file type and viewing permission during export; The first unit file is the original evaluation unit file of soil data, and the second unit file list is a list of files that need to be superimposed with soil data layers, which includes the unit files of soil data layers that need to be superimposed; The steps of associating file fields through an association unit include: Step S101, obtaining fields in the second file list through the association unit, setting a file attribute association list, matching selected attributes of any two different files according to the attribute association list, and establishing association; Step S102, repeat the operation of the previous step until the attributes between any two different files complete the corresponding relationship in the attribute association list; Step S103, establishing association points for the attributes associated between every two files, the association points are used to record the association results, and the association points are superimposed on the map data layer for display; The soil data is preprocessed through the preprocessing unit, including data cleaning, conversion, normalization and formatting; the overlay unit overlays different types of soil data layer unit files, including overlay operation, cross operation and fusion operation; the association unit is used to match and associate different types of soil data fields; the export unit is used to export the overlaid files; The pre-processing unit includes automatic error detection and repair, consistency check of data in the soil data layer, filling of missing data, detection and correction of outliers, and recording of error logs, wherein the error logs include detected errors, repair operations and results; The analysis system is written in Python. Before processing the automatic overlay process, the user sets a set of processing parameters for the soil data layer at one time, which is used to batch process multiple soil data layer unit files.