A method, system, terminal and storage medium for processing linear features
Through the spatial analysis tool, the linear land map pattern is automatically divided, which solves the problem of large workload of cutting and merging linear land map pattern patterns, and achieves more efficient and accurate planning and partitioning, improving the quality of land space planning.
Patent Information
- Application Number
- CN202311210151.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-19
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2043-09-19
AI Technical Summary
In the national land space planning, the cutting and merging of linear land maps is large, the cycle is long and difficult to unify, resulting in the low quality of the results of planning zoning demarcation.
Using spatial analysis tools, we can obtain the results of the land change survey of base-period year, extract the land map and obtain the lines to be extended based on the preset processing method, and cut the line-shaped land map and use tools in Arcgis or Arcgis Pro software such as feature conversion, buffer zone, merge, etc. to realize the automatic segmentation of linear land map map.
It improves the accuracy and rationality of linear land map segmentation, improves work efficiency, and reduces the complexity and time of manual operation.
Smart Images

Figure CN117173198B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of land space planning technology, and in particular to a method, system, terminal and storage medium for processing linear features. Background Art
[0002] Scientifically dividing national land space planning zones is conducive to building a sustainable development spatial pattern that protects the environment and conserves resources, and implementing the rational allocation of urban development and land resources.
[0003] In the current national land space planning and zoning work, after determining the linear features that need to be divided, the editor tools in Arcgis or Arcgis Pro software are generally used to manually crop the linear features into small spots that meet the planning and zoning requirements, and then these cropped small spots are merged one by one with the adjacent non-linear features.
[0004] During planning and zoning demarcation, all linear features within a city or county must be clipped and merged. These numerous linear features often require hundreds or even thousands of clipping and merging operations for each one. Manual clipping and merging is not only labor-intensive and time-consuming, but also difficult to standardize, leading to low-quality planning and zoning demarcation results. Summary of the Invention
[0005] In order to help improve the accuracy and rationality of linear feature segmentation, the present application provides a linear feature processing method, system, terminal and storage medium.
[0006] In the first aspect, the present application provides a method for processing linear features, which adopts the following technical solutions:
[0007] A method for processing linear features, comprising:
[0008] Obtain the results of the land change survey in the base year;
[0009] Based on the survey results, obtaining ground feature patches, wherein the ground feature patches include linear ground feature patches and non-linear ground feature patches;
[0010] Based on the ground feature pattern and a preset processing method, obtaining a line to be extended;
[0011] Based on the line to be extended and the preset processing method, obtaining a linear feature clipping line;
[0012] Based on the linear feature clipping line and the preset processing method, clipping the linear feature pattern, and obtaining the clipped linear feature pattern as a clipped linear feature pattern;
[0013] Based on the clipping linear feature pattern and the preset processing method, a target processing result is obtained.
[0014] By adopting the above technical solution, feature patches are extracted according to their attributes from the land change survey results of the base year, a line to be extended is obtained based on the feature patches and a preset processing method, a linear feature clipping line is obtained based on the line to be extended and the preset processing method, the linear feature patches are clipped based on the preset processing method and the linear feature clipping line, the clipped linear feature patches are obtained as clipped linear feature patches, and finally, the target processing results are obtained based on the clipped linear feature patches and the preset processing method;
[0015] Use spatial analysis tools to realize the automatic segmentation of linear features in national land space planning and zoning, change the current situation of manual segmentation of linear features one by one in traditional planning and zoning, and improve work efficiency as well as the accuracy and rationality of linear feature segmentation.
[0016] Optionally, the preset processing method includes an element-to-line method, a buffer method, a position selection method, an intersection method, and an erasure method; and the specific steps of obtaining the line to be extended based on the feature map and the preset processing method include:
[0017] Based on the linear feature pattern and the element-to-line method, a boundary line of the linear feature pattern is obtained;
[0018] Based on the linear feature pattern boundary line and the buffer method, obtaining the buffered linear feature pattern as a buffer feature pattern;
[0019] Based on the buffered feature patches, the position selection method, and the non-linear feature patches, acquiring the non-linear feature patches adjacent to the linear features as adjacent non-linear feature patches;
[0020] Based on the adjacent non-linear feature patches and the feature-to-line method, a boundary line of the non-linear feature patches adjacent to the linear feature is obtained as an adjacent non-linear boundary line;
[0021] Based on the intersection method, obtaining the intersection of the adjacent non-linear boundary lines and the buffer feature patches as a first set;
[0022] Based on the first set and the erasing method, the line to be extended is obtained.
[0023] By adopting the above technical scheme, the boundary line of the linear feature patch is obtained according to the linear feature patch and the feature conversion method, the buffer feature patch is obtained according to the feature patch boundary line and the buffer method, the adjacent non-linear feature patch is obtained according to the buffer feature patch, the non-linear feature patch and the position selection method, the adjacent non-linear boundary line is obtained based on the adjacent non-linear feature patch and the feature conversion method, and then the first set is obtained according to the intersection method, and the line to be extended is obtained according to the first set.
[0024] Optionally, the specific step of acquiring the non-linear feature patches adjacent to the linear feature as adjacent non-linear feature patches based on the buffer feature patches, the location selection method, and the non-linear feature patches includes:
[0025] The non-linear feature map is used as the target layer, and the buffer feature map is used as the source layer;
[0026] Acquire a target patch based on the location selection method, the target layer, and the source layer;
[0027] The target patch is derived and used as the adjacent non-linear feature patch.
[0028] By adopting the above technical solution, the target patch is obtained according to the location selection method, the target layer and the source layer, and the target patch is used as the adjacent non-linear feature patch.
[0029] Optionally, the preset processing method further includes a centerline extraction method, a merging method, and an extension line method; the specific steps of obtaining a linear feature clipping line based on the line to be extended and the preset processing method include:
[0030] Marking the line to be extended, and obtaining the line to be extended with special attributes as a target line to be extended;
[0031] Based on the centerline extraction method and the boundary line of the linear feature pattern, the centerline of the linear feature is obtained;
[0032] Based on the merging method, obtaining a union of the target line to be extended and the center line of the linear feature as a second set;
[0033] Based on the extension line method and the second set, the linear feature clipping line is obtained.
[0034] By adopting the above technical solution, the target line to be extended is obtained, the center line of the linear feature is obtained according to the center line extraction method and the boundary line of the linear feature pattern, the second set is obtained according to the merging method, and the linear feature clipping line is obtained according to the extension line method and the second set.
[0035] Optionally, the preset processing method includes an element-to-surface method; and the specific steps of clipping the linear feature patch based on the linear feature clipping line and the preset processing method, and obtaining the clipped linear feature patch as the clipped linear feature patch include:
[0036] Based on the merging method, the linear feature pattern boundary line and the linear feature clipping line, obtaining the boundary line of the linear feature pattern after clipping as the linear clipping boundary line;
[0037] Based on the feature-to-surface method and the linear clipping boundary line, obtaining a union of the clipping linear feature patches and redundant patches as a third set;
[0038] Based on the intersection method, obtaining the intersection of the linear feature pattern and the third set as a fourth set;
[0039] Among them, the fourth set contains the clipped linear feature patches.
[0040] By adopting the above technical solution, the linear clipping boundary line is obtained according to the merging method, the linear feature patch boundary line and the linear feature clipping line, the third set is obtained according to the feature conversion method and the linear clipping boundary line, and the fourth set is obtained according to the intersection method, the linear feature patch and the third set. The fourth set contains the clipped linear feature patch.
[0041] Optionally, the preset processing method further includes an elimination method; and the specific steps of obtaining a target processing result based on the clipping of the linear feature pattern and the preset processing method include:
[0042] Based on the merging method, obtaining a union of the non-linear feature patches and the clipped linear feature patches as a fifth set;
[0043] Acquire a target non-linear ground object pattern based on the clipped linear ground object pattern and the non-linear ground object pattern;
[0044] Based on the fifth set and the elimination method, the clipped linear feature patches and the target non-linear feature patches are merged to obtain the target processing result.
[0045] By adopting the above technical solution, a feature set is obtained according to the merging method, target non-linear feature patches are obtained according to the clipped linear feature patches and non-linear feature patches, and according to the fifth set and the elimination method, the clipped linear feature patches and the non-linear feature patches are merged to obtain the target processing result.
[0046] In a second aspect, the present application also discloses a method and system for processing linear features, which adopts the following technical solutions:
[0047] A method and system for processing linear features, comprising:
[0048] The first acquisition module is used to obtain the results of the land change survey in the base year;
[0049] A second acquisition module is configured to acquire ground feature patches based on the survey results, wherein the ground feature patches include linear ground feature patches and non-linear ground feature patches;
[0050] A third acquisition module is used to acquire the line to be extended based on the ground feature patch and a preset processing method;
[0051] A fourth acquisition module, configured to acquire a linear feature clipping line based on the line to be extended and the preset processing method;
[0052] a fifth acquisition module, configured to clip the linear feature pattern based on the linear feature clipping line and the preset processing method, and obtain the clipped linear feature pattern as a clipped linear feature pattern;
[0053] The sixth acquisition module is used to obtain a target processing result based on the clipped linear feature pattern and the preset processing method.
[0054] By adopting the above technical solution, feature patches are extracted according to their attributes from the land change survey results of the base year, a line to be extended is obtained based on the feature patches and a preset processing method, a linear feature clipping line is obtained based on the line to be extended and the preset processing method, the linear feature patches are clipped based on the preset processing method and the linear feature clipping line, the clipped linear feature patches are obtained as clipped linear feature patches, and finally, the target processing results are obtained based on the clipped linear feature patches and the preset processing method;
[0055] Use spatial analysis tools to realize the automatic segmentation of linear features in national land space planning and zoning, change the current situation of manual segmentation of linear features one by one in traditional planning and zoning, and improve work efficiency as well as the accuracy and rationality of linear feature segmentation.
[0056] In a third aspect, the present application provides a computer device that adopts the following technical solution:
[0057] An intelligent terminal comprises a memory and a processor, wherein the memory is used to store a computer program that can be run on the processor, and when the processor loads the computer program, the method of the first aspect is executed.
[0058] By adopting the above technical solution, a computer program is generated based on the method of the first aspect and stored in a memory to be loaded and executed by a processor, thereby making an intelligent terminal based on the memory and the processor, which is convenient for users to use.
[0059] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0060] A computer-readable storage medium stores a computer program, and when the computer program is loaded by a processor, the method of the first aspect is executed.
[0061] By adopting the above technical solution, a computer program is generated based on the method of the first aspect and stored in a computer-readable storage medium so as to be loaded and executed by a processor. The computer-readable storage medium facilitates the readability and storage of the computer program.
[0062] In summary, this application has the following beneficial technical effects:
[0063] Extracting feature patches according to attributes from the base year land change survey results, obtaining a line to be extended based on the feature patches and a preset processing method, then obtaining a linear feature clipping line based on the line to be extended and the preset processing method, clipping the linear feature patches based on the preset processing method and the linear feature clipping line, obtaining the clipped linear feature patches as clipped linear feature patches, and finally obtaining a target processing result based on the clipped linear feature patches and the preset processing method;
[0064] Use spatial analysis tools to realize the automatic segmentation of linear features in national land space planning and zoning, change the current situation of manual segmentation of linear features one by one in traditional planning and zoning, and improve work efficiency as well as the accuracy and rationality of linear feature segmentation. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 This is a main flow chart of a method for processing linear features according to an embodiment of the present application;
[0066] Figure 2 is a flowchart of steps S201 to S206;
[0067] Figure 3 is a flowchart of steps S301 to S303;
[0068] Figure 4 is a flowchart of steps S401 to S404;
[0069] Figure 5 is a flowchart of steps S501 to S503;
[0070] Figure 6 is a flowchart of steps S601 to S603;
[0071] Figure 7 It is a schematic diagram of cutting linear land feature patches;
[0072] Figure 8 This is a module diagram of a method system for processing linear features in an embodiment of the present application.
[0073] Description of reference numerals:
[0074] 1. First acquisition module; 2. Second acquisition module; 3. Third acquisition module; 4. Fourth acquisition module; 5. Fifth acquisition module; 6. Sixth acquisition module. DETAILED DESCRIPTION
[0075] In a first aspect, the present application discloses a method for processing linear features.
[0076] Reference Figure 1 and Figure 7 A method for processing linear features includes steps S101 to S106:
[0077] Step S101: Obtain the results of the land change survey in the base year.
[0078] Specifically, in this embodiment, the base year is the planning base year, which is the basic year cited in the planning compilation materials and the year for selecting the current status parameters of the planning social, economic and technical indicators; the land change survey refers to the investigation of changes in land use rights, including investigations on land use, land area and land ownership.
[0079] Step S102: Based on the survey results, obtain ground feature patches, which include linear ground feature patches and non-linear ground feature patches.
[0080] Specifically, land features refer to the general term for various tangible objects (such as mountains, forests, buildings, etc.) and intangible objects (such as provincial and county boundaries, etc.) on the ground, and generally refer to relatively fixed objects on the surface of the earth; map patches refer to plots of land of a single land type and plots of land of a single land type divided by survey boundaries or land ownership boundaries such as administrative districts, towns and villages; in this embodiment, land feature patches include linear land feature patches and non-linear land feature patches.
[0081] In this embodiment, based on the results of the land change survey in the base year, all map patches with land category codes of 1001 (railway land), 1002 (rail transit land), 1003 (highway land), 1004 (urban and village road land), 1006 (rural roads), 1009 (pipeline transportation land), and 1107 (ditches) are extracted by attributes and become linear feature patches; based on the results of the land change survey in the base year, all map patches with land category codes other than 1001 (railway land), 1002 (rail transit land), 1003 (highway land), 1004 (urban and village road land), 1006 (rural roads), 1009 (pipeline transportation land), and 1107 (ditches) are extracted by attributes and become non-linear feature patches.
[0082] Step S103: Based on the ground feature patch and a preset processing method, the line to be extended is obtained.
[0083] Specifically, the preset processing method is a pre-set method for processing ground feature patches. In this embodiment, the preset processing method includes a feature conversion method, a buffer method, a position selection method, an intersection method, an erasing method, a centerline extraction method, a merging method, an extension line method, a feature conversion method, and an elimination method, etc.; it is worth noting that the processing of map patches in this embodiment is based on software such as Arcgis or Arcgis Pro, so each method included in the preset processing method in this embodiment corresponds to an application tool of software such as Arcgis or Arcgis Pro, for example, the feature conversion method corresponds to the feature conversion tool, and the buffer method corresponds to the buffer tool; the line to be extended is the line that needs to be extended.
[0084] Step S104: Based on the line to be extended and a preset processing method, a linear feature clipping line is obtained.
[0085] Specifically, in this embodiment, the linear feature clipping line is a standard line used to clip the linear feature pattern.
[0086] Step S105: based on the linear feature clipping line and the preset processing method, the linear feature pattern is clipped, and the clipped linear feature pattern is obtained as the clipped linear feature pattern.
[0087] Specifically, in this embodiment, the clipped linear feature patches are clipped linear feature patches.
[0088] Step S106: Obtain target processing results based on the clipped linear feature patches and a preset processing method.
[0089] Specifically, in this embodiment, the target processing result is the result finally generated through the above processing process after eliminating the linear ground feature patches.
[0090] The method for processing linear features provided in this embodiment extracts feature patches according to attributes from the land change survey results in the base year, obtains the line to be extended based on the feature patches and a preset processing method, then obtains the linear feature clipping line based on the line to be extended and the preset processing method, clips the linear feature patches based on the preset processing method and the linear feature clipping line, obtains the clipped linear feature patches as the clipped linear feature patches, and finally obtains the target processing results based on the clipped linear feature patches and the preset processing method.
[0091] Use spatial analysis tools to realize the automatic segmentation of linear features in national land space planning and zoning, change the current situation of manual segmentation of linear features one by one in traditional planning and zoning, and improve work efficiency as well as the accuracy and rationality of linear feature segmentation.
[0092] Reference Figure 2 In one implementation of this embodiment, step S103 includes steps S201 to S206 for obtaining the line to be extended based on the ground feature map and the preset processing method:
[0093] Step S201: Based on the linear feature patches and the feature-to-line conversion method, the boundary lines of the linear feature patches are obtained.
[0094] Specifically, in this embodiment, the linear feature patch is input through the feature-to-line tool, and its boundary line is extracted to obtain the linear feature patch boundary line.
[0095] Step S202: Based on the linear feature patch boundary line and the buffer method, a buffered linear feature patch is obtained as a buffer feature patch.
[0096] Specifically, through the buffer tool, the linear feature map is used as the input element as the buffer to obtain the buffered linear feature map. The buffer distance should not be too large. In this embodiment, the buffer distance can be set to 0.2m to 0.5m.
[0097] Step S203: Based on the buffered feature patches, the location selection method, and the non-linear feature patches, non-linear feature patches adjacent to the linear feature are obtained as adjacent non-linear feature patches.
[0098] Specifically, in this embodiment, the adjacent non-linear feature patches are non-linear feature patches adjacent to the linear features.
[0099] Step S204: Based on the adjacent non-linear feature patches and the feature-to-line method, the boundary lines of the non-linear feature patches adjacent to the linear feature are obtained as adjacent non-linear boundary lines.
[0100] Specifically, in this embodiment, adjacent non-linear feature patches are input through the feature-to-line tool, and their boundary lines are extracted to obtain the boundary lines of non-linear feature patches adjacent to the linear features, that is, adjacent non-linear boundary lines.
[0101] Step S205: Based on the intersection method, the intersection of adjacent non-linear boundary lines and buffer feature patches is obtained as the first set.
[0102] Specifically, in this embodiment, the intersection tool is used to simultaneously input adjacent non-linear boundary lines and buffer feature patches, and the intersection of the two is taken to obtain a first set. In this embodiment, the first set is the set obtained after the extension line ∩ the linear feature patch boundary line.
[0103] Step S206: Based on the first set and the erasing method, obtain the line to be extended.
[0104] Specifically, in this embodiment, the erasing tool is used, with the first set as the input element and the linear feature pattern boundary line as the erasing element, to erase the linear feature pattern boundary line in the input element to obtain the line to be extended.
[0105] The method for processing linear features provided in this embodiment obtains the boundary line of linear feature patches based on the linear feature patches and the feature conversion method, obtains the buffer feature patches based on the feature patch boundary line and the buffer method, obtains adjacent non-linear feature patches based on the buffer feature patches, non-linear feature patches and the position selection method, obtains adjacent non-linear boundary lines based on the adjacent non-linear feature patches and the feature conversion method, obtains the first set based on the intersection method, and obtains the line to be extended based on the first set.
[0106] Reference Figure 3 In one implementation of this embodiment, step S203 includes the following steps: obtaining non-linear feature patches adjacent to the linear feature as adjacent non-linear feature patches based on the buffer feature patches, the location selection method, and the non-linear feature patches:
[0107] Step S301: The non-linear feature patches are used as the target layer, and the buffer feature patches are used as the source layer.
[0108] Specifically, in this embodiment, the target layer is the non-linear feature patch, and the source layer is the buffer feature patch.
[0109] Step S302: Obtain a target patch based on the location selection method, the target layer, and the source layer.
[0110] Specifically, in this embodiment, a spot in the target layer that intersects with the source layer is selected as the target spot by using the position selection tool.
[0111] Step S303: exporting the target patch and using the target patch as the adjacent non-linear feature patch.
[0112] Specifically, in this embodiment, the target patch is derived to obtain a non-linear feature patch adjacent to the linear feature. In this embodiment, the non-linear feature patch adjacent to the linear feature is the adjacent non-linear feature patch.
[0113] The method for processing linear features provided in this embodiment obtains target patches according to the location selection method, the target layer and the source layer, and uses the target patches as adjacent non-linear feature patches.
[0114] Reference Figure 4 In one implementation of this embodiment, step S104 includes the following steps: obtaining a linear feature clipping line based on the line to be extended and a preset processing method; and obtaining the linear feature clipping line includes steps S401 to S404:
[0115] Step S401: Mark the lines to be extended, and obtain the lines to be extended with special attributes as target lines to be extended.
[0116] Specifically, a field is added to the line to be extended and a value is assigned to distinguish the line to be extended from other line segments to obtain a target line to be extended. In this embodiment, the target line to be extended is a line to be extended with special attributes.
[0117] Step S402: Based on the centerline extraction method and the boundary line of the linear feature pattern, the centerline of the linear feature is obtained.
[0118] Specifically, in this embodiment, the center line of the linear feature is obtained by using the center line extraction tool and inputting the boundary line of the linear feature patch to extract its center line.
[0119] Step S403: Based on the merging method, a union of the target line to be extended and the center line of the linear feature is obtained as a second set.
[0120] Specifically, through the merge tool, the target line to be extended and the center line of the linear feature are input simultaneously, and the union of the two is taken to obtain the second set. In this embodiment, the second set is the set obtained after the target line to be extended ∩ the center line of the linear feature.
[0121] Step S404: Based on the extension line method and the second set, obtain the linear feature clipping line.
[0122] Specifically, in this embodiment, the second set is input through the extension line tool, and the line to be extended is extended to the center line of the linear feature to obtain the linear feature clipping line.
[0123] The method for processing linear features provided in this embodiment obtains the target line to be extended, obtains the center line of the linear feature based on the center line extraction method and the boundary line of the linear feature pattern, obtains the second set based on the merging method, and obtains the linear feature clipping line based on the extension line method and the second set.
[0124] Reference Figure 5In one implementation of this embodiment, step S105 clips the linear feature pattern based on the linear feature clipping line and the preset processing method, and obtains the clipped linear feature pattern as the clipped linear feature pattern. The specific steps include steps S501 to S503:
[0125] Step S501: Based on the merging method, the boundary line of the linear feature patch and the linear feature clipping line, the boundary line of the linear feature patch after clipping is obtained as the linear clipping boundary line.
[0126] Specifically, in this embodiment, the linear feature map boundary line and the linear feature clipping line are input simultaneously through the merging tool, and the two are merged to obtain a linear clipping boundary line. In this embodiment, the linear clipping boundary line is the boundary line after the linear feature map is clipped.
[0127] Step S502: Based on the feature-to-surface method and the linear clipping boundary line, a union of the clipping linear feature patches and the redundant patches is obtained as a third set.
[0128] Specifically, in this embodiment, the linear clipping boundary line is input through the feature-to-surface tool, and the line layer is converted into a surface layer to obtain the set obtained after the clipped linear feature patch ∪ redundant patch, that is, the third set; in this embodiment, the redundant patch is the patch that exceeds the scope of the linear feature patch.
[0129] Step S503: Based on the intersection method, obtain the intersection of the linear feature patches and the third set as the fourth set.
[0130] Specifically, the linear feature patches and the third set are input simultaneously through the intersection tool, and the intersection of the two is taken to obtain the fourth set. In this embodiment, the fourth set contains the cropped linear feature patches.
[0131] The method for processing linear features provided in this embodiment obtains a linear clipping boundary line based on a merging method, a linear feature patch boundary line, and a linear feature clipping line; obtains a third set based on an element-to-surface method and a linear clipping boundary line; obtains a fourth set based on an intersection method, linear feature patches, and the third set; the fourth set contains clipped linear feature patches.
[0132] Reference Figure 6 In one implementation of this embodiment, step S106 is based on clipping the linear feature pattern and the preset processing method, and the specific steps of obtaining the target processing result include steps S601 to S603:
[0133] Step S601: Based on the merging method, a union of non-linear feature patches and cropped linear feature patches is obtained as a fifth set.
[0134] Specifically, through the merging tool, non-linear feature patches and clipped linear feature patches are input simultaneously, and the union of the two is taken to obtain the set obtained after clipping linear feature patches ∪ non-current feature patches. In this embodiment, the set obtained after clipping linear feature patches ∪ non-current feature patches is the fifth set.
[0135] Step S602: obtaining target non-linear ground feature patches based on clipping the linear ground feature patches and the non-linear ground feature patches.
[0136] Step S603: Based on the fifth set and the elimination method, the clipped linear feature patches are merged with the target non-linear feature patches to obtain the target processing result.
[0137] Specifically, in this embodiment, the fifth set is input through the elimination tool to eliminate the cropped linear feature patches and merge them into the adjacent non-linear feature patches with the longest common boundary to obtain the final processing result; it is worth noting that in this embodiment, the elimination operation cannot be performed between different layers, so the cropped linear feature patches cannot be merged with the adjacent non-linear feature patches with the longest common boundary, so before eliminating the cropped linear feature patches, the non-linear feature patches and the cropped linear feature patches need to be merged into a unified layer.
[0138] The method for processing linear features provided in this embodiment obtains a feature set according to a merging method, obtains target non-linear feature patches according to clipping linear feature patches and non-linear feature patches, and merges the clipped linear feature patches with the non-linear feature patches according to the fifth set and the elimination method, thereby obtaining a target processing result.
[0139] In a second aspect, the present application also discloses a method system for processing linear features.
[0140] Reference Figure 8 , a linear feature processing method system, comprising:
[0141] The first acquisition module 1 is used to obtain the results of the land change survey in the base year;
[0142] The second acquisition module 2 is used to acquire ground feature patches based on the survey results, where the ground feature patches include linear ground feature patches and non-linear ground feature patches;
[0143] The third acquisition module 3 is used to acquire the line to be extended based on the ground feature patch and the preset processing method;
[0144] A fourth acquisition module 4 is configured to acquire a linear feature clipping line based on the line to be extended and a preset processing method;
[0145] A fifth acquisition module 5 is configured to clip the linear feature pattern based on the linear feature clipping line and a preset processing method, and obtain the clipped linear feature pattern as a clipped linear feature pattern;
[0146] The sixth acquisition module 6 is used to obtain the target processing result based on the clipping of the linear feature pattern and the preset processing method.
[0147] On the third aspect, an embodiment of the present application discloses an intelligent terminal, including a memory and a processor, wherein the memory is used to store a computer program that can be run on the processor, and when the processor loads the computer program, it executes a method for processing linear features of the above embodiment.
[0148] In a fourth aspect, an embodiment of the present application discloses a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium, wherein when the computer program is loaded by a processor, a method for processing linear features of the above embodiment is executed.
[0149] The above are all preferred embodiments of the present application, and are not intended to limit the scope of protection of the present application. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the scope of protection of the present application.
Claims
1. A method for processing linear features, characterized in that: include: Obtain the results of the land change survey in the base year; Based on the survey results, obtaining ground feature patches, wherein the ground feature patches include linear ground feature patches and non-linear ground feature patches; Based on the ground feature pattern and a preset processing method, obtaining a line to be extended; Based on the line to be extended and the preset processing method, obtaining a linear feature clipping line; Based on the linear feature clipping line and the preset processing method, clipping the linear feature pattern, and obtaining the clipped linear feature pattern as a clipped linear feature pattern; Based on the clipping linear feature pattern and the preset processing method, obtaining a target processing result; The preset processing methods include a feature-to-line method, a buffer method, a location selection method, an intersection method, and an erasure method; and the specific steps of obtaining the line to be extended based on the feature map and the preset processing method include: Based on the linear feature pattern and the element-to-line method, a boundary line of the linear feature pattern is obtained; Based on the linear feature pattern boundary line and the buffer method, obtaining the buffered linear feature pattern as a buffer feature pattern; Based on the buffered feature patches, the position selection method, and the non-linear feature patches, acquiring the non-linear feature patches adjacent to the linear features as adjacent non-linear feature patches; Based on the adjacent non-linear feature patches and the feature-to-line method, a boundary line of the non-linear feature patches adjacent to the linear feature is obtained as an adjacent non-linear boundary line; Based on the intersection method, obtaining the intersection of the adjacent non-linear boundary lines and the buffer feature patches as a first set; Based on the first set and the erasing method, obtaining the line to be extended; The preset processing method further includes a centerline extraction method, a merging method, and an extension line method; the specific steps of obtaining a linear feature clipping line based on the line to be extended and the preset processing method include: Marking the line to be extended, and obtaining the line to be extended with special attributes as a target line to be extended; Based on the centerline extraction method and the boundary line of the linear feature pattern, the centerline of the linear feature is obtained; Based on the merging method, obtaining a union of the target line to be extended and the center line of the linear feature as a second set; Based on the extension line method and the second set, the linear feature clipping line is obtained.
2. A method for processing linear features according to claim 1, characterized in that: The specific steps of acquiring the non-linear feature patches adjacent to the linear feature as adjacent non-linear feature patches based on the buffer feature patches, the position selection method, and the non-linear feature patches include: The non-linear feature map is used as the target layer, and the buffer feature map is used as the source layer; Acquire a target patch based on the location selection method, the target layer, and the source layer; The target patch is derived and used as the adjacent non-linear feature patch.
3. The method for processing linear features according to claim 1, wherein: The preset processing method includes an element-to-surface method; the specific steps of clipping the linear feature patch based on the linear feature clipping line and the preset processing method, and obtaining the clipped linear feature patch as the clipped linear feature patch include: Based on the merging method, the linear feature pattern boundary line and the linear feature clipping line, obtaining the boundary line of the linear feature pattern after clipping as the linear clipping boundary line; Based on the feature-to-surface method and the linear clipping boundary line, obtaining a union of the clipping linear feature patches and redundant patches as a third set; Based on the intersection method, obtaining the intersection of the linear feature pattern and the third set as a fourth set; Among them, the fourth set contains the clipped linear feature patches.
4. The method for processing linear features according to claim 1, wherein: The preset processing method further includes an elimination method; the specific steps of obtaining a target processing result based on the clipping linear feature pattern and the preset processing method include: Based on the merging method, obtaining a union of the non-linear feature patches and the clipped linear feature patches as a fifth set; Acquire a target non-linear ground object pattern based on the clipped linear ground object pattern and the non-linear ground object pattern; Based on the fifth set and the elimination method, the clipped linear feature patches and the target non-linear feature patches are merged to obtain the target processing result.
5. A method and system for processing linear features, characterized in that: include: The first acquisition module (1) is used to obtain the results of the land change survey in the base year; A second acquisition module (2) is used to acquire ground feature patches based on the survey results, wherein the ground feature patches include linear ground feature patches and non-linear ground feature patches; A third acquisition module (3) is used to acquire the line to be extended based on the ground feature patch and a preset processing method; A fourth acquisition module (4) is used to acquire a linear feature clipping line based on the line to be extended and the preset processing method; A fifth acquisition module (5) is configured to clip the linear feature pattern based on the linear feature clipping line and the preset processing method, and obtain the clipped linear feature pattern as a clipped linear feature pattern; A sixth acquisition module (6) is used to acquire a target processing result based on the clipped linear feature pattern and the preset processing method; The preset processing methods include a feature-to-line method, a buffer method, a location selection method, an intersection method, and an erasure method; and the specific steps of obtaining the line to be extended based on the feature map and the preset processing method include: Based on the linear feature pattern and the element-to-line method, a boundary line of the linear feature pattern is obtained; Based on the linear feature pattern boundary line and the buffer method, obtaining the buffered linear feature pattern as a buffer feature pattern; Based on the buffered feature patches, the position selection method, and the non-linear feature patches, acquiring the non-linear feature patches adjacent to the linear features as adjacent non-linear feature patches; Based on the adjacent non-linear feature patches and the feature-to-line method, a boundary line of the non-linear feature patches adjacent to the linear feature is obtained as an adjacent non-linear boundary line; Based on the intersection method, obtaining the intersection of the adjacent non-linear boundary lines and the buffer feature patches as a first set; Based on the first set and the erasing method, obtaining the line to be extended; The preset processing method further includes a centerline extraction method, a merging method, and an extension line method; the specific steps of obtaining a linear feature clipping line based on the line to be extended and the preset processing method include: Marking the line to be extended, and obtaining the line to be extended with special attributes as a target line to be extended; Based on the centerline extraction method and the boundary line of the linear feature pattern, the centerline of the linear feature is obtained; Based on the merging method, obtaining a union of the target line to be extended and the center line of the linear feature as a second set; Based on the extension line method and the second set, the linear feature clipping line is obtained.
6. An intelligent terminal, comprising a memory and a processor, characterized in that: The memory is used to store a computer program that can be run on the processor, and when the processor loads the computer program, it executes the method according to any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program, wherein: When the computer program is loaded into a processor, the method according to any one of claims 1 to 4 is executed.
Citation Information
Patent Citations
Land area acquisition method and device and storage medium
CN111858791A
Method, device and equipment for processing linear ground feature data on road
CN116067362A