Disclosure of Invention
The embodiment of the invention provides a land area maintenance method and device, which can improve maintenance precision for land areas.
A first aspect of the embodiment of the application provides a land area maintenance method, which comprises the following steps:
acquiring the data of the land to be repaired, and performing occupation analysis according to the data of the land to be repaired to generate an occupation analysis result;
Grouping the occupation analysis result according to the ground type code to generate a grouping result, wherein the grouping result comprises a first grouping, a second grouping, a third grouping, a fourth grouping and a fifth grouping;
performing adjustment processing on the occupation analysis result of the first group to generate a first adjustment result;
adding the occupation analysis result of the first group and the occupation analysis result of the second group, and then carrying out the reduction treatment to generate a first reduction result;
calculating according to the first reduction result and the first adjustment result to generate a first calculation result;
Performing adjustment processing according to the first calculation result and the reduction value of the occupation analysis result of the second group to generate a fifth adjustment processing result;
According to the occupation analysis result of the third group and the occupation analysis result of the fourth group, calculating by combining the reduction value of the occupation analysis result of the third group and the reduction value of the occupation analysis result of the fourth group, and correspondingly generating a sixth adjustment processing result and a seventh adjustment processing result;
And carrying out adjustment processing according to the occupation analysis result, the fifth adjustment processing result, the sixth adjustment processing result and the seventh adjustment processing result of the fifth grouping, and then finishing the adjustment processing of the land block data to be adjusted.
In a possible implementation manner of the first aspect, a sixth adjustment processing result is generated, specifically:
Adding the occupation analysis result of the first group, the occupation analysis result of the second group and the occupation analysis result of the third group, and then carrying out a reduction treatment to generate a second reduction result;
calculating according to the second reduction result and the first reduction result to generate a second calculation result;
And carrying out adjustment processing according to the second calculation result and the reduction value of the occupation analysis result of the third group, and generating a sixth adjustment processing result.
In a possible implementation manner of the first aspect, a seventh adjustment processing result is generated, specifically:
Adding the occupation analysis result of the first group, the occupation analysis result of the second group, the occupation analysis result of the third group and the occupation analysis result of the fourth group, and then carrying out a reduction treatment to generate a third reduction result;
calculating according to the third reduction result and the second reduction result to generate a third calculation result;
And carrying out adjustment processing according to the third calculation result and the reduced value of the occupation analysis result of the fourth group, and generating a seventh adjustment processing result.
In a possible implementation manner of the first aspect, the adjustment processing is performed according to the occupation analysis result, the fifth adjustment processing result, the sixth adjustment processing result, and the seventh adjustment processing result of the fifth packet, which specifically is:
Adding the occupation analysis results of the first group, the second group, the third group, the fourth group and the fifth group to generate a first addition result;
adding and processing the fifth adjustment processing result, the sixth adjustment processing result and the seventh adjustment processing result to generate a second adding result;
Subtracting the first addition result from the second addition result to generate a first subtraction result;
and carrying out adjustment processing according to the first subtraction result and the occupation analysis result of the fifth group.
In a possible implementation manner of the first aspect, the first group includes a occupation analysis result of a paddy field, the second group includes occupation analysis results of a watered land and a dry land, the third group includes occupation analysis results of an adjustable land class, the fourth group includes occupation analysis results of a construction land and the fifth group includes occupation analysis results of other land classes.
The second aspect of the embodiment of the application provides a land area maintenance device, which comprises a pressure occupation analysis module, a grouping module, a first adjustment module, a first maintenance module, a first calculation module, a second adjustment module, a second calculation module and a second maintenance module;
The occupation analysis module is used for acquiring the to-be-repaired land block data, carrying out occupation analysis according to the to-be-repaired land block data and generating an occupation analysis result;
the analysis module is used for carrying out grouping processing on the occupation analysis result according to the ground type code to generate a grouping result, wherein the grouping result comprises a first grouping, a second grouping, a third grouping, a fourth grouping and a fifth grouping;
The first adjustment module is used for carrying out adjustment processing on the occupation analysis result of the first group to generate a first adjustment result;
The first reduction module is used for adding the occupation analysis result of the first group and the occupation analysis result of the second group and then carrying out reduction treatment to generate a first reduction result;
the first calculation module is used for calculating according to the first reduction result and the first adjustment result to generate a first calculation result;
The second deviation module is used for performing deviation adjustment processing according to the first calculation result and the reduction value of the occupation analysis result of the second group, and generating a fifth deviation processing result;
The second calculation module is used for calculating according to the occupation analysis result of the third group and the occupation analysis result of the fourth group by combining the reduction value of the occupation analysis result of the third group and the reduction value of the occupation analysis result of the fourth group, and correspondingly generating a sixth adjustment processing result and a seventh adjustment processing result;
the second reduction module is used for finishing reduction processing of the land block data to be reduced after carrying out adjustment processing according to the occupation analysis result, the fifth adjustment processing result, the sixth adjustment processing result and the seventh adjustment processing result of the fifth group.
In a possible implementation manner of the second aspect, a sixth adjustment processing result is generated, specifically:
Adding the occupation analysis result of the first group, the occupation analysis result of the second group and the occupation analysis result of the third group, and then carrying out a reduction treatment to generate a second reduction result;
calculating according to the second reduction result and the first reduction result to generate a second calculation result;
And carrying out adjustment processing according to the second calculation result and the reduction value of the occupation analysis result of the third group, and generating a sixth adjustment processing result.
In a possible implementation manner of the second aspect, a seventh adjustment processing result is generated, specifically:
Adding the occupation analysis result of the first group, the occupation analysis result of the second group, the occupation analysis result of the third group and the occupation analysis result of the fourth group, and then carrying out a reduction treatment to generate a third reduction result;
calculating according to the third reduction result and the second reduction result to generate a third calculation result;
And carrying out adjustment processing according to the third calculation result and the reduced value of the occupation analysis result of the fourth group, and generating a seventh adjustment processing result.
In a possible implementation manner of the second aspect, the adjustment processing is performed according to the occupation analysis result, the fifth adjustment processing result, the sixth adjustment processing result, and the seventh adjustment processing result of the fifth packet, which specifically is:
Adding the occupation analysis results of the first group, the second group, the third group, the fourth group and the fifth group to generate a first addition result;
adding and processing the fifth adjustment processing result, the sixth adjustment processing result and the seventh adjustment processing result to generate a second adding result;
Subtracting the first addition result from the second addition result to generate a first subtraction result;
and carrying out adjustment processing according to the first subtraction result and the occupation analysis result of the fifth group.
In a possible implementation manner of the second aspect, the first group includes a occupation analysis result of a paddy field, the second group includes occupation analysis results of a watered land and a dry land, the third group includes occupation analysis results of an adjustable land class, the fourth group includes occupation analysis results of a construction land and the fifth group includes occupation analysis results of other land classes.
Compared with the prior art, the land occupation area repairing method and device provided by the embodiment of the invention comprise the steps of obtaining land occupation analysis to be repaired, generating a land occupation analysis result according to the land occupation analysis to be repaired, carrying out grouping processing on the land occupation analysis result according to the land occupation analysis to generate a grouping result, wherein the grouping result comprises a first grouping, a second grouping, a third grouping, a fourth grouping and a fifth grouping, carrying out adjustment processing on the land occupation analysis result of the first grouping to generate a first adjustment result, carrying out adjustment processing on the sum of the land occupation analysis result of the first grouping and the land occupation analysis result of the second grouping to generate a first adjustment result, carrying out calculation according to the first adjustment result and the first adjustment result to generate a first calculation result, carrying out adjustment processing on the adjustment result according to the adjustment value of the first calculation result and the land occupation analysis result of the second grouping to generate a fifth adjustment processing result, carrying out adjustment processing according to the occupation analysis result of the third grouping, carrying out adjustment processing on the occupation analysis result of the fourth grouping, carrying out adjustment processing on the corresponding land occupation analysis result according to the adjustment result of the third grouping, carrying out adjustment processing on the occupation analysis result of the fourth grouping, carrying out adjustment processing on the sixth calculation result according to the adjustment result and the adjustment result, and carrying out the adjustment processing result according to the adjustment result after the adjustment processing on the sixth calculation result.
The method has the advantages that the method obtains the to-be-repaired land block data, performs occupation analysis according to the to-be-repaired land block data to generate an occupation analysis result, performs grouping processing on the occupation analysis result according to the land type codes to generate a grouping result, wherein the grouping result comprises a first grouping, a second grouping, a third grouping, a fourth grouping and a fifth grouping, and performs repair processing on the occupation analysis result of the grouping according to the grouping result in sequence. According to the embodiment of the invention, the output land types are grouped and sequenced, the returned data are grouped according to the land types, and each group of pattern data is subjected to data correction after the priority of the land types and the priority of the service are sequenced.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of a method for repairing land areas according to an embodiment of the invention includes S101-S108:
S101, acquiring to-be-repaired land block data, and performing occupation analysis according to the to-be-repaired land block data to generate an occupation analysis result.
In this embodiment, a user's batch of land (i.e., to-be-repaired land data) is used as an input land, and is superimposed with a multi-dimensional business data layer of land type, ownership, county level units, etc. of the land, and the land is subjected to a occupation analysis to obtain basic data of the occupation analysis, where the basic data includes two parts, one part is an original land area of the input land, a land identifier, and the other part is related data of output land original land area and land type data, current data, cultivated land quality data, ownership properties, whether adjustable, etc.
S102, grouping the occupation analysis result according to the ground class code to generate a grouping result, wherein the grouping result comprises a first grouping, a second grouping, a third grouping, a fourth grouping and a fifth grouping.
In this embodiment, the first group includes the occupancy analysis results of paddy fields, the second group includes the occupancy analysis results of waterlands and dry lands, the third group includes the occupancy analysis results of adjustable land types, the fourth group includes the occupancy analysis results of construction lands and the fifth group includes the occupancy analysis results of other land types.
S103, carrying out adjustment processing on the occupation analysis result of the first group to generate a first adjustment result;
And S104, adding the occupation analysis result of the first group and the occupation analysis result of the second group, and then carrying out reduction processing to generate a first reduction result.
And S105, calculating according to the first reduction result and the first adjustment result, and generating a first calculation result.
And S106, carrying out adjustment processing according to the first calculation result and the reduction value of the occupation analysis result of the second group, and generating a fifth adjustment processing result.
And S107, calculating according to the occupation analysis result of the third group and the occupation analysis result of the fourth group by combining the modification value of the occupation analysis result of the third group and the modification value of the occupation analysis result of the fourth group, and correspondingly generating a sixth adjustment processing result and a seventh adjustment processing result.
In this embodiment, the generating a sixth adjustment processing result specifically includes:
Adding the occupation analysis result of the first group, the occupation analysis result of the second group and the occupation analysis result of the third group, and then carrying out reduction treatment to generate a second reduction result;
Calculating according to the second reduction result and the first reduction result to generate a second calculation result;
and carrying out adjustment processing according to the second calculation result and the reduction value of the occupation analysis result of the third group, and generating a sixth adjustment processing result.
In this embodiment, the generating a seventh adjustment processing result specifically includes:
adding the occupation analysis result of the first group, the occupation analysis result of the second group, the occupation analysis result of the third group and the occupation analysis result of the fourth group, and then carrying out a reduction treatment to generate a third reduction result;
calculating according to the third reduction result and the second reduction result to generate a third calculation result;
and carrying out adjustment processing according to the third calculation result and the reduction value of the occupation analysis result of the fourth group, and generating a seventh adjustment processing result.
S108, carrying out adjustment processing according to the occupation analysis result, the fifth adjustment processing result, the sixth adjustment processing result and the seventh adjustment processing result of the fifth grouping, and then finishing the reduction processing of the land block data to be reduced.
In this embodiment, the adjustment processing is performed according to the occupation analysis result of the fifth packet, the fifth adjustment processing result, the sixth adjustment processing result, and the seventh adjustment processing result, and specifically includes:
adding the occupation analysis results of the first group, the second group, the third group, the fourth group and the fifth group to generate a first addition result;
Adding and processing the fifth adjustment processing result, the sixth adjustment processing result and the seventh adjustment processing result to generate a second adding result;
Subtracting the first addition result from the second addition result to generate a first subtraction result;
and carrying out adjustment processing according to the first subtraction result and the occupation analysis result of the fifth group.
In one embodiment, the specific error calculation is as follows:
1) The input original land area is subjected to numerical reduction to obtain a reduced input land area (rr_in_ dkmj).
2) And carrying out numerical value modification on the original occupied surface of the output land block to obtain a modified value, and accumulating the modified land block areas of each land block to obtain the sum (sum_out_ zymj) of the modified land block areas of all the output land blocks.
3) Area error value = input block original area reduction value-summation of individual output block area reduction values (dif_mj).
4) And carrying out adjustment on the area reduction values of the output plots, so that the original area reduction values of the input plots = accumulation of the area reduction values of the output plots.
5) The area error value is integrated into the next cycle calculation.
In a preferred embodiment, a specific repair procedure for land areas is provided, please refer to table 1, table 1 is an exemplary table of land data provided in an embodiment of the present invention.
Table 1 example plot data table
As shown in Table one, the paddy field is judged, the accumulated value of the original accumulated value of the area of the land occupation is 2849 square meters, and no adjustment is made in the case that the accumulated value of the area of each land occupation is identical to the accumulated value of each land occupation. The area units are square meters, and the following are the same.
Then, the total area of other cultivated lands is judged, the sum of the area accumulated value of the original occupied land is 31138, and the sum of the area accumulated value of the original occupied land and the sum of the area accumulated value of the area accumulated land of each land is 31138, and the area accumulated value of the original occupied land is equal to the sum of the area accumulated value of the original occupied land and the area accumulated by other cultivated lands, namely, the total area of cultivated lands is 33987.66, the sum of the area accumulated by other cultivated lands is 33988 (first trimming result), the determined trimming post-land area 2849 (first trimming result) is subtracted, the actual result value is 31139 (first calculating result), and the difference between the actual result value and the trimming pre-land trimming area 31138 (trimming value of the second grouping of the area analyzed result) is 1, so that the difference is needed to be made. As shown in Table 1, according to the sequence from large to small, 1 is added to the land with the largest area, and so on, if the minimum land is finished with one square, the adjustment value is still remained, and the adjustment is restarted from the land with the largest area, so that the cycle is performed.
According to the priority ranking, the adjustable area condition is then judged, (the adjustable area condition is not a type of land which is an attribute attached to other types of land, whether the field of 'land remark' is 'K' in the land pattern data is judged) the total original occupied area and the total area before trimming and after trimming are same as 93523 (trimming value of the third grouping of occupied pressure analysis results), but the paddy field area and other cultivated areas are considered, the original occupied area of the paddy field, the original occupied area of other cultivated areas and the adjustable area are summed together in the same way, the trimming area is 127510 (second trimming result), the determined paddy field area and other cultivated areas 33988 (first trimming result) are subtracted, the actual result value is 93522 (second calculating result), and the trimming area 93523 before trimming and trimming before trimming (trimming value of the third grouping of occupied pressure analysis results) are different by 1 according to the principle, so trimming is required, and the area is reduced by 1 on the largest land block according to the principle, as shown in table 1.
After the adjustment, the original land codes of the land block with the adjustment, such as 021 orchards, need to be recorded, and when the adjustment of the corresponding orchards is related later, the land block needs to be removed first and does not participate in adjustment calculation.
And similarly, judging the conditions of the construction land and other land areas, and directly judging the conditions of the other land areas without occupying the construction land in the example table.
When the condition of the last group area adjustment is judged, the sum of areas after the previous groups of adjustment is directly subtracted from the total area (first addition result) of the input project land parcels (second addition result), a first subtraction result is generated, the first subtraction result is compared with the sum of areas before adjustment of the last group (occupation analysis result of a fifth group), and adjustment is carried out when a difference exists.
In order to further explain the land area reduction device, referring to fig. 2, fig. 2 is a schematic structural diagram of a land area reduction device according to an embodiment of the invention, which includes a occupation analysis module 201, a grouping module 202, a first adjustment module 203, a first reduction module 204, a first calculation module 204, a second adjustment module 205, a second calculation module 206, and a second reduction module 207.
The occupation analysis module 201 is configured to obtain to-be-repaired block data, perform occupation analysis according to the to-be-repaired block data, and generate an occupation analysis result;
the analysis module 202 is configured to perform packet processing on the occupation analysis result according to a ground class code to generate the packet result, where the packet result includes a first packet, a second packet, a third packet, a fourth packet, and a fifth packet;
The first adjustment module 203 is configured to perform adjustment processing on the occupation analysis result of the first packet, and generate a first adjustment result;
The first reduction module 204 is configured to add the occupation analysis result of the first packet and the occupation analysis result of the second packet, and then perform reduction processing to generate a first reduction result;
the first calculation module 205 is configured to calculate according to the first reduction result and the first adjustment result, and generate a first calculation result;
The second adjustment module 206 is configured to perform adjustment processing according to the first calculation result and the reduction value of the occupation analysis result of the second packet, and generate a fifth adjustment processing result;
the second calculation module 207 is configured to calculate, according to the occupation analysis result of the third packet and the occupation analysis result of the fourth packet, by combining a reduction value of the occupation analysis result of the third packet and a reduction value of the occupation analysis result of the fourth packet, and generate a sixth adjustment processing result and a seventh adjustment processing result correspondingly;
the second reduction module 208 is configured to complete reduction processing of the to-be-reduced land parcel data after performing adjustment processing according to the occupation analysis result of the fifth packet, the fifth adjustment processing result, the sixth adjustment processing result, and the seventh adjustment processing result.
In this embodiment, the generating a sixth adjustment processing result specifically includes:
Adding the occupation analysis result of the first group, the occupation analysis result of the second group and the occupation analysis result of the third group, and then carrying out reduction treatment to generate a second reduction result;
Calculating according to the second reduction result and the first reduction result to generate a second calculation result;
and carrying out adjustment processing according to the second calculation result and the reduction value of the occupation analysis result of the third group, and generating a sixth adjustment processing result.
In this embodiment, the generating a seventh adjustment processing result specifically includes:
adding the occupation analysis result of the first group, the occupation analysis result of the second group, the occupation analysis result of the third group and the occupation analysis result of the fourth group, and then carrying out a reduction treatment to generate a third reduction result;
calculating according to the third reduction result and the second reduction result to generate a third calculation result;
and carrying out adjustment processing according to the third calculation result and the reduction value of the occupation analysis result of the fourth group, and generating a seventh adjustment processing result.
In this embodiment, the adjustment processing is performed according to the occupation analysis result of the fifth packet, the fifth adjustment processing result, the sixth adjustment processing result, and the seventh adjustment processing result, and specifically includes:
adding the occupation analysis results of the first group, the second group, the third group, the fourth group and the fifth group to generate a first addition result;
Adding and processing the fifth adjustment processing result, the sixth adjustment processing result and the seventh adjustment processing result to generate a second adding result;
Subtracting the first addition result from the second addition result to generate a first subtraction result;
and carrying out adjustment processing according to the first subtraction result and the occupation analysis result of the fifth group.
In this embodiment, the first group includes the occupancy analysis results of paddy fields, the second group includes the occupancy analysis results of waterlands and dry lands, the third group includes the occupancy analysis results of adjustable land types, the fourth group includes the occupancy analysis results of construction lands and the fifth group includes the occupancy analysis results of other land types.
The method comprises the steps of obtaining to-be-repaired land block data through a land occupation analysis module, carrying out land occupation analysis according to the to-be-repaired land block data to generate a land occupation analysis result, carrying out grouping processing on the land occupation analysis result according to land class codes through the analysis module to generate a grouping result, wherein the grouping result comprises a first grouping, a second grouping, a third grouping, a fourth grouping and a fifth grouping, carrying out adjustment processing on the land occupation analysis result of the first grouping through a first adjustment module to generate a first adjustment result, carrying out adjustment processing on the sum of the land occupation analysis result of the first grouping and the land occupation analysis result of the second grouping through the first adjustment module to generate a first adjustment result, carrying out calculation according to the first adjustment result and the first adjustment result through the first calculation module, generating a first calculation result, carrying out adjustment processing according to the adjustment result of the first calculation result and the adjustment result of the second grouping, generating a fifth adjustment processing result through the second calculation module according to the adjustment result, carrying out adjustment processing on the adjustment result according to the adjustment result of the occupation analysis result of the third grouping and the occupation analysis result of the fourth grouping, carrying out adjustment processing according to the adjustment result of the adjustment result and the adjustment result of the fourth grouping, carrying out adjustment processing on the comparison result according to the adjustment result and the adjustment result after the adjustment result of the adjustment result, and carrying out the adjustment processing result according to the adjustment result of the third adjustment result and the adjustment result.
The method comprises the steps of obtaining to-be-repaired land block data, carrying out occupation analysis according to the to-be-repaired land block data to generate an occupation analysis result, carrying out grouping processing on the occupation analysis result according to land type codes to generate a grouping result, wherein the grouping result comprises a first grouping, a second grouping, a third grouping, a fourth grouping and a fifth grouping, and carrying out repair processing on the occupation analysis result of the grouping according to the grouping result in sequence. According to the embodiment of the invention, the output land types are grouped and sequenced, the returned data are grouped according to the land types, and each group of pattern data is subjected to data correction after the priority of the land types and the priority of the service are sequenced.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.