A GIS data conversion method and system
By performing point clustering and deviation analysis on GIS data, dynamically adjusting the tolerance threshold, solving the problems of low GIS data rendering efficiency and insufficient accuracy, and achieving efficient and simplified conversion on the mobile terminal.
Patent Information
- Application Number
- CN202411103083.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-13
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-08-13
AI Technical Summary
The prior art is in the loading of rendering GIS data, because the mobile device processor does not have strong floating-point computing capabilities, resulting in low rendering efficiency. Moreover, the fixed tolerance threshold in the traditional Douglas-Peucker algorithm is difficult to balance and simplify and precision, which can easily lead to oversimplification. or details are lost.
By dividing GIS data into point cluster clusters, analyzing the change trend and distance distribution of coordinate points, calculating spatial deviation degree and direction deviation degree, determining the elevation line deviation coefficient and visual sensitivity index, dynamically adjusting the tolerance threshold, combining polygons Curve simplification algorithm performs GIS data conversion.
It improves the simplification accuracy and discrimination ability of GIS data, avoids the problems of insufficient flat parts and excessive detail parts in traditional algorithms, and achieves maximum data simplification while meeting the accuracy.
Smart Images

Figure CN118626580B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a GIS data conversion method and system. Background Art
[0002] GIS data (Geographic Information System) is a specific type of data used in geographic information systems. It integrates computer systems and is used to store, analyze and display object models and spatial locations. It has a wider application prospect in architectural models, urban planning, transportation planning, etc. Since GIS data contains rich model attribute information, the existing technology will be stuck when directly loading and rendering the OSGB file (Open Scene Graph Binary) of GIS data, and it cannot be rendered smoothly. The main reason is that the processor of the mobile device does not have powerful floating-point computing capabilities. Therefore, in order to improve the rendering efficiency and user experience of the mobile terminal, it is necessary to optimize and compress the GIS data.
[0003] GIS data is usually stored in the form of point sets, and a single line is represented by a series of coordinate points. Therefore, the more points there are, the higher the accuracy of the representation. In the traditional Douglas-Peucker algorithm, a fixed tolerance threshold needs to be set, and the maximum vertical distance that can be tolerated during the simplification process is limited by the tolerance threshold. However, a fixed tolerance threshold is prone to over-simplification and loss of details. Although it reduces the amount of point set data, it also reduces the data accuracy. Summary of the invention
[0004] In order to solve the above technical problems, the purpose of this application is to provide a GIS data conversion method and system. The technical solutions adopted are as follows:
[0005] In a first aspect, an embodiment of the present application provides a GIS data conversion method, the method comprising the following steps:
[0006] Divide all the read GIS data into multiple point clusters, analyze the change trend of each coordinate point in each point cluster, and obtain the spatial deviation of each point cluster; analyze the distance distribution between the coordinate points in each point cluster, and obtain the directional deviation of each point cluster; combine the spatial deviation and the directional deviation to determine the elevation line deviation coefficient of each point cluster;
[0007] The distribution density between each point cluster and the remaining point clusters is analyzed, and the visual sensitivity index of each point cluster is obtained in combination with the facade line deviation coefficient; the adaptive tolerance threshold of each point cluster is determined according to the visual sensitivity index, and the GIS data is converted in combination with the polygon curve simplification algorithm.
[0008] In one embodiment, the point cluster is a facade line formed by sequentially connecting multiple GIS data coordinate points.
[0009] In one embodiment, the construction of the spatial deviation comprises:
[0010] Calculate the change trend of the straight line between two adjacent coordinate points in each point cluster, calculate the mean of all the change trends in each point cluster, perform linear fitting on all coordinate points in each point cluster to obtain the goodness of fit, and determine the spatial deviation by combining the mean and the goodness of fit;
[0011] The spatial deviation is positively correlated with the mean, and negatively correlated with the goodness of fit.
[0012] In one embodiment, the determination of the directional deviation comprises:
[0013] For each point set cluster, calculate the metric distance between the two farthest coordinate points parallel to the cluster direction, record it as the first distance, determine a straight line parallel to the cluster direction through the cluster center point, calculate the maximum metric distance between all coordinate points in the point set cluster and the straight line, and determine the direction deviation based on the maximum metric distance and the first distance;
[0014] The direction deviation is positively correlated with the maximum metric distance, and negatively correlated with the first distance.
[0015] In one embodiment, the elevation line deviation coefficient is a forward fusion result of the spatial deviation degree and the directional deviation degree.
[0016] In one embodiment, the process of determining the visual sensitivity index is:
[0017] Calculate the dispersion of the elevation line deviation coefficient of each point cluster and all adjacent point clusters, calculate the forward fusion result of the elevation line deviation coefficient of each point cluster and the dispersion, and determine the visual sensitivity index based on the forward fusion result and the number of adjacent point clusters of each point cluster;
[0018] The visual sensitivity index is positively correlated with the forward fusion result and the number of the neighboring point clusters.
[0019] In one embodiment, the process of determining the adaptive tolerance threshold is:
[0020] The reverse mapping normalization result of the visual sensitivity index of each point cluster is determined as the redundancy of each point cluster, and the forward fusion result of the redundancy, the preset control factor, and the preset initial tolerance threshold is determined as the adaptive tolerance threshold of each point cluster.
[0021] In one embodiment, the converting of GIS data includes:
[0022] All coordinate points in each point cluster and the adaptive tolerance threshold of each point cluster are used as the input of the polygon curve simplification algorithm, and the output is the simplified GIS data of each point cluster. The simplified GIS data is iteratively updated until the final simplified GIS data is obtained.
[0023] In one embodiment, the iterative updating of the simplified GIS data until the final simplified GIS data is obtained includes:
[0024] Render all the read GIS data into a standard BIM model, render all the simplified GIS data of point clusters into a simplified BIM model, calculate the overlap between the simplified BIM model and the standard BIM model, and if the overlap is less than a preset threshold, reduce the initial tolerance threshold by a preset adjustment range, and reacquire the simplified GIS data until the overlap is greater than or equal to the preset threshold, otherwise, do not make any adjustment.
[0025] In a second aspect, an embodiment of the present application also provides a GIS data conversion system, 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-mentioned methods when executing the computer program.
[0026] This application has at least the following beneficial effects:
[0027] This application divides all the read GIS data into multiple point clusters, analyzes the change trend of each coordinate point in each point cluster, obtains the spatial deviation of each point cluster, reflects the spatial distribution of coordinate points of different types of facade lines, improves the accuracy of subsequent simplification of coordinate points of different types of facade lines, analyzes the distance distribution between coordinate points in each point cluster, obtains the directional deviation of each point cluster, distinguishes the main line representing the outline of the building complex from the facade line with curvature, and improves the ability to distinguish different types of facade lines; further, combining the spatial deviation and the directional deviation, determines the facade line deviation coefficient of each point cluster, reflects the distribution and type of the corresponding facade line of each point cluster. The visual sensitivity index of each point cluster is obtained by analyzing the differences in the point clusters within the local range, reflecting the degree of attention paid to different facade lines from the human visual point of view, and finally obtains the adaptive tolerance threshold of each point cluster, realizing the simplified conversion of the original redundant GIS data. Compared with traditional algorithms, this application analyzes the distribution status of coordinate points in GIS data, and can obtain corresponding adaptive tolerance thresholds based on the distribution and detail characteristics of building facade lines represented by different point clusters, solving the defects of insufficient simplification of flat parts and excessive simplification of detailed parts in traditional methods. This application can achieve the simplified conversion of GIS data to the greatest extent while meeting the accuracy requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] 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.
[0029] Figure 1 A flowchart of a GIS data conversion method provided in one embodiment of the present application;
[0030] Figure 2 Build a flowchart for adaptive tolerance thresholding. DETAILED DESCRIPTION
[0031] 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 a GIS data conversion method and system proposed in accordance with the present application, its specific implementation method, structure, features and effects, in conjunction 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.
[0032] 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.
[0033] The following is a detailed description of a specific solution of a GIS data conversion method and system provided by the present application in conjunction with the accompanying drawings.
[0034] See also Figure 1 , which shows a flowchart of a GIS data conversion method provided by an embodiment of the present application, the method comprising the following steps:
[0035] S1, read GIS data, divide all GIS data into multiple point clusters, analyze the change trend of each coordinate point in each point cluster, and obtain the spatial deviation of each point cluster.
[0036] In one embodiment of the present application, the GIS data of the building is mainly simplified and converted, thereby obtaining the GIS data of the target building complex through the database, wherein the target building complex refers to the building cluster that needs to be loaded and rendered on the mobile terminal. This embodiment uses ArcGIS data processing software, and reads the target building complex GIS data into the software by calling the file reading function in the GDAL library, and further analyzes it to simplify the original target building complex GIS data.
[0037] In order to improve the accuracy of modeling, the original target building complex GIS data usually has a high resolution and a large file size, which is not conducive to loading and rendering on the mobile terminal. Therefore, it is necessary to simplify the original GIS data without excessively damaging the accuracy of the model. In GIS data, it is usually stored in the form of point sets. When the Douglas-Peucker algorithm excludes redundant point sets, the traditional method often sets a fixed tolerance threshold. However, the smaller the tolerance threshold, the closer the simplified line segment is to the original line segment, the more points are retained, and the more accurate the line segment is; the larger the tolerance threshold, the simpler the simplified line segment, the more points are deleted, and the line segment shape may have a large deviation from the original shape. In the original GIS data, the density of points at different locations of buildings is different. Therefore, the use of a fixed tolerance threshold is likely to cause defects such as over-simplification or loss of details in the simplified line segment.
[0038] In the building complex model, the facade lines are connected to form the building surface to show the building outline. In the GIS data set, in order to store the facade lines of the building complex, a series of coordinate points are usually used to represent them. The denser the point set, the higher the accuracy of the facade line. Therefore, in the building complex GIS data, a cluster of coordinate points often represents a facade line, in which the facade line is not completely horizontal and vertical, and may also represent curves or irregular curves such as building arcs and domes. The distribution status of the coordinate points of different facade lines is different. For more regular facade lines, the data distribution is more uniform, and the overall direction of the data points in the cluster is consistent; for more rugged facade lines, the data distribution is more scattered, and the overall direction of the coordinate points is greatly affected by the overall twists and turns of the facade line.
[0039] Therefore, in one embodiment of the present application, the GIS data of the building complex is divided into point clusters using the DPC clustering algorithm, each point cluster represents a facade line, wherein the cutoff distance of the DPC clustering algorithm is set to 3, which can be set by the implementer according to the actual situation, and the present application does not limit this, and the DPC clustering algorithm is an existing well-known technology, and the present application does not elaborate on this. And the cluster center of each point cluster is obtained by coordinate averaging.
[0040] On the premise that the goal of dividing all the read GIS data into point clusters can be achieved, implementers can choose other existing feasible algorithms according to actual conditions, such as region growing algorithm, and other clustering algorithms such as K-means and DBSCAN.
[0041] Based on the spatial uniformity of the coordinate points in each point cluster, the spatial deviation of each point cluster is obtained, the change trend of the determined straight line between two adjacent coordinate points in each point cluster is calculated, the mean of all the change trends in each point cluster is calculated, all the coordinate points in each point cluster are linearly fitted to obtain the goodness of fit, and the spatial deviation is determined by combining the mean and the goodness of fit;
[0042] The spatial deviation is positively correlated with the mean, and negatively correlated with the goodness of fit.
[0043] It should be noted that the changing trend represents the measurement of the regular fluctuation of the data, which can be specifically calculated by slope, rate of change, etc. A positive correlation means that the dependent variable will increase as the independent variable increases, and the dependent variable will decrease as the independent variable decreases. Specifically, it can be an additive relationship, a multiplicative relationship, or the power of an exponential function. A negative correlation means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases. Specifically, it can be a subtractive relationship, a division relationship, etc.
[0044] In one embodiment of the present application, the slope of a straight line determined between two adjacent coordinate points in each point cluster is calculated, the mean of all the slopes in each point cluster is calculated, all the coordinate points in each point cluster are linearly fitted to obtain the goodness of fit, and the ratio of the mean to the goodness of fit is determined as the spatial deviation of each point cluster.
[0045] In another embodiment of the present application, the slope of the straight line determined between two adjacent coordinate points in each point cluster is calculated, the mean of all the slopes in each point cluster is calculated, all the coordinate points in each point cluster are linearly fitted to obtain the goodness of fit, and the difference between the mean and the goodness of fit is determined as the spatial deviation of each point cluster.
[0046] If the point cluster corresponds to the main line in the building complex, the main line is relatively straight, and the slope of the adjacent coordinate points in the direction of the point cluster is basically zero, or a small change caused by noise makes the mean slope of all adjacent coordinate points small. At the same time, the point cluster is basically linear, so it is easier to linearly fit, and the value of the goodness of fit is larger, and finally the value of the spatial deviation of the point cluster is smaller.
[0047] S2, analyze the distance distribution between the coordinate points in each point cluster to obtain the directional deviation of each point cluster.
[0048] Based on the deviation between the distribution of coordinate points within the point cluster and the direction of the point cluster, the direction deviation of the point cluster is determined.
[0049] For each point cluster, calculate the metric distance between the two farthest coordinate points parallel to the cluster direction, record it as the first distance, determine a straight line parallel to the cluster direction through the cluster center point, calculate the maximum metric distance between all coordinate points in the point cluster and the straight line, and determine the directional deviation of each point cluster based on the maximum metric distance and the first distance;
[0050] The directional deviation of each point cluster is positively correlated with the maximum metric distance and negatively correlated with the first distance.
[0051] It should be noted that the metric distance can be calculated using Euclidean distance, Manhattan distance, DTW distance, etc., and this application does not impose any restrictions on this.
[0052] In one embodiment of the present application, for each point cluster, the Euclidean distance between the two farthest coordinate points parallel to the cluster direction is calculated, recorded as the first distance, a straight line parallel to the cluster direction is made through the cluster center point of the point cluster, and the maximum Euclidean distance between all coordinate points in the point cluster and the straight line is calculated. The ratio of the maximum Euclidean distance to the first distance is determined as the directional deviation of each point cluster.
[0053] If the point cluster corresponds to the main line in the building complex, all coordinate points in the point cluster are evenly distributed in the cluster direction. Therefore, the maximum Euclidean distance of the data points in the vertical cluster direction is small or almost zero, while the Euclidean distance of the farthest coordinate point parallel to the cluster direction represents the length of the main line, which is large. Therefore, the directional deviation value of the point cluster is small.
[0054] S3, combining the spatial deviation and directional deviation of each point cluster, determine the elevation line deviation coefficient of each point cluster.
[0055] The forward fusion result of the spatial deviation and directional deviation of each point cluster is used as the elevation line deviation coefficient of each point cluster.
[0056] It should be understood that forward fusion means combining multiple variables in a form that enhances the overall effect, for example, adding, multiplying, etc.
[0057] In one embodiment of the present application, the product of the spatial deviation degree and the directional deviation degree of each point cluster is determined as the elevation line deviation coefficient of each point cluster.
[0058] If the point cluster corresponds to a curved facade line such as a building complex arc or dome, the slope difference between adjacent coordinate points in the point cluster exists due to the overall curvature of the facade line, and the goodness of fit is low when the curve is linearly fitted, so the spatial deviation of the point cluster is large. At the same time, this type of facade line has a curvature, so the metric distance value perpendicular to the cluster direction increases, and the metric distance value of the farthest point parallel to the cluster direction decreases, which increases the directional deviation value of the point cluster, and finally the value of the facade line deviation coefficient of the point cluster is larger.
[0059] S4, analyzing the distribution density between each point cluster and the remaining point clusters, and combining the facade line deviation coefficient to obtain the visual sensitivity index of each point cluster.
[0060] The facade line deviation coefficient can reflect the deviation and complexity of the coordinate point distribution within the point cluster corresponding to each facade line in the building complex. However, from the perspective of human visual perception, the visual sensitivity to the main line of the building complex outline is not high, while the sensitivity to the characteristic facade lines such as the building dome and carvings is higher. Usually, the main line of the building complex outline is more dispersed, while the facade lines that highlight the architectural features are more concentrated. Therefore, further analysis is combined with the distribution between different point clusters.
[0061] In one embodiment of the present application, the cluster center of any point cluster is taken as the dot, R is used as the radius to make a circle, and other point clusters contained or intersected in the circle are used as the comparison set of the any point cluster, R is artificially set to 200, and the implementer can set it according to the actual situation, and the present application does not limit this. Based on the difference between other point clusters in the comparison set and the any point cluster, the visual sensitivity index of the any point cluster is obtained.
[0062] Calculate the discreteness of the elevation line deviation coefficients of all point clusters in the comparison set of the any point cluster, calculate the forward fusion result of the elevation line deviation coefficient of the any point cluster and the discreteness, and determine the visual sensitivity index of the any point cluster based on the forward fusion result and the number of point clusters in the comparison set;
[0063] The visual sensitivity index of any point cluster is positively correlated with the forward fusion result and the number of adjacent point clusters.
[0064] It should be noted that the dispersion indicates the volatility or dispersion of the data distribution, which can be calculated using variance, standard deviation, entropy, etc.
[0065] In one embodiment of the present application, the variance of the facade line deviation coefficients of all point clusters in the comparison set of the any point cluster cluster is calculated, the sum of the facade line deviation coefficient and the variance of the any point cluster cluster is calculated, and the product of the sum result and the number of point cluster clusters in the comparison set of the any point cluster cluster is determined as the visual sensitivity index of the any point cluster cluster.
[0066] If the point clusters are facade lines that highlight the architectural features of the building complex, such as arcs on domes or characteristic carved lines, this type of facade lines are often distributed more concentratedly. Therefore, there are more point clusters in the comparison set of the central point clusters, and due to the differences in the degree of arcs and carving styles, the values of the facade line deviation coefficients corresponding to different point clusters in the comparison set are larger. Finally, the visual sensitivity index of the point cluster is larger, indicating that the point cluster is more likely to attract human visual attention.
[0067] S5, determining the adaptive tolerance threshold of each point cluster according to the visual sensitivity index, and converting the GIS data in combination with the polygon curve simplification algorithm.
[0068] In this way, all point clusters of the current building complex are traversed to obtain the corresponding visual sensitivity index. The point cluster with a larger visual sensitivity index value represents the detailed information of the building complex, which is more likely to attract human visual attention, so more detailed information needs to be retained.
[0069] Therefore, the reverse mapping normalization result of the visual sensitivity index of each point cluster is determined as the redundancy of each point cluster, and the forward fusion result of the redundancy, the preset control factor, and the preset initial tolerance threshold is determined as the adaptive tolerance threshold of each point cluster. The adaptive tolerance threshold construction flow chart is shown in Figure 2 shown.
[0070] It should be understood that the reverse mapping means that the dependent variable will decrease as the independent variable increases, and the dependent variable will increase as the independent variable decreases, such as subtraction, division, etc.
[0071] In one embodiment of the present application, the normalized value of the inverse of the visual sensitivity index of each point cluster is used as redundancy, and the adaptive tolerance threshold of each point cluster can be expressed as: adaptive tolerance threshold = control factor × redundancy × initial tolerance threshold, wherein the control factor is a fixed value between [1,3], and the implementer can choose according to the actual situation. In this embodiment, the control factor is set to 2 and the initial tolerance threshold is set to 10. The implementer can set it according to the actual situation, and the present application does not impose any restrictions on this.
[0072] Therefore, for the facade lines showing the main outline of the building complex, the value of the visual sensitivity index of the point cluster cluster is small, so the redundancy is large, and the value of the adaptive tolerance threshold is large, which can simplify the coordinate points and remove redundancy. For the facade lines showing the architectural features of the building complex, the value of the visual sensitivity index of the point cluster cluster is large, so the redundancy is small, and the value of the adaptive tolerance threshold is small, which can retain more detailed information and prevent over-simplification of the data.
[0073] As an embodiment of the present application, all coordinate points in each point cluster and the adaptive tolerance threshold of each point cluster are used as inputs of the Douglas-Peucker algorithm, and the output is the simplified GIS data of each point cluster. The Douglas-Peucker algorithm is a well-known technology, and this application will not elaborate on it in detail. The simplified GIS data is judged;
[0074] Render all the read GIS data into a standard BIM model, render all the GIS data after simplifying the point clusters into a simplified BIM model, calculate the overlap between the simplified BIM model and the standard BIM model, if the overlap is less than a threshold value W, reduce the initial tolerance threshold by an adjustment range of a step size of Q, and reacquire the simplified GIS data until the overlap is greater than or equal to the threshold value W, and if the overlap is greater than or equal to the threshold value W, do not adjust the initial tolerance threshold, and complete the simplified conversion of the GIS data.
[0075] In one embodiment of the present application, W=90%, Q=1, and the implementer can set it according to the actual situation, and the present application does not limit it here.
[0076] Based on the same inventive concept as the above method, an embodiment of the present application also provides a GIS data conversion system, 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 GIS data conversion methods are implemented.
[0077] In summary, this application divides all the read GIS data into multiple point clusters, analyzes the change trend of each coordinate point in each point cluster, obtains the spatial deviation of each point cluster, reflects the spatial distribution of coordinate points of different types of facade lines, improves the accuracy of subsequent simplification of coordinate points of different types of facade lines, analyzes the distance distribution between coordinate points in each point cluster, obtains the directional deviation of each point cluster, distinguishes the main line representing the outline of the building complex from the facade line with curvature, and improves the ability to distinguish different types of facade lines; further, combining the spatial deviation and the directional deviation, determines the facade line deviation coefficient of each point cluster, reflects the distribution and type of the corresponding facade line of each point cluster. The visual sensitivity index of each point cluster is obtained by analyzing the differences in the point clusters within the local range, reflecting the degree of attention paid to different facade lines of the building complex from the human visual point of view, and finally obtains the adaptive tolerance threshold of each point cluster, realizing the simplified conversion of the original redundant GIS data. Compared with traditional algorithms, this application analyzes the distribution status of coordinate points in GIS data, and can obtain corresponding adaptive tolerance thresholds based on the distribution and detail characteristics of building facade lines represented by different point clusters, solving the defects of insufficient simplification of flat parts and excessive simplification of detailed parts in traditional methods. This application can achieve the simplified conversion of GIS data to the greatest extent while meeting the accuracy requirements.
[0078] 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.
[0079] 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.
[0080] 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 GIS data conversion method, characterized in that: The method comprises the following steps: Divide all the read GIS data into multiple point clusters, analyze the change trend of each coordinate point in each point cluster, obtain the spatial deviation of each point cluster, calculate the change trend of the straight line between two adjacent coordinate points in each point cluster, and obtain the spatial deviation of the point cluster according to the mean of all change trends in the point cluster and the goodness of fit of all coordinate point fitting lines; analyze the distance distribution between the coordinate points in each point cluster to obtain the directional deviation of each point cluster; calculate the metric distance between the two farthest coordinate points parallel to the cluster direction in the point cluster, record it as the first distance, determine the straight line parallel to the cluster direction through the cluster center point, and determine the directional deviation according to the maximum metric distance between the coordinate point in the point cluster and the straight line and the first distance; determine the elevation line deviation coefficient of each point cluster by combining the spatial deviation and the directional deviation; Analyze the distribution density between each point cluster and the remaining point clusters, and combine the facade line deviation coefficient to obtain the visual sensitivity index of each point cluster; determine the adaptive tolerance threshold of each point cluster according to the visual sensitivity index, and use all the coordinate points in each point cluster and the adaptive tolerance threshold of each point cluster as the input of the polygon curve simplification algorithm to convert the GIS data; The determination process of the visual sensitivity index is as follows: Calculate the dispersion of the elevation line deviation coefficient of each point cluster and all adjacent point clusters, calculate the forward fusion result of the elevation line deviation coefficient of each point cluster and the dispersion, and determine the visual sensitivity index based on the forward fusion result and the number of adjacent point clusters of each point cluster; The visual sensitivity index is positively correlated with the forward fusion result and the number of the neighboring point clusters; The process of determining the adaptive tolerance threshold is as follows: The reverse mapping normalization result of the visual sensitivity index of each point cluster is determined as the redundancy of each point cluster, and the forward fusion result of the redundancy, the preset control factor, and the preset initial tolerance threshold is determined as the adaptive tolerance threshold of each point cluster.
2. A GIS data conversion method as claimed in claim 1, characterized in that: The point cluster is a vertical line formed by sequentially connecting multiple GIS data coordinate points.
3. A GIS data conversion method as claimed in claim 1, characterized in that: The construction of the spatial deviation degree includes: Calculate the change trend of the straight line between two adjacent coordinate points in each point cluster, calculate the mean of all the change trends in each point cluster, perform linear fitting on all coordinate points in each point cluster to obtain the goodness of fit, and determine the spatial deviation by combining the mean and the goodness of fit; The spatial deviation is positively correlated with the mean, and negatively correlated with the goodness of fit.
4. A GIS data conversion method as claimed in claim 1, characterized in that: The determination of the directional deviation degree includes: For each point set cluster, calculate the metric distance between the two farthest coordinate points parallel to the cluster direction, record it as the first distance, determine a straight line parallel to the cluster direction through the cluster center point, calculate the maximum metric distance between all coordinate points in the point set cluster and the straight line, and determine the direction deviation based on the maximum metric distance and the first distance; The direction deviation is positively correlated with the maximum metric distance, and negatively correlated with the first distance.
5. A GIS data conversion method as claimed in claim 1, characterized in that: The elevation line deviation coefficient is a forward fusion result of the spatial deviation degree and the directional deviation degree.
6. A GIS data conversion method as claimed in claim 1, characterized in that: The conversion of GIS data includes: The output of the polygon curve simplification algorithm is the simplified GIS data of each point cluster, and the simplified GIS data is iteratively updated until the final simplified GIS data is obtained.
7. A GIS data conversion method as claimed in claim 6, characterized in that: The iterative updating of the simplified GIS data until the final simplified GIS data is obtained includes: Render all the read GIS data into a standard BIM model, render all the simplified GIS data of point clusters into a simplified BIM model, calculate the overlap between the simplified BIM model and the standard BIM model, and if the overlap is less than a preset threshold, reduce the initial tolerance threshold by a preset adjustment range, and reacquire the simplified GIS data until the overlap is greater than or equal to the preset threshold, otherwise, do not make any adjustment.
8. A GIS data conversion system, 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 method according to any one of claims 1 to 7 are implemented.
