CN114778795A - Soil quality grade determination method and device based on urban layout - Google Patents

Soil quality grade determination method and device based on urban layout Download PDF

Info

Publication number
CN114778795A
CN114778795A CN202210339747.4A CN202210339747A CN114778795A CN 114778795 A CN114778795 A CN 114778795A CN 202210339747 A CN202210339747 A CN 202210339747A CN 114778795 A CN114778795 A CN 114778795A
Authority
CN
China
Prior art keywords
area
layout
soil quality
region
types
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210339747.4A
Other languages
Chinese (zh)
Other versions
CN114778795B (en
Inventor
邓祥征
张帆
吴锋
程伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Institute of Geographic Sciences and Natural Resources of CAS
Original Assignee
Institute of Geographic Sciences and Natural Resources of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Institute of Geographic Sciences and Natural Resources of CAS filed Critical Institute of Geographic Sciences and Natural Resources of CAS
Priority to CN202210339747.4A priority Critical patent/CN114778795B/en
Publication of CN114778795A publication Critical patent/CN114778795A/en
Application granted granted Critical
Publication of CN114778795B publication Critical patent/CN114778795B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N33/00Investigating or analysing materials by specific methods not covered by groups G01N1/00 - G01N31/00
    • G01N33/24Earth materials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches

Landscapes

  • Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Chemical & Material Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Environmental & Geological Engineering (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Artificial Intelligence (AREA)
  • Geology (AREA)
  • Remote Sensing (AREA)
  • General Life Sciences & Earth Sciences (AREA)
  • Food Science & Technology (AREA)
  • Medicinal Chemistry (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a soil quality grade determining method and a soil quality grade determining device based on urban layout.A mode of actually measuring the central position of a fusion area is adopted to reduce soil points which need to be measured by fusing two adjacent areas which are of a building type or a non-building type in the urban layout so as to reduce the workload of field measurement, and the soil quality grade of each area in the urban layout can be accurately obtained and the detection efficiency is improved by evolving to the global according to the area types of the two adjacent areas; the method solves the technical problem that the soil quality in a large range of the whole city can not be classified in the prior art, realizes the classification of the soil quality in the large range of the whole city, and can efficiently determine the soil environment quality of different region types in the whole city.

Description

Soil quality grade determination method and device based on urban layout
Technical Field
The invention relates to the technical field of soil environment monitoring and evaluation, in particular to a soil quality grade determination method, device, medium and terminal equipment based on urban layout.
Background
With the development of urbanization and industrialization, the problem of soil pollution is getting more and more serious. In order to better repair soil and improve soil environment, the soil quality is divided into three levels in the prior art; wherein, one is to protect the natural ecology of the area and maintain the soil quality of the natural background; the second category is to ensure agricultural production and maintain the soil quality of human health; and the third category is soil quality for guaranteeing agriculture and forestry production and normal plant growth. The corresponding hierarchical levels are accurately demarcated for the soil environment of the target area, and the method has important significance for improving the soil environment.
In the prior art, in order to determine the soil quality grade of a target area, data detection is performed in the field according to relevant standard requirements, and the element content of a specific piece of soil is detected, so that the soil quality grade is determined. However, with the development of cities, people often need to evaluate the soil quality grade of the whole city in a large range in order to comprehensively plan the soil environment quality of the whole city. If the previous evaluation mode is adopted, soil collection is carried out on each piece of soil, and the evaluation can be carried out only by obtaining data results through experiments, the processing strategy has low efficiency, a large amount of labor cost is wasted, and along with the increase of the actual operation time, the quality of the actual soil is likely to change before the evaluation result comes out, so that the evaluation significance is lost.
Therefore, a city soil environment quality zoning strategy is needed in the market at present to solve the technical problem that the classification of the soil quality of the whole city in a large range cannot be carried out in the prior art.
Disclosure of Invention
The invention provides a soil quality grade determining method, device, medium and terminal equipment based on city layout, which can efficiently determine soil environment quality of different region types in the whole city for the soil quality grade of the whole city in a large range.
In order to solve the technical problem, an embodiment of the present invention provides a soil quality grade determination method based on urban layout, including:
obtaining a city layout, and carrying out region division on the city layout according to region types to obtain a first layout;
judging the area types of two adjacent areas, fusing the two adjacent areas when the area types of the two adjacent areas are the building type or the non-building type at the same time until the area types of the two adjacent areas are not the building type or the non-building type at the same time after fusion, and obtaining a second layout;
determining the central position of each area in the second layout, and determining the soil quality grade of each central position by carrying out data detection in the field;
according to the actual positions of the central positions in the first layout drawing, taking the soil quality grades of the central positions as the soil quality grades of the corresponding areas in the first layout drawing;
and according to the region types of two adjacent regions in the first layout, carrying out outward evolution by taking the region with the soil quality grade as a center until all the regions determine the respective corresponding soil quality grade.
Preferably, the region types include: a natural protection area, a centralized domestic drinking water source area, a farming area, an ore resource development area and a house construction area; wherein the natural protection area, the centralized domestic drinking water source area and the farming area are of non-building type; the mine resource development area and the building construction area are of building types.
As a preferred scheme, the determining the area types of the two adjacent areas, when the area types of the two adjacent areas are both a building type or a non-building type, fusing the two adjacent areas until the area types of the two adjacent areas are not both a building type or a non-building type after the fusion, and the step of obtaining the second layout specifically includes:
judging the region types of all regions in the first layout drawing;
when the area type of the area belongs to one of a natural protection area, a centralized life drinking water source area or a farming area, marking the area as a non-building type;
when the area type of the area belongs to one of a mine resource development area or a building construction area, marking the area as a building type;
and performing fusion processing on the edges of the two adjacent areas marked as the same type until the two adjacent areas after fusion are of different types to obtain a second layout.
As a preferred scheme, in the step of performing outward evolution with a region having a soil quality grade as a center according to the region types of two adjacent regions in the first layout until all regions determine respective corresponding soil quality grades, the method specifically includes:
and (3) constructing a cellular automata algorithm model, taking the region with the soil quality grade as a central cell, taking the adjacent regions as organizational cells, performing simulated evolution until all the regions determine the respective corresponding soil quality grade, and completing the evolution.
As a preferred scheme, in the step of determining the center position of each region in the second layout diagram, the step specifically includes:
judging the shape of each region in the second layout drawing, and determining the central position of the region according to a regular graphic algorithm when the shape of the region is a regular graphic;
when the shape of the area is an irregular figure, carrying out binarization processing on the irregular figure to obtain the outer contour of the irregular figure, taking the outer contour as the figure edge of the area to convert the area into a regular figure, and determining the central position of the area according to a regular figure algorithm.
As a preferred scheme, after the obtaining the city layout, the method further includes: and preprocessing the city layout.
Preferably, the pretreatment comprises: binarization processing, gray scale processing and filtering processing.
Preferably, after the obtaining the second layout diagram, the method further includes:
establishing a space rectangular coordinate system, and determining coordinate data of each region in the second layout drawing in the space rectangular coordinate system according to the relative position of each region in the second layout drawing;
constructing a network grid in the space rectangular coordinate system, and calculating the area of each region according to the coordinate data of each region;
and when the ratio of the area of any region to the area of the adjacent region reaches a preset threshold value, filtering the region.
Correspondingly, another embodiment of the present invention further provides a soil quality grade determining apparatus based on urban layout, including:
the area division module is used for acquiring a city layout and carrying out area division on the city layout according to area types to obtain a first layout;
the type judging module is used for judging the area types of the two adjacent areas, fusing the two adjacent areas when the area types of the two adjacent areas are the building type or the non-building type at the same time until the area types of the two adjacent areas are not the building type or the non-building type at the same time after fusion, and obtaining a second layout;
the central position module is used for determining the central position of each area in the second layout drawing, and determining the soil quality grade of each central position by performing data detection in the field;
the actual position module is used for taking the soil quality grade of each central position as the soil quality grade of a corresponding area in the first layout drawing according to the actual position of each central position in the first layout drawing;
and the quality grade module is used for performing outward evolution by taking the region with the soil quality grade as a center according to the region types of the two adjacent regions in the first layout until all the regions determine the respective corresponding soil quality grades.
Preferably, the region types include: a natural protection area, a centralized domestic drinking water source area, a farming area, an ore resource development area and a house construction area; wherein the natural protection area, the centralized domestic drinking water source area and the farming area are of a non-building type; and the mine resource development area and the house construction area are of building types.
As a preferred scheme, the type judgment module comprises: the device comprises a type judging unit, a first labeling unit, a second labeling unit and a fusion processing unit, wherein each unit is specifically used for:
a type judgment unit, configured to judge the region types of all the regions in the first layout drawing;
a first labeling unit for labeling the area as a non-building type when the area type of the area belongs to one of a natural conservation area, a centralized drinking water source area or an agricultural cultivation area;
the second labeling unit is used for labeling the area as a building type when the area type of the area belongs to one of a mine resource development area or a house construction area;
and the fusion processing unit is used for performing fusion processing on the edges of the two adjacent areas marked as the same type until the two adjacent areas after fusion are of different types, so as to obtain a second layout diagram.
As a preferred scheme, the quality grade module is specifically configured to: and (3) constructing a cellular automata algorithm model, taking the region with the soil quality grade as a central cell, taking the adjacent regions as organization cells, carrying out simulated evolution until all the regions determine the respective corresponding soil quality grade, and finishing the evolution.
As a preferred scheme, the step of the central position module being configured to determine the central position of each region in the second layout diagram specifically includes:
judging the shape of each region in the second layout drawing, and determining the central position of the region according to a regular graphic algorithm when the shape of the region is a regular graphic; when the shape of the area is an irregular figure, carrying out binarization processing on the irregular figure to obtain the outer contour of the irregular figure, converting the area into a regular figure by taking the outer contour as the figure edge of the area, and determining the central position of the area according to a regular figure algorithm.
Preferably, the method further comprises the following steps: and the preprocessing module is used for preprocessing the city layout after the city layout is obtained.
Preferably, the process of the preprocessing module for preprocessing includes: binarization processing, gray scale processing and filtering processing.
Preferably, the method further comprises the following steps: the error filtering module is used for establishing a space rectangular coordinate system after the second layout diagram is obtained, and determining coordinate data of each region in the second layout diagram in the space rectangular coordinate system according to the relative position of each region in the second layout diagram; constructing a network grid in the space rectangular coordinate system, and calculating the area of each region according to the coordinate data of each region; and when the ratio of the area of any region to the area of the adjacent region reaches a preset threshold value, filtering the region.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program when executed controls an apparatus in which the computer readable storage medium is located to perform the soil quality grade determination method based on urban layout according to any one of the above.
An embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor, when executing the computer program, implements the method for determining soil quality grade based on urban layout according to any one of the above items.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
according to the technical scheme, two adjacent areas which are the same building type or the non-building type in the urban layout are fused, soil points which need to be measured are reduced by actually measuring the center position of the fused area, so that the workload of field measurement is reduced, the soil quality grade of each area in the urban layout can be accurately obtained by global evolution according to the area types of the two adjacent areas, and the detection efficiency is improved; the method solves the technical problem that the soil quality of the whole city in a large range can not be classified in the prior art, realizes the soil quality classification of the whole city in the large range, and can efficiently determine the soil environment quality of different region types in the whole city.
Drawings
FIG. 1: the step flow chart of the soil quality grade determination method based on urban layout provided by the embodiment of the invention is shown;
FIG. 2: the invention provides a schematic structure diagram of a soil quality grade determining device based on urban layout;
FIG. 3: the structure diagram of an embodiment of the terminal device provided by the embodiment of the invention is shown.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Referring to fig. 1, a flow chart of steps of a soil quality grade determining method based on urban layout according to an embodiment of the present invention includes steps S1 to S5, and the steps are as follows:
s1, obtaining a city layout, and carrying out region division on the city layout according to the region type to obtain a first layout. In this embodiment, the region types include: a natural protection area, a centralized living drinking water source area, an agricultural cultivation area, an ore resource development area and a house construction area; wherein the natural protection area, the centralized domestic drinking water source area and the farming area are of a non-building type; and the mine resource development area and the house construction area are of building types.
Specifically, the layout of the city under study may be obtained at a government official website through an internet channel, and similarly, the layout of the city in the target area may also be obtained in advance through other ways. According to the conditions of house distribution, cultivation distribution, natural protection area distribution, mining area distribution and the like in the layout, all areas of the city layout are divided, and a first layout is obtained after the division is completed. In order to better evaluate the soil quality grade in the city, the technical scheme strictly divides each area into a natural protection area, a centralized domestic drinking water source area, a farming area, an ore resource development area, a house construction area and the like according to the relevant standard of the soil quality grade.
And S2, judging the area types of the two adjacent areas, fusing the two adjacent areas when the area types of the two adjacent areas are the building type or the non-building type at the same time until the area types of the two adjacent areas are not the building type or the non-building type at the same time after fusion, and obtaining a second layout.
In this embodiment, the step S2 specifically includes: step S21, determining the region types of all the regions in the first layout drawing; step S22, when the area type of the area belongs to one of a natural protection area, a centralized domestic drinking water source area or a farming area, marking the area as a non-building type; step S23, when the area type of the area belongs to one of the mining resource development area or the building construction area, marking the area as the building type; and step S24, performing fusion processing on the edges of the two adjacent areas marked as the same type until the two adjacent areas after fusion are of different types, and obtaining a second layout.
Specifically, in the step, in order to improve the working efficiency of soil environment quality detection, adjacent areas belonging to the same area type are regarded as a whole, and in subsequent steps, as long as the depocenter position is determined, the adjacent soils belonging to the same area can be regarded as the same soil quality grade. Compared with the prior art, the field detection is not required to be carried out on each area, and only the objective same soil area is required to be detected.
And S3, determining the center position of each area in the second layout, and determining the soil quality grade of each center position by carrying out data detection in the field.
Specifically, after the central position of each fused region is determined, a large number of detection numbers are reduced, the number of regions left in the second layout is small, and the soil quality grade of each fused region can be determined by detecting the region where the determined central position is located in a conventional solid detection data mode.
In this embodiment, the step of determining the center position of each area in the second layout diagram in step S3 specifically includes: judging the shape of each region in the second layout drawing, and determining the central position of each region according to a regular graphic algorithm when the shape of each region is a regular graphic; when the shape of the area is an irregular figure, carrying out binarization processing on the irregular figure to obtain the outer contour of the irregular figure, taking the outer contour as the figure edge of the area to convert the area into a regular figure, and determining the central position of the area according to a regular figure algorithm.
Specifically, in the process of determining the center position according to the present embodiment, any strategy that can determine the center position of the irregular pattern may become one of the specific implementation steps of the present embodiment. In the practical application of the technical scheme, the irregular graph is selected to be subjected to binarization processing, and the processed irregular graph is subjected to edge blurring to form an outer contour. And then, taking the outer contour as the image edge of the area, converting the original irregular image into a regular image, and calculating by using a central position algorithm correspondingly calculated by different regular images.
And S4, according to the actual positions of the central positions in the first layout drawing, taking the soil quality grades of the central positions as the soil quality grades of the corresponding areas in the first layout drawing.
Specifically, the soil quality grade of the area where the center position is located, which is obtained in step S3, is then evolved along other areas where the soil quality grade has not been determined in step S5 according to the actual area where the center position is in the first map, i.e., the soil quality grade of each area in the whole city can be obtained.
S5, according to the area types of two adjacent areas in the first layout, the areas with soil quality grades are used as centers to evolve outwards until all the areas determine the respective corresponding soil quality grades.
In this embodiment, the step S5 specifically includes: and (3) constructing a cellular automata algorithm model, taking the region with the soil quality grade as a central cell, taking the adjacent regions as organization cells, carrying out simulated evolution until all the regions determine the respective corresponding soil quality grade, and finishing the evolution.
Specifically, there are various strategies for performing simulated evolution, and in order to achieve more accurate evolution in the technical scheme, a cellular automaton algorithm model is adopted for evolution. It should be noted that the cellular automata is an evolutionary algorithm model commonly used in the market, and the algorithm model itself is not improved in the technical solution, so that excessive disclosure is not required in the technical solution. In practical applications, the region where the soil quality level can be determined in step S4 is used as a central cell, an undetermined region without the quality level is used as a tissue cell, and simulated evolution is performed from the central cell to a peripheral tissue cell, so that the soil quality level of the undetermined region without the quality level can be determined again.
According to the technical scheme, two adjacent areas, namely building type or non-building type, in the urban layout are fused, soil points which need to be measured are reduced by actually measuring the central position of the fused area, so that the workload of field measurement is reduced, the soil quality grade of each area in the urban layout can be accurately obtained by carrying out global evolution according to the area types of the two adjacent areas, and the detection efficiency is improved; the method solves the technical problem that the soil quality of the whole city in a large range can not be classified in the prior art, realizes the soil quality classification of the whole city in the large range, and can efficiently determine the soil environment quality of different region types in the whole city.
In another embodiment, an improvement is made to any of the above embodiments, and after the obtaining the city layout, the method further includes: and preprocessing the city layout. In this embodiment, the preprocessing includes: binarization processing, gray scale processing and filtering processing.
Specifically, the step of preprocessing in this implementation can process the graph, provide more convenient advantage for the subsequent graph editing, and further improve the practicability of this technical scheme.
In another embodiment, an improvement is made to any of the above embodiments, and after the obtaining of the second layout diagram, the method further includes: step S11: establishing a space rectangular coordinate system, and determining coordinate data of each region in the second layout drawing in the space rectangular coordinate system according to the relative position of each region in the second layout drawing; constructing a network grid in the space rectangular coordinate system, and calculating the area of each region according to the coordinate data of each region; and when the ratio of the area of any region to the area of the adjacent region reaches a preset threshold value, filtering the region.
Specifically, after the second layout is obtained, since there may be some uncertain areas in the city itself, or buildings with very small actual areas, etc., and since there may be other areas different from the area types around these special areas, there may be a great influence on the error of the evolution result in the subsequent evolution process. After the second map is obtained, the soil in the relatively small area needs to be filtered to avoid increasing the error.
Example two
Referring to fig. 2, a schematic structural diagram of a soil quality grade determining device based on urban layout according to an embodiment of the present invention includes: the device comprises a region division module, a type judgment module, a central position module, an actual position module and a quality grade module; the modules are as follows:
the area division module is used for acquiring the city layout map, and carrying out area division on the city layout map according to the area type to obtain a first layout map. In this embodiment, the region types include: a natural protection area, a centralized domestic drinking water source area, a farming area, an ore resource development area and a house construction area; wherein the natural protection area, the centralized domestic drinking water source area and the farming area are of a non-building type; and the mine resource development area and the house construction area are of building types.
And the type judging module is used for judging the area types of the two adjacent areas, fusing the two adjacent areas when the area types of the two adjacent areas are the building type or the non-building type at the same time until the area types of the two adjacent areas are not the building type or the non-building type at the same time after fusion, and obtaining a second layout.
In this embodiment, the type determining module includes: the device comprises a type judgment unit, a first labeling unit, a second labeling unit and a fusion processing unit, wherein each unit is specifically used for: a type judgment unit, configured to judge the region types of all the regions in the first layout drawing; a first labeling unit for labeling the area as a non-building type when the area type of the area belongs to one of a natural conservation area, a centralized drinking water source area or an agricultural cultivation area; the second labeling unit is used for labeling the area as a building type when the area type of the area belongs to one of a mine resource development area or a house construction area; and the fusion processing unit is used for performing fusion processing on the edges of the two adjacent areas marked as the same type until the two adjacent areas after fusion are of different types, so as to obtain a second layout diagram.
And the central position module is used for determining the central position of each area in the second layout diagram, and determining the soil quality grade of each central position by carrying out data detection in the field.
In this embodiment, the step of the center position module being configured to determine the center position of each area in the second layout diagram specifically includes: judging the shape of each region in the second layout drawing, and determining the central position of the region according to a regular graphic algorithm when the shape of the region is a regular graphic; when the shape of the area is an irregular figure, carrying out binarization processing on the irregular figure to obtain the outer contour of the irregular figure, converting the area into a regular figure by taking the outer contour as the figure edge of the area, and determining the central position of the area according to a regular figure algorithm.
And the actual position module is used for taking the soil quality grade of each central position as the soil quality grade of the corresponding area in the first layout drawing according to the actual position of each central position in the first layout drawing.
And the quality grade module is used for performing outward evolution by taking the region with the soil quality grade as a center according to the region types of the two adjacent regions in the first layout until all the regions determine the respective corresponding soil quality grades.
In this embodiment, the quality level module is specifically configured to: and (3) constructing a cellular automata algorithm model, taking the region with the soil quality grade as a central cell, taking the adjacent regions as organizational cells, performing simulated evolution until all the regions determine the respective corresponding soil quality grade, and completing the evolution.
According to the technical scheme, two adjacent areas, namely building type or non-building type, in the urban layout are fused, soil points which need to be measured are reduced by actually measuring the central position of the fused area, so that the workload of field measurement is reduced, the soil quality grade of each area in the urban layout can be accurately obtained by carrying out global evolution according to the area types of the two adjacent areas, and the detection efficiency is improved; the method solves the technical problem that the soil quality in a large range of the whole city can not be classified in the prior art, realizes the classification of the soil quality in the large range of the whole city, and can efficiently determine the soil environment quality of different region types in the whole city.
In another embodiment, an improvement is made on any of the above embodiments, and the soil quality grade determination device based on urban layout provided by the embodiments of the present invention further includes: and the preprocessing module is used for preprocessing the city layout after the city layout is obtained. In this embodiment, the process of the preprocessing module for preprocessing includes: binarization processing, gray scale processing and filtering processing.
The step of preprocessing in the implementation can process the graph, provides more convenient advantage for subsequent graph editing, and further improves the practicability of the technical scheme.
In another embodiment, an improvement is made on any of the above embodiments, and the soil quality grade determination device based on urban layout provided by the embodiments of the present invention further includes: the error filtering module is used for establishing a space rectangular coordinate system after the second layout diagram is obtained, and determining coordinate data of each region in the second layout diagram in the space rectangular coordinate system according to the relative position of each region in the second layout diagram; constructing a network grid in the space rectangular coordinate system, and calculating the area of each region according to the coordinate data of each region; and when the ratio of the area of any region to the area of the adjacent region reaches a preset threshold value, filtering the region.
After the second layout diagram is obtained, because some uncertain areas or buildings with very small actual areas may exist in the city, and because other area soils different from the area types may exist around the special areas, the error influence on the evolution result may be large in the subsequent evolution process. After the second map is obtained, the soil in the relatively small area needs to be filtered to avoid increasing the error.
EXAMPLE III
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program; wherein the computer program, when running, controls the device on which the computer readable storage medium is located to execute the soil quality grade determination method based on urban layout according to any of the above embodiments.
Example four
Referring to fig. 3, a schematic structural diagram of an embodiment of a terminal device according to an embodiment of the present invention is shown, where the terminal device includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the processor implements the soil quality grade determining method based on urban layout according to any of the above embodiments.
Preferably, the computer program may be divided into one or more modules/units (e.g., computer program) that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the terminal device.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, etc., the general purpose Processor may be a microprocessor, or the Processor may be any conventional Processor, the Processor is a control center of the terminal device, and various interfaces and lines are used to connect various parts of the terminal device.
The memory mainly includes a program storage area that may store an operating system, an application program required for at least one function, and the like, and a data storage area that may store related data and the like. In addition, the memory may be a high speed random access memory, may also be a non-volatile memory such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, or may also be other volatile solid state memory devices.
It should be noted that the terminal device may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the terminal device is only an example and does not constitute a limitation of the terminal device, and may include more or less components, or combine some components, or different components.
The above-mentioned embodiments are provided to further explain the objects, technical solutions and advantages of the present invention in detail, and it should be understood that the above-mentioned embodiments are only examples of the present invention and are not intended to limit the scope of the present invention. It should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A soil quality grade determining method based on urban layout is characterized by comprising the following steps:
obtaining a city layout, and carrying out region division on the city layout according to region types to obtain a first layout;
judging the area types of two adjacent areas, fusing the two adjacent areas when the area types of the two adjacent areas are the building type or the non-building type at the same time until the area types of the two adjacent areas are not the building type or the non-building type at the same time after fusion, and obtaining a second layout;
determining the central position of each area in the second layout drawing, and determining the soil quality grade of each central position by performing data detection on the spot;
according to the actual positions of the central positions in the first layout drawing, taking the soil quality grades of the central positions as the soil quality grades of the corresponding areas in the first layout drawing;
and according to the region types of two adjacent regions in the first layout drawing, carrying out outward evolution by taking the region with the soil quality grade as a center until all the regions determine the respective corresponding soil quality grades.
2. The city layout-based soil quality rating method of claim 1, wherein the area types include: a natural protection area, a centralized domestic drinking water source area, a farming area, an ore resource development area and a house construction area; wherein the natural protection area, the centralized domestic drinking water source area and the farming area are of a non-building type; and the mine resource development area and the house construction area are of building types.
3. The method for determining soil quality grade based on urban layout according to claim 2, wherein said step of determining the area types of two adjacent areas, when the area types of two adjacent areas are building type or non-building type at the same time, fusing two adjacent areas until the area types of two adjacent areas are not building type or non-building type at the same time after fusing, and obtaining the second layout specifically comprises:
judging the region types of all regions in the first layout diagram;
when the area type of the area belongs to one of a natural protection area, a centralized life drinking water source area or a farming area, marking the area as a non-building type;
when the area type of the area belongs to one of a mine resource development area or a building construction area, marking the area as a building type;
and performing fusion processing on the edges of the two adjacent areas marked as the same type until the two adjacent areas after fusion are of different types, and obtaining a second layout diagram.
4. The method for determining soil quality levels based on urban layout as claimed in claim 3, wherein the step of evolving outward around the region with soil quality level as the center according to the region types of two adjacent regions in the first layout until all regions determine their respective soil quality levels specifically comprises:
and (3) constructing a cellular automata algorithm model, taking the region with the soil quality grade as a central cell, taking the adjacent regions as organizational cells, performing simulated evolution until all the regions determine the respective corresponding soil quality grade, and completing the evolution.
5. The urban layout-based soil quality grade determination method according to any one of claims 1 to 4, wherein the step of determining the center position of each region in the second layout specifically comprises:
judging the shape of each region in the second layout drawing, and determining the central position of the region according to a regular graphic algorithm when the shape of the region is a regular graphic;
when the shape of the area is an irregular figure, carrying out binarization processing on the irregular figure to obtain the outer contour of the irregular figure, taking the outer contour as the figure edge of the area to convert the area into a regular figure, and determining the central position of the area according to a regular figure algorithm.
6. The city layout-based soil quality grade determination method according to any one of claims 1 to 5, further comprising, after the obtaining of the city layout: and preprocessing the city layout.
7. The urban layout-based soil quality grade determination method according to claim 6, wherein the preprocessing comprises: binarization processing, gray scale processing and filtering processing.
8. A soil quality grade determination device based on urban layout, comprising:
the area division module is used for acquiring a city layout and carrying out area division on the city layout according to area types to obtain a first layout;
the type judging module is used for judging the area types of the two adjacent areas, fusing the two adjacent areas when the area types of the two adjacent areas are the building type or the non-building type at the same time until the area types of the two adjacent areas are not the building type or the non-building type at the same time after fusion, and obtaining a second layout;
the central position module is used for determining the central position of each area in the second layout drawing, and determining the soil quality grade of each central position by performing data detection in the field;
the actual position module is used for taking the soil quality grade of each central position as the soil quality grade of the corresponding area in the first layout drawing according to the actual position of each central position in the first layout drawing;
and the quality grade module is used for carrying out outward evolution by taking the region with the soil quality grade as a center according to the region types of the two adjacent regions in the first layout picture until all the regions determine the respective corresponding soil quality grades.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored computer program; wherein the computer program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the city layout-based soil quality rating method according to any one of claims 1 to 7.
10. A terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor when executing the computer program implementing the city layout-based soil quality rating determination method as claimed in any one of claims 1 to 7.
CN202210339747.4A 2022-04-01 2022-04-01 Soil quality grade determination method and device based on urban layout Expired - Fee Related CN114778795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210339747.4A CN114778795B (en) 2022-04-01 2022-04-01 Soil quality grade determination method and device based on urban layout

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210339747.4A CN114778795B (en) 2022-04-01 2022-04-01 Soil quality grade determination method and device based on urban layout

Publications (2)

Publication Number Publication Date
CN114778795A true CN114778795A (en) 2022-07-22
CN114778795B CN114778795B (en) 2022-11-25

Family

ID=82426457

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210339747.4A Expired - Fee Related CN114778795B (en) 2022-04-01 2022-04-01 Soil quality grade determination method and device based on urban layout

Country Status (1)

Country Link
CN (1) CN114778795B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110320332A1 (en) * 2009-02-05 2011-12-29 Kanitra Paul V Farmland commoditization and contract fulfillment system
CN103514377A (en) * 2013-10-14 2014-01-15 桂林理工大学 Urban agglomeration land environment influence estimation method based on sky-land-biology
CN108875242A (en) * 2018-06-29 2018-11-23 集美大学 A kind of urban cellular automata Scene Simulation method, terminal device and storage medium
CN109374860A (en) * 2018-11-13 2019-02-22 西北大学 A kind of soil nutrient prediction and integrated evaluating method based on machine learning algorithm
CN110348490A (en) * 2019-06-20 2019-10-18 宜通世纪科技股份有限公司 A kind of soil quality prediction technique and device based on algorithm of support vector machine
CN113743659A (en) * 2021-08-24 2021-12-03 中国科学院地理科学与资源研究所 Urban layout prediction method based on component method and Markov cellular automaton and application

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110320332A1 (en) * 2009-02-05 2011-12-29 Kanitra Paul V Farmland commoditization and contract fulfillment system
CN103514377A (en) * 2013-10-14 2014-01-15 桂林理工大学 Urban agglomeration land environment influence estimation method based on sky-land-biology
CN108875242A (en) * 2018-06-29 2018-11-23 集美大学 A kind of urban cellular automata Scene Simulation method, terminal device and storage medium
CN109374860A (en) * 2018-11-13 2019-02-22 西北大学 A kind of soil nutrient prediction and integrated evaluating method based on machine learning algorithm
CN110348490A (en) * 2019-06-20 2019-10-18 宜通世纪科技股份有限公司 A kind of soil quality prediction technique and device based on algorithm of support vector machine
CN113743659A (en) * 2021-08-24 2021-12-03 中国科学院地理科学与资源研究所 Urban layout prediction method based on component method and Markov cellular automaton and application

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高秉博等: "面向土壤环境质量等级划分的统计推断与加密采样优化方法研究综述", 《农业环境科学学报》 *

Also Published As

Publication number Publication date
CN114778795B (en) 2022-11-25

Similar Documents

Publication Publication Date Title
Jiao et al. Multi-order landscape expansion index: Characterizing urban expansion dynamics
CN111028255A (en) Farmland area pre-screening method and device based on prior information and deep learning
CN114663764B (en) Method, device, medium and terminal equipment for zoning soil environment quality of cultivated land
CN110750516B (en) Rainfall analysis model construction method, construction system and analysis method based on radar map
CN110134907B (en) Rainfall missing data filling method and system and electronic equipment
CN115062823A (en) Carbon dioxide emission prediction method and device based on land utilization
CN112700349B (en) Method and device for selecting site of anemometer tower
CN109472002A (en) Concentration distribution of pollutants map generalization method and device
CN112668448B (en) Ecological process change analysis method, device, medium and terminal equipment
CN114998746A (en) Method and system for partitioning cultivated land soil environment quality
CN115457408A (en) Land monitoring method and device, electronic equipment and medium
CN105513051A (en) Point cloud data processing method and device
CN112527442B (en) Environment data multi-dimensional display method, device, medium and terminal equipment
CN116703004B (en) Water system river basin intelligent patrol method and device based on pre-training model
CN114778795B (en) Soil quality grade determination method and device based on urban layout
CN115689382B (en) Method for measuring and calculating urban building energy consumption by utilizing urban form on macro scale
CN111325126A (en) Interpretation method and device of remote sensing image
CN116644886A (en) Method, device, terminal and medium for evaluating transformation value of stock land
CN114676568B (en) Regional geological structure evolution method and device based on cellular automaton
CN114398760A (en) Method for identifying inconsistency of regional vegetation coverage and precipitation relation
CN110751398B (en) Regional ecological quality evaluation method and device
CN114155440A (en) Automatic detection method and system for farmland non-farming
CN113806423A (en) GIS-based power transmission and transformation project environment-friendly detection system and method
Chu et al. Incorporating spatial autocorrelation with neural networks in empirical land-use change models
CN108009510A (en) Security situation analysis method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20221125