CN-122019681-A - Forest land data processing system and method based on GIS
Abstract
The invention discloses a GIS-based forest land type differentiation data processing system and method. The method comprises the steps of automatically setting an area threshold according to the type of the forest land by a parameter mutual exclusion constraint mechanism of the forest land type and a data source, processing overlapping relations of different types of forest lands according to priority by a global topology overlapping processing algorithm, fixing non-deduction rules by historical data, automatically adjusting the grid size within a range of 10-500 meters based on a spatial index of a grid dividing method, detecting an adjacent relation by intersecting a buffer zone, combining execution elements of a connection component analysis algorithm and a fusion tool, detecting rule keywords, and identifying classification errors according to Class values and Layer field contents. The invention solves the technical problems of parameter configuration conflict, imperfect topology overlapping processing strategy, low spatial index efficiency, inaccurate element combination and the like, and improves the accuracy and efficiency of forest land data processing.
Inventors
- LIU SUHANG
Assignees
- 刘苏航
Dates
- Publication Date
- 20260512
- Application Date
- 20260205
Claims (20)
- 1. A forest land data processing system and method based on GIS is characterized by comprising the following steps: Step 1, parameter configuration and data source management (1.1) Acquiring forest land type parameters configured by a user, wherein the forest land types comprise three types of conventional forest lands, ecological galleries and standardized fruit trees; (1.2) receiving a user input data source comprising one or more of a measurement data file, a history data file (downloaded from a Shanghai municipal afforestation project management system), a resource data file (downloaded from a Shanghai municipal afforestation project management system), a docket data file (downloaded from a Shanghai municipal afforestation project management system), or selecting an "other type of processing" function; (1.3) verifying the validity of the data source parameters, detecting repeated data sources, and ensuring that the same data source is not repeatedly selected; (1.4) according to the woodland type and the data source type, performing parameter mutual exclusion check, and when the function of 'other type processing' is selected, automatically setting all other data source parameters to be in a mutual exclusion state; (1.5) setting a final output file path for storing the processed data; (1.6) receiving an expansion tool set selected by a user, wherein the expansion tool comprises a cleaning field, a cleaning number, a merging element and a quality check, and can be selected more; (1.7) performing authorization verification, verifying that the machine ID matches the authorization document using the LICENSEMANAGER class, and checking the authorization validity period. The important explanation is that the forestation project management system in Shanghai city is an on-line management system used by forestry management departments in Shanghai city and does not belong to the copyright of the patent of the invention. The historical data, the resource data and the record data in the invention are all from data downloaded and acquired from a Shanghai city forestation project management system. Step2, data source loading and preprocessing (2.1) Sequentially loading user-selected data source files, and supporting Shapefile and FileGeodatabase formats; (2.2) detecting a space reference system of each data source, identifying the condition that the coordinate systems are inconsistent, and warning the user that the layer units are not meters; (2.3) unifying the spatial references of all data sources to a projection coordinate system (such as WGS1984UTMZone N) commonly used in Shanghai, thereby ensuring the consistency of spatial data; (2.4) performing a data format check to verify whether the geometry type is a polygon type, filtering the invalid geometry elements; (2.5) recording metadata such as element number, field information and the like loaded by each data source; (2.6) storing the intermediate processing result using the in_memory workspace, improving processing efficiency and reducing disk I/O. Step 3, woodland type differentiation treatment According to the forest land type configured in the step 1, different data processing rules are adopted: (3.1) conventional woodland treatment: Extracting key fields such as project numbers, land block numbers, affiliated land block numbers, class classification codes, circumferences, areas and the like; Checking the uniqueness of the project number and the land block number, and automatically marking a repeated number; calculating forest land area and perimeter, and verifying area accuracy (reserved to 0.01 square meter); Checking whether the boundary of the forest land is within the administrative region or not, and marking elements beyond the boundary. (3.2) Ecological corridor treatment: Extracting key fields such as project numbers, land block numbers, affiliated land block numbers, class classification codes, circumferences, areas and the like; Calculating the area and perimeter; it is checked whether the forest land boundary is within administrative section. (3.3) Standardized fruit tree treatment: Extracting key fields such as project numbers, land block numbers, affiliated land block numbers, class classification codes, circumferences, areas and the like; Checking the uniqueness of the project number and the land block number, and automatically marking a repeated number; calculating forest land area and perimeter, and verifying area accuracy (reserved to 0.01 square meter); Checking whether the boundary of the forest land is within the administrative region or not, and marking elements beyond the boundary. Step 4, field processing And checking the field integrity of each data source according to the standard field set, reserving the standard field, and deleting redundant fields. Step 5, expanding tool set processing According to the expansion tool selected by the user, the following expansion processes are sequentially executed: (5.1) cleaning the fields, namely deleting unnecessary fields according to configuration rules, and reserving a standard field set; (5.2) cleaning the number, namely executing the number duplication removal process, extracting the number fields of all elements, constructing a number index table, identifying the duplication number and executing a duplication removal strategy; (5.3) merging elements, namely identifying adjacent small image spots with the same attribute according to the spatial proximity relation, when the boundaries of the image spots are in contact and the attributes are completely the same, executing merging, and generating a new merged element by using a spatial fusion operation; (5.4) quality inspection, including performing topology inspection including self-intersection inspection, gap inspection, overlay inspection, boundary inspection, detecting and recording topology errors. Step 6, quality control and result verification (6.1) Performing a final quality check: Counting the element quantity comparison before and after the treatment; Verifying the integrity of the key field; checking geometric validity; and verifying the consistency of the spatial references. And (6.2) writing the processed data into a final output file, and reserving complete attribute information and geometric information.
- 2. A method for processing woodland data based on GIS according to claim 1, wherein, The history data, the resource data and the record data in the step 1 (1.2) are all obtained from the downloading of the forestation project management system of Shanghai city, The system is not the copyright of the patent.
- 3. A method for processing woodland data based on GIS according to claim 1, wherein, The parameter mutual exclusion check in step1 (1.4) includes: When the function of 'other types of processing' is selected, the parameters of the measured data, the historical data, the resource data and the recorded data are automatically set to be in a mutually exclusive state; when any data source parameter is selected, the other type processing function is automatically set to be in a mutual exclusion state; the state change of the mutual exclusion parameter is automatically triggered by a parameter update event.
- 4. A method for processing woodland data based on GIS according to claim 1, wherein, The spatial reference unification in the step 2 (2.3) comprises: automatically detecting a space reference system of each data source; Identifying data sources of which the coordinate systems are inconsistent; performing projection conversion and unifying the projection conversion to a target coordinate system; And verifying the geometric accuracy after conversion, and ensuring the accuracy of the spatial position.
- 5. A method for processing woodland data based on GIS according to claim 1, wherein, The woodland type differentiation processing in the step 3 comprises the following steps: the conventional woodland mainly checks the uniqueness of project numbers, land block numbers and affiliated land block numbers, and extracts class classification codes and layer information; the ecological corridor is used for calculating the perimeter and the area in a key way and checking the integrity of the boundary; And (3) standardizing the fruit forest, namely checking the uniqueness of the project numbers, the land block numbers and the belonging land block numbers, and checking the land block area threshold value of the fruit forest.
- 6. A method for processing woodland data based on GIS according to claim 1, wherein, The field processing in step 4 (4.1) includes: establishing a standard field set, and defining a field to be reserved; Deleting redundant fields, and reserving a standard field set; Clearing invalid characters such as spaces, special characters and the like in the field values.
- 7. A method for processing woodland data based on GIS according to claim 1, wherein, The topology error handling in step 5 (5.2) comprises: detecting and recording topology errors (e.g., self-intersecting, empty geometry, non-closed, etc.); marking error elements for manual inspection; An error report is generated, recording the error type and location.
- 8. A method for processing woodland data based on GIS according to claim 1, wherein, The number deduplication policy in step 6 (6.4) includes: Detecting repeated numbers; clearing the number field, namely setting the number field as a null value; A repeat number list is generated.
- 9. A method for processing woodland data based on GIS according to claim 1, wherein, The element combination in the step 7 (7.2) includes: Detecting elements of boundary contact; when the element boundaries are in contact and the attributes are identical, merging is performed; And generating the combined new elements by using a space fusion operation.
- 10. A method for processing woodland data based on GIS according to claim 1, wherein, The expanding tool set in the step 8 includes: Clearing the field, namely deleting unnecessary fields and reserving a standard field set; Cleaning the number, namely executing the number duplicate removal; merging elements, namely executing space adjacent element merging; quality inspection, performing topology inspection.
- 11. A method for processing woodland data based on GIS according to claim 1, wherein, The quality check in step 9 (9.1) comprises: Counting the element quantity comparison before and after the treatment; Verifying the integrity of the key field; checking geometric validity; and verifying the consistency of the spatial references.
- 12. A GIS-based woodland data processing system, comprising: the parameter configuration module is used for acquiring the woodland type parameters and the data source parameters configured by the user and carrying out parameter verification and mutual exclusion check; The data loading module is used for loading each data source file selected by a user, unifying space references and checking a data format; The type processing module is used for executing a differentiation processing rule according to the type of the forest land; The field standardization module is used for executing field reservation and field cleaning; The topology checking module is used for executing space relation checking and topology error detection; the numbering and de-duplication module is used for performing numbering detection and de-duplication processing; the element merging module is used for executing space proximity analysis and element merging; the quality control module is used for executing final quality inspection; and the result output module is used for outputting result data.
- 13. The GIS-based woodland data processing system according to claim 12, wherein, The data sources include measurement data, historical data (downloaded from Shanghai city forestation project management system), and, Resource data (downloaded from Shanghai city forestation project management system), record data (downloaded from Shanghai city forestation project management system).
- 14. The GIS-based woodland data processing system according to claim 12, wherein, The system is in complementary relationship with the forestation project management system in Shanghai city, which is not the copyright of the patent of the invention.
- 15. The GIS-based woodland data processing system according to claim 12, wherein, The forest land types comprise two types of conventional forest lands and ecological galleries, and different types adopt different treatment rules.
- 16. The GIS-based woodland data processing system according to claim 12, wherein, The system supports batch processing of thousands of elements for no more than 15 minutes.
- 17. The GIS-based woodland data processing system according to claim 12, wherein, The system ensures data integrity and the processing process does not destroy the original data.
- 18. A computer-readable storage medium having a computer program stored thereon, characterized in that, The program, when executed by a processor, implements the method of any one of claims 1 to 11.
- 19. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, Characterized in that the processor implements the method of any of claims 1 to 11 when executing the program.
- 20. A woodland data processing method comprises receiving measurement data, history data, resource data and record data input by a user, It is characterized in that the history data, the resource data and the record data are all obtained from the downloading of a forestation project management system of Shanghai city, The system does not belong to the copyright of the method, and the following steps are executed after receiving data: Parameter configuration and data source management; loading and preprocessing a data source; Differentiation treatment of forest land types; field cleaning and standardization; spatial relationship processing and topology checking; Numbering and duplicate removal and uniqueness assurance; merging elements and fusing the elements with space; Expanding a tool set process; quality control and result verification.
Description
Forest land data processing system and method based on GIS Technical Field The invention relates to the technical field of Geographic Information Systems (GIS) and data processing, in particular to a forest land data processing method based on GIS, which is particularly suitable for urban forest land resource management and forestation project data processing. Background The invention relates to the technical field of Geographic Information Systems (GIS) and data processing, in particular to a forest land data processing method based on GIS, which is particularly suitable for urban forest land resource management and forestation project data processing. The notification of a plurality of policy measures for promoting the healthy development of forestry and promoting the construction of ecological civilization is advanced for realizing the offshore city of 2022-2024, the quality and the management level of forestation projects are improved, the project implementation and management are standardized, and the reasonable use of financial funds is ensured. In order to ensure the construction effect of forestation projects, the market-level check of the projects is enhanced. Market level verification requires a strict third party verification of forestation projects, and comprehensive verification and scoring of project management programs, forestation success (including forestation standards, planting projects, infrastructure, survival rates, soil conditions, forest land management, etc.). The management method and the checking method provide clear requirements for the data processing of forestation projects. The traditional manual processing mode has low efficiency, is easy to make mistakes and is difficult to meet the requirements of a management method and a checking method. The concrete steps are as follows: In the traditional woodland data processing work, the following main problems exist: 1. The data sources are diversified, namely woodland data are derived from a plurality of channels such as field measurement, history files (downloaded from Shanghai city forestation project management system), resource investigation (downloaded from Shanghai city forestation project management system), record recording (downloaded from Shanghai city forestation project management system), and the like, the data format, field definition and space reference standard are not uniform, and a large amount of preprocessing work is needed. 2. The data volume is large and the updating is frequent, namely, as the forest land resources are continuously increased, the number of forest land data elements reaches millions, and the data volume is huge. Meanwhile, in the dynamic change of the woodland resources, the data needs to be updated regularly, and high requirements are put on the processing efficiency. 3. The data quality is uneven, and the data acquired from different sources and at different times have differences in precision and integrity. The field measurement data may have GPS positioning errors, the history data may lack complete attribute information, and the resource data may deviate from the actual one, which all need quality control and verification. 4. The processing flow is complex, the woodland data processing involves a plurality of links including data loading, format conversion, field standardization, topology checking, numbering duplication removal, element combination and the like, each link has specific technical requirements and attention matters, and the traditional manual operation is easy to make mistakes. 5. Different types of woodland (regular woodland, ecological corridor, standardized fruit forest) have different attribute characteristics and management requirements, and different processing rules need to be adopted. For example, ecological galleries require calculation of central points, checking continuity, symbolizing processes, whereas conventional woodlands require a major check of the uniqueness of the numbers and the accuracy of the calculation. 6. The multi-source data fusion is difficult, namely, the problems of overlapping, collision, inconsistency and the like possibly exist among different data sources, intelligent data fusion is needed, and the consistency and the integrity of processing results are ensured. Traditional manual processing approaches have difficulty in efficiently processing these complex data relationships. 7. The quality control is insufficient, the traditional processing mode lacks a quality control mechanism of a system, data errors are difficult to find and repair, and the data quality problem is easy to cause. For example, topology errors (self-intersections, gaps, overlaps, etc.) are difficult to find manually, numbering duplication problems are easily missed, which all affect data quality. 8. The batch processing capability is insufficient, the traditional manual processing mode is low in efficiency and difficult to complete processing tasks in a reasonable time fa