A data fusion method and system for nautical charts and land charts
By using the relative sampling intervals and weighted distribution density of data points for weighted fitting in the fusion of sea and land map data, combined with the Douglas-Peucker algorithm, the problem of coastline shape distortion in the existing technology is solved, and the efficiency of data fusion is improved. Accuracy and information utilization.
Patent Information
- Application Number
- CN202411002029.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-25
AI Technical Summary
The existing nautical and land map data fusion methods ignore the characteristics of different information amounts of data points at different locations, resulting in important location data points being averaged and easily affected by abnormal points, resulting in coastline shape distortion and reducing the accuracy of data fusion. .
By obtaining the coordinates and depth values of the coastline data points in the chart, the relative sampling interval and weighted distribution density of the data points in the local area are determined. Combined with the smoothness and fitting distance, a weighted fitting method is used to improve the accuracy of coastline fitting. , and combined with the Douglas-Peucker algorithm for simplified processing to remove the influence of redundant data points.
It improves the accuracy and information utilization of coastline fitting, avoids coastline shape distortion, enhances the importance assessment and processing of data points, and ensures high-quality fusion of marine and land map data.
Smart Images

Figure CN118568668B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a data fusion method and system for nautical charts and land charts. Background Art
[0002] In recent years, the marine economy has entered a period of rapid development, and the economic ties between coastal and inland areas have become increasingly close. The integration of land and sea has integrated the relatively isolated land and sea systems into a new unified whole through unified planning and comprehensive management, thus realizing the effective allocation of land and sea resources. The integrated management of land and sea geographic information data can provide the necessary geographic information and spatial positioning basis for the realization of land and sea integration, and the most critical issue in the integrated management of land and sea geographic information data is to realize the data fusion of sea charts and land charts.
[0003] In the existing geographic information system, due to the different data collection specifications and update times of land and sea charts, the data of the same area often have certain geometric position differences. At present, when the industry uses the Douglas-Peucker algorithm to fuse the coastlines with different positions in sea and land charts, the same data fusion method is used for the coastlines of all regions, ignoring the characteristics of different information contained in data points at different locations, resulting in the average processing of data points at important locations, and the coastline fitting process is easily affected by outliers, resulting in the distortion of the shape of the coastline after data fusion, reducing the accuracy of the fusion of sea and land chart data. Summary of the invention
[0004] In order to solve the above technical problems, the purpose of this application is to provide a data fusion method and system for nautical charts and land charts. The technical solutions adopted are as follows:
[0005] In a first aspect, an embodiment of the present application provides a data fusion method for nautical charts and land charts, the method comprising the following steps:
[0006] Get the coordinates and depth values of all data points on the coastline in the nautical chart;
[0007] Any data point on the coastline of the nautical chart is recorded as the central data point, and the local area of the central data point is obtained with the central data point as the center;
[0008] Determine the relative sampling interval of each data point in the local area of each data point according to the average distribution and discrete degree of each data point and its surrounding data points in the local area of each data point;
[0009] Determine the sparse distance of each data point in the local area of each data point according to the distance from each data point to the central data point and the relative sampling interval;
[0010] Determine the weighted distribution density of the central data point in the local area of each data point according to the sparse distance and depth value of all data points in the local area of each data point;
[0011] The line connecting the data point with the smallest sum of the two coordinate components in the local area of each data point and the data point with the largest weighted distribution density is the fitting straight line of the coastline in the local area of each data point;
[0012] Determine the fitting distance of each data point in the local area of each data point according to the distribution of each data point and the fitting straight line in the local area of each data point;
[0013] According to the fusion of the smoothness of the coastline of each data point in the local area of each data point, the fitting distance and the weighted distribution density, the fitting reference degree of the coastline in the local area of each data point is determined to obtain the fitted coastline data and fuse it with the nautical chart and land map data;
[0014] The sparse distance of each data point in the local area of each data point is the product of the distance from each data point to the central data point in the local area of each data point and the relative sampling interval.
[0015] Preferably, the method for determining the relative sampling interval of each data point in the local area of each data point is:
[0016] A preset number of data points closest to each data point in the local area of each data point are recorded as the neighboring data points of each data point in the local area of each data point;
[0017] The relative sampling interval of each data point in the local area of each data point is the result of the fusion of the average value and variance of the distances from each data point to all its neighboring data points in the local area of each data point.
[0018] Preferably, the method for determining the weighted distribution density of the central data point in the local area of each data point is:
[0019] The weighted distribution density of the central data point in the local area of each data point is the result of the fusion of the depth values and the sparse distances of all data points in the local area of each data point.
[0020] Preferably, the process of determining the fitting reference degree of the coastline in the local area of each data point is as follows:
[0021] Analyze the curvature radius of each data point in the local area of each data point, and determine the weighted fitting distance of each data point in the local area of each data point in combination with the fitting distance and weighted distribution density of each data point in the local area of each data point;
[0022] The fitting reference degree of each data point in the local area of each data point is determined based on the weighted fitting distance of all data points in the local area of each data point.
[0023] Preferably, the method for determining the fitting distance of each data point in the local area of each data point is:
[0024] The fitting distance of each data point in the local area of each data point is the distance from each data point in the local area of each data point to the fitting straight line.
[0025] Preferably, the weighted fitting distance of each data point in the local area of each data point is the product of the fitting distance of each data point in the local area of each data point, the radius of curvature and the weighted distribution density.
[0026] Preferably, the fitting reference degree of each data point in the local area of each data point is the average of the weighted fitting distances of all data points in the local area of each data point.
[0027] Preferably, obtaining the fitted coastline data comprises:
[0028] The fitting reference degree of the coastline in the local area of each data point and all data points are used as the input of the Douglas Peucker algorithm, and the data point corresponding to the maximum fitting distance greater than the fitting reference degree in the local area of each data point is obtained, which is recorded as the fitting point;
[0029] The data points in all local areas are traversed, and the lines connecting all the fitting points form the fitted coastline.
[0030] In a second aspect, an embodiment of the present application also provides a data fusion system for nautical charts and land charts, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of any one of the above methods when executing the computer program.
[0031] This application has at least the following beneficial effects:
[0032] The present application calculates the relative sampling interval of the data points according to the distribution of the coastline data points, reflecting the detailed degree of the coastline mapping near the data points; determines the weighted distribution density of the central data point in the local area of each data point according to the distance from all data points to the central data point in the local area of each data point, the relative sampling interval of all data points and the depth value, indicating the reference degree of the data point in the subsequent coastline fitting, increasing the reference degree of the data points with large depth values in the coastline fitting, and improving the accuracy of the subsequent coastline fitting; determines the weighted fitting distance of each data point in the local area of each data point according to the smoothness of the coastline where all data points are located in the local area of each data point, the coordinates of all data points and the weighted distribution density, indicating the importance of the data point to the depiction of the shape of the fitted coastline, improving the utilization rate of the data point information, and removing the influence of redundant data points; determines the fitting reference degree of the coastline in the local area of each data point based on the weighted fitting distance, fits the coastline data points in combination with the contour simplification algorithm, obtains the fitted coastline data file, and avoids the distortion of the coastline shape caused by overfitting while retaining the coastline shape of the nautical chart and the land map, thereby improving the accuracy of the coastline fitting. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0034] Figure 1 A flowchart of the steps of a data fusion method for nautical charts and land charts;
[0035] Figure 2 Extract schematic diagram for fitting reference degree;
[0036] Figure 3 Schematic diagram of the coastline fusion process. DETAILED DESCRIPTION
[0037] In order to further explain the technical means and effects adopted by the present application to achieve the predetermined invention purpose, the following is a detailed description of the data fusion method and system for nautical charts and land charts proposed in accordance with the present application, its specific implementation method, structure, features and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0038] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0039] The following is a detailed description of a specific scheme of a data fusion method and system for nautical charts and land charts provided by the present application in conjunction with the accompanying drawings.
[0040] See also Figure 1 , which shows a flowchart of a data fusion method for sea charts and land charts provided by an embodiment of the present application, the method comprising the following steps:
[0041] Step S1: Extract the coastline data points in the S57 format nautical chart and Shape format land map of the same area and the same scale through ArcGIS software, and read the coordinate data and depth values of the coastline data points of both.
[0042] The coastline data points in the Shape format land map were extracted using ArcGIS software, and the extracted coastline data points were merged into the S57 format nautical chart of the same area and scale. The coastline data points overlapping with the nautical chart were removed, and the coordinate data and depth values of the coastline data points of both were read.
[0043] Step S2: Determine the weighted distribution density of the central data point in the local area of each data point based on the distance from all data points to the central data point in the local area of each data point, the relative sampling interval of all data points and the depth value; determine the fitting reference degree of the coastline in the local area of each data point in combination with the smoothness of the coastline where all data points are located in the local area of each data point and the coordinates of all data points.
[0044] The differences in data collection specifications and update times between nautical charts and land maps lead to problems such as coastline crossing in the image after data fusion, which affects the accuracy of data fusion. At the same time, the shape of the coastline is complex, and random selection and deletion of data points will cause large deviations in the position of the coastline after fitting. It should be processed separately according to the shape change trend of the coastline and the distribution density of the coastline data points.
[0045] S201: Determine the relative sampling interval of each data point in the local area of each data point according to the average distribution and discreteness of each data point and its surrounding data points in the local area of each data point.
[0046] Due to the different importance of coastlines in different regions to production and life, the surveyors have great differences in the number of sampling points for coastline data points in different regions. In areas such as beaches and tidal flats, the shape of the coastline is relatively regular, and the number of sampling points is relatively small; while in locations such as docks and ports, the shape of the coastline is often more complex. At the same time, in order to provide guarantees for near-shore navigation and ship docking, the surveying and mapping of the coastline of docks and ports is relatively detailed, and the number of sampling points is relatively large.
[0047] Therefore, in order to ensure accurate analysis of the shape of the coastline, any data point on the coastline in the nautical chart is recorded as the central data point, and the local area of the central data point is obtained with the central data point as the center. The central data point belongs to one of all the data points on the coastline. In this embodiment, the local area of each data point is a sampling circle with each data point as the center and a preset value as the radius.
[0048] It should be noted that the value of the preset value is artificially set. In this embodiment, the preset value is 0.01 times the width of the chart. The implementer can set it according to the specific situation, and this embodiment does not impose any special restrictions.
[0049] Furthermore, the distance between any two data points in the local area of each data point is analyzed, and a preset number of data points closest to each data point in the local area of each data point are recorded as neighboring data points of each data point in the local area of each data point.
[0050] It should be noted that the value of the preset number is manually set. In this embodiment, the value of the preset number is 5. The implementer can set it according to the specific situation. This embodiment does not impose any special restrictions.
[0051] The relative sampling interval of each data point in the local area of each data point is determined according to the average distribution and dispersion degree of each data point and its surrounding data points in the local area of each data point, specifically:
[0052] The relative sampling interval of each data point in the local area of each data point is the result of the fusion of the average value and variance of the distances from each data point to all its neighboring data points in the local area of each data point.
[0053] It should be understood that fusion refers to combining two or more indicators by adding or multiplying them together in order to obtain a comprehensive indicator, thereby more comprehensively and accurately evaluating a phenomenon or problem. This fusion method is not limited to simple arithmetic operations, but can also include more complex statistical models and analysis methods. The implementer can choose according to the specific situation, and this embodiment does not impose any special restrictions.
[0054] Preferably, as an embodiment of the present application, the relative sampling interval of each data point in the local area of each data point is the product of the average value and the variance of the distance from each data point to all its neighboring data points in the local area of each data point.
[0055] Preferably, as an embodiment of the present application, the relative sampling interval of each data point in the local area of each data point is an exponential function value with a natural constant as the base and the sum of the average and variance of the distances from each data point to all its neighboring data points in the local area of each data point as the independent variable.
[0056] At coastlines with more regular shapes, the distribution of data points is less and more uneven, the mean and standard deviation of the Euclidean distance between a data point and its M nearby data points are larger, the corresponding relative sampling interval of the data points is larger, and the mapping of the nearby coastline is more rough; near coastlines with more complex shapes such as docks and ports, the distribution of data points is more concentrated and the number is larger, the calculated relative sampling interval of the data points is smaller, and the mapping of the nearby coastline is more detailed.
[0057] S202: Determine the weighted distribution density of the central data point in the local area of each data point according to the distances from all data points in the local area of each data point to the central data point, the relative sampling intervals of all data points, and the depth value.
[0058] The difference in the implementation standards of nautical charts and land charts leads to differences in the selection of depth values of data points for the same area of coastline in nautical charts and land charts. Nautical charts are mainly used for ship navigation. To prevent ships from running aground, the depth values of coastline data points near the route in nautical charts are often greater than the depth values of coastline data points in the same area in land charts. Considering that the navigation safety of ships must still be taken into account after the fusion of nautical chart and land chart data, it is necessary to increase the reference degree of data points with large depth values when fitting the coastline, so as to achieve the purpose of "expanding land and shrinking sea" and improve the accuracy of coastline fitting.
[0059] Therefore, by analyzing the distances from all data points to the central data point in the local area of each data point, the relative sampling intervals and depth values of all data points, the weighted distribution density of the central data point in the local area of each data point is determined, and the reference degree of coastline fitting in the nautical chart is further determined, specifically:
[0060] Analyze the product of the distance from each data point to the central data point in the local area of each data point and the relative sampling interval of the data point, and record it as the sparse distance of each data point in the local area of each data point;
[0061] The weighted distribution density of the central data point in the local area of each data point is the result of the fusion of the depth values and the sparse distances of all data points in the local area of each data point.
[0062] Preferably, as an embodiment of the present application, the weighted distribution density of the central data point in the local area of each data point is the cumulative sum of the ratios of the depth values of all data points in the local area of each data point to the sparse distance.
[0063] Preferably, as another embodiment of the present application, the weighted distribution density of the central data point in the local area of each data point is an exponential function value with a natural constant as the base and the cumulative sum of the ratios of the depth values of all data points in the local area of each data point to the sparse distance as the independent variable.
[0064] It should be noted that each data point corresponds to a local area, and the data point at the center of each local area is the central data point. Each data point will become a central data point in a local area in turn, that is, each central data point actually corresponds to a data point on the coastline, and each data point in the local area of each data point will become the central data point of a local area, so by traversing all the data points on the coastline, the weighted distribution density of all the data points on the coastline can be obtained, that is, the process of obtaining the weighted distribution density of each data point in the local area of each data point is actually obtained according to the calculation method of the weighted distribution density of the central data point in the local area of each data point.
[0065] On the one hand, when the data points in the local area are closer to the central data points and the relative sampling interval is smaller, the sparse distance of the data points is smaller, indicating that there are more data points near the center of the local area, the probability of the central data point being at a complex coastline is greater, and the calculated weighted distribution density is greater, reflecting that the central data point has a greater reference degree in the subsequent coastline fitting. On the other hand, when the depth value of the data point in the local area is greater, the probability of the central data point becoming a new coastline data point in the coastline fitting process is greater, and the corresponding weighted distribution density is greater, which increases the reference degree of the data points with large depth values in the coastline fitting and improves the accuracy of the subsequent coastline fitting.
[0066] S203: Determine the fitting reference degree of the coastline in the local area of each data point according to the smoothness of the coastline where all data points are located in the local area of each data point, the coordinates of all data points and the weighted distribution density.
[0067] The coastlines of the nautical chart and the land map intersect with each other, resulting in increased redundancy of local data points. Therefore, the coastline data points are screened according to the weighted distribution density calculated by the above process, and the coastline is fitted section by section:
[0068] The data point with the smallest sum of two coordinate components in the local area of each data point is taken as the fitting starting point, the data point with the largest weighted distribution density in the local area is taken as the fitting end point, and the line connecting the fitting starting point and the fitting midpoint is recorded as the fitting straight line.
[0069] The distance from each data point to the fitting straight line in the local area of each data point is analyzed and recorded as the fitting distance of each data point in the local area of each data point.
[0070] Furthermore, in order to maintain the shape of the coastline in the nautical chart and the land map, improve the utilization of data point information, and remove the influence of redundant data points, the fitting reference degree of the coastline in the local area of each data point is determined according to the smoothness of the coastline where all data points are located in the local area of each data point, the coordinates of all data points and the weighted distribution density, specifically:
[0071] The curvature radius of each data point in the local area of each data point is obtained; the weighted fitting distance of each data point in the local area of each data point is the product of the fitting distance, the curvature radius and the weighted distribution density of each data point in the local area of each data point.
[0072] The fitting reference degree of the coastline in the local area of each data point is the mean of the weighted fitting distances of all data points in the local area of each data point.
[0073] The smaller the radius of curvature of the data point in the local area, the more complex the shape of the coastline near the data point, the richer the geographical information contained, the smaller the corresponding weighted fitting distance, and the greater the importance of depicting the shape of the coastline after fitting. The smaller the fitting distance of the data point, the smaller the redundancy when fitting the coastline here, the smaller the error caused by the coastline fitting, and the smaller the corresponding weighted fitting distance. While retaining the shape of the coastline of the nautical chart and the land map, the influence of redundant data points is removed. In addition, the weighted distribution density of the data point indicates the reference degree of the data point when fitting the coastline, and as the weighted distribution density increases, its reference degree for the coastline fitting will increase significantly.
[0074] Preferably, as an embodiment of the present application, the fitting reference degree extraction schematic diagram is as follows Figure 2 shown.
[0075] Step S3: Based on the fitting reference degree of the coastline in the local area of each data point, the Douglas-Peucker algorithm is combined to realize the fitting of the coastline.
[0076] The data points in the local area of each data point are taken as input, and the Douglas-Peucker algorithm is adopted. The fitting reference degree of the coastline in the local area of each data point is taken as the threshold of the Douglas-Peucker algorithm. When the maximum fitting distance in the local area of each data point is greater than the fitting reference degree, the data point corresponding to the maximum fitting distance is retained and recorded as the fitting point; when the maximum fitting distance in the local area of each data point is less than the fitting reference degree, the data points between the fitting start point and the fitting end point in the local area are discarded.
[0077] At the same time, the fitting end point is used as the new fitting starting point, and the coastline is further fitted according to the above steps until all the data points in the local area of the nautical chart are traversed. The line connecting all the fitting points is the fitting coastline and is saved as a coastline data file.
[0078] The Douglas-Peucker algorithm is a well-known technology, and the specific process of simplifying the contour is not described in detail.
[0079] The coastline data in the S57 format nautical chart and the Shape format land map are deleted respectively by ArcGIS software, and the processed S57 format nautical chart file and Shape format land map file are obtained. The processed nautical chart file and land map file are merged with the coastline data file by ArcGIS software to complete the data fusion of the nautical chart and the land map.
[0080] Preferably, as an embodiment of the present application, the schematic diagram of the coastline fusion process is as follows: Figure 3 shown.
[0081] The above description is intended to enable those skilled in the art to better understand the present invention and is not intended to limit the present invention.
[0082] Based on the same inventive concept as the above method, an embodiment of the present application also provides a data fusion system for nautical charts and land charts, including a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the computer program, the steps of any one of the above-mentioned data fusion methods for nautical charts and land charts are implemented.
[0083] It should be noted that the above sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above is a description of a specific embodiment of this specification. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0084] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0085] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application should be included in the protection scope of the present application.
Claims
1. A data fusion method for nautical charts and land charts, characterized in that: The method comprises the following steps: Get the coordinates and depth values of all data points on the coastline in the nautical chart; Any data point on the coastline of the nautical chart is recorded as the central data point, and the local area of the central data point is obtained with the central data point as the center; Determine the relative sampling interval of each data point in the local area of each data point according to the average distribution and discrete degree of each data point and its surrounding data points in the local area of each data point; Determine the sparse distance of each data point in the local area of each data point according to the distance from each data point to the central data point and the relative sampling interval; Determine the weighted distribution density of the central data point in the local area of each data point according to the sparse distance and depth value of all data points in the local area of each data point; The line connecting the data point with the smallest sum of the two coordinate components in the local area of each data point and the data point with the largest weighted distribution density is the fitting straight line of the coastline in the local area of each data point; Determine the fitting distance of each data point in the local area of each data point according to the distribution of each data point and the fitting straight line in the local area of each data point; According to the fusion of the smoothness of the coastline of each data point in the local area of each data point, the fitting distance and the weighted distribution density, the fitting reference degree of the coastline in the local area of each data point is determined to obtain the fitted coastline data and fuse it with the nautical chart and land map data; The sparse distance of each data point in the local area of each data point is the product of the distance from each data point to the central data point in the local area of each data point and the relative sampling interval.
2. A data fusion method for sea charts and land charts as claimed in claim 1, characterized in that: The method for determining the relative sampling interval of each data point in the local area of each data point is: A preset number of data points closest to each data point in the local area of each data point are recorded as the neighboring data points of each data point in the local area of each data point; The relative sampling interval of each data point in the local area of each data point is the result of the fusion of the average value and variance of the distances from each data point to all its neighboring data points in the local area of each data point.
3. The data fusion method for sea charts and land charts according to claim 1, characterized in that: The method for determining the weighted distribution density of the central data point in the local area of each data point is: The weighted distribution density of the central data point in the local area of each data point is the result of the fusion of the depth values and the sparse distances of all data points in the local area of each data point.
4. The data fusion method for sea charts and land charts according to claim 1, characterized in that: The process of determining the fitting reference degree of the coastline in the local area of each data point is as follows: Analyze the curvature radius of each data point in the local area of each data point, and determine the weighted fitting distance of each data point in the local area of each data point in combination with the fitting distance and weighted distribution density of each data point in the local area of each data point; The fitting reference degree of each data point in the local area of each data point is determined based on the weighted fitting distance of all data points in the local area of each data point.
5. The data fusion method for sea charts and land charts according to claim 1, characterized in that: The method for determining the fitting distance of each data point in the local area of each data point is: The fitting distance of each data point in the local area of each data point is the distance from each data point in the local area of each data point to the fitting straight line.
6. A data fusion method for sea charts and land charts as claimed in claim 4, characterized in that: The weighted fitting distance of each data point in the local area of each data point is the product of the fitting distance of each data point in the local area of each data point, the curvature radius and the weighted distribution density.
7. The data fusion method for sea charts and land charts according to claim 4, characterized in that: The fitting reference degree of each data point in the local area of each data point is the average of the weighted fitting distances of all data points in the local area of each data point.
8. The data fusion method for sea charts and land charts as claimed in claim 5, characterized in that: The method for obtaining the fitted coastline data includes: The fitting reference degree of the coastline in the local area of each data point and all data points are used as the input of the Douglas Peucker algorithm, and the data point corresponding to the maximum fitting distance greater than the fitting reference degree in the local area of each data point is obtained, which is recorded as the fitting point; The data points in all local areas are traversed, and the lines connecting all the fitting points form the fitted coastline.
9. A data fusion system for nautical charts and land charts, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the steps of the data fusion method for nautical charts and land charts as described in any one of claims 1 to 8 are implemented.
Citation Information
Cited By
Shoreline fitting method based on optimized Douglas-Peucker algorithm
CN120673204A
A shore line fitting method based on an optimized douglas-peucker algorithm
CN120673204B
