Web vectorization and hierarchical display method based on electronic chart sheets
By extracting features and performing layered processing on electronic nautical chart sheets, a data sub-model based on user needs can be obtained, solving the problem that existing technologies cannot perform vectorized layering according to user needs and improving the analysis speed of nautical chart data.
Patent Information
- Application Number
- CN202511139659.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-14
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2045-08-14
AI Technical Summary
The existing web display method for electronic nautical charts cannot perform vectorized layering according to user needs, which makes it impossible for users to obtain the data they need and reduces the speed of nautical chart data analysis.
By acquiring a 3D model of the electronic nautical chart sheet, feature extraction processing is performed to obtain sub-models of geographical, navigational, and hydrological elements. The preferences for connecting models are analyzed, and layered processing is carried out to adapt to user needs.
This improves the speed of analysis for users browsing web nautical chart data and ensures that the hierarchical model better meets user needs.
Smart Images

Figure CN121010716B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of chart display, in particular to a web vectorization hierarchical display method based on electronic chart sheets. BACKGROUND
[0002] An electronic chart sheet refers to the geographical range of chart content, which is determined by the inner outline limit, that is, the actual geographical information area enclosed by the meridian and parallel lines. Although an electronic chart is presented in digital form, its sheet concept is the same as that of a traditional chart, and the geographical range is defined by the inner outline. Figure One Vectorization refers to the process of converting images or data into vector format based on mathematical algorithms. Vectorization hierarchical display is a technology that decomposes complex images or data into editable vector elements according to hierarchical structure.
[0003] The existing method for web display of electronic chart sheets is usually based on the generation of tile charts from the corresponding data files of electronic charts. The client then requests the required tile charts and transmits them to the server to realize the display of electronic charts in web. Although this improved method can improve the browsing speed of users for chart data, it can only improve the display speed of electronic charts and cannot vectorize and hierarchically display electronic charts in web according to the required elements of users, resulting in the problem of reducing the analysis speed of users for chart data, as users cannot obtain the required data based on their needs when browsing chart data in web. For example, in the patent application with the publication number CN118503567A, a method for quickly displaying electronic charts based on a web browser is disclosed. This method deploys electronic chart software on the server, and users can enjoy the latest chart data and functions through the browser, which is more convenient than the client form. However, other improvements for web display of electronic chart sheets are usually improvements to the conventional chart processing method, and still cannot vectorize and hierarchically display electronic charts in web according to the required elements of users, resulting in the problem of reducing the analysis speed of users for chart data, as users cannot obtain the required data based on their needs when browsing chart data in web. Therefore, it is necessary to improve the existing web display method for electronic chart sheets. SUMMARY
[0004] The present application aims to at least partially solve one of the technical problems in the prior art by proposing a web vectorization hierarchical display method based on electronic chart sheets, which can solve the problem of reducing the analysis speed of users for chart data, as users cannot obtain the required data based on their needs when browsing chart data in web, due to the inability to vectorize and hierarchically display electronic charts in web according to the required elements of users in the existing web display method for electronic chart sheets.
[0005] To achieve the above object, the application provides a web vectorization layered display method based on an electronic chart sheet, comprising the following steps:
[0006] obtaining a three-dimensional model corresponding to the electronic chart sheet, and denoted as sea Figure Three dimensional model; performing feature extraction processing on the sea Figure Three dimensional model based on elements contained in the electronic chart sheet, and obtaining a chart sub-model corresponding to each element based on the result of the feature extraction processing, wherein the elements include geographic elements, navigation elements and hydrographic elements;
[0007] analyzing all the chart sub-models, and obtaining a linking model of each chart sub-model based on the analysis result; analyzing the linking model based on the chart sub-model, and obtaining a linking preference of each linking model based on the analysis result;
[0008] denoting elements called when using the electronic chart sheet as real-time analysis elements, and denoting a chart sub-model corresponding to the real-time analysis elements as a layered model; performing layered processing on the sea Figure Three dimensional model based on the layered model and the linking preference of the linking model corresponding to the layered model, and displaying the sea Figure Three dimensional model after the layered processing in a web.
[0009] Further, the feature extraction processing on the sea Figure Three dimensional model based on the elements contained in the electronic chart sheet, and obtaining a chart sub-model corresponding to each element based on the result of the feature extraction processing, comprises:
[0010] establishing a space coordinate system with the unit of the coordinate axis being m, and denoted as sea Figure Three dimensional coordinate system; reading data corresponding to the electronic chart sheet and extracting elevation information in the data, converting two-dimensional data corresponding to the electronic chart sheet into three-dimensional terrain data using interpolation and gridding processing, and obtaining a three-dimensional model corresponding to the electronic chart sheet in the sea Figure Three dimensional coordinate system using three-dimensional modeling technology, denoted as sea Figure Three dimensional model;
[0011] based on the geographic elements, navigation elements and hydrographic elements contained in the electronic chart sheet, respectively establishing a geographic database, a navigation database and a hydrographic database, and storing data corresponding to the geographic elements, navigation elements and hydrographic elements in the electronic chart sheet in the databases;
[0012] performing feature extraction processing on the sea Figure Three dimensional model based on the data in the geographic database, the navigation database and the hydrographic database, and obtaining chart sub-models corresponding to the geographic elements, navigation elements and hydrographic elements based on the processing result.
[0013] Further, the feature extraction process includes:
[0014] For any one of the geographic elements, navigation elements and hydrographic elements: record the data corresponding to the element in the electronic chart sheet as element data, and record the annotation object corresponding to the element data in the electronic chart sheet as element annotation; in the sea Figure Three Mark the position of all element annotations in the three-dimensional coordinate system;
[0015] Based on the GeoServer, the vector tiles corresponding to the electronic chart sheet are obtained, and when generating the vector tiles, based on the position data of the element annotations of all elements, the vector tiles corresponding to each element annotation generated by the electronic chart sheet are obtained, and are recorded as the annotation tiles of the element annotations.
[0016] Further, the feature extraction process further includes:
[0017] For any one of the geographic elements, navigation elements and hydrographic elements: respectively obtain the data of the electronic chart sheet contained in each annotation tile, and record it as the chart slice data of the annotation tile; in the sea Figure Three Obtain the model corresponding to the chart slice data in the three-dimensional model, and record it as the chart slice model;
[0018] Place all chart slice models corresponding to the element annotations in the same blank sea Figure Three In the three-dimensional coordinate system, and the three-dimensional model of the sea Figure Three In the three-dimensional coordinate system at this time is recorded as the chart sub-model of the element;
[0019] Respectively obtain the chart sub-models corresponding to the geographic elements, navigation elements and hydrographic elements.
[0020] Further, analyze all chart sub-models, and based on the analysis result, obtain the connection model of each chart sub-model; based on the chart sub-model, analyze the connection model, and based on the analysis result, obtain the connection preference of each connection model, including:
[0021] For any two chart sub-models α and β corresponding to the elements: place the chart sub-model α and the chart sub-model β in the same blank sea Figure Three In the three-dimensional coordinate system, and record the model coinciding with the chart sub-model α and the chart sub-model β as the connection model;
[0022] For the chart sub-model α or the chart sub-model β: record the chart slice models corresponding to the chart sub-models as chart slice models HQ1 to chart slice models HQ r , Wherein, r is the number of chart slice models corresponding to the chart sub-model; for any one chart slice model HQt When the chart slice model HQ t When the chart slice model HQ t The area coinciding with the connection model is recorded as a slice coincidence model; the volume of the slice coincidence model is recorded as v, and the number of element markers of elements contained in the chart sub-model corresponding to the slice coincidence model is recorded as u, where t is a positive integer less than or equal to r and greater than or equal to 1.
[0023] Further, the analysis of the connection model based on the chart sub-model and the acquisition of the connection preference of each connection model based on the analysis result further include:
[0024] When the chart slice model HQ t When the chart slice model HQ t is recorded as an unrelated model; the value of r divided by the number of unrelated models in all chart slice models is recorded as an unrelated proportion;
[0025] A plane rectangular coordinate system is established and recorded as a preference ratio coordinate system, where the X-axis and the Y-axis of the preference ratio coordinate system are constant axes; three rays are established in the preference ratio coordinate system with the coordinate origin as the end point and are recorded as γ1, γ2 and γ3 respectively, where the acute angle formed by γ1 and γ2 at the coordinate origin is 60°, the acute angle formed by γ1 and γ3 at the coordinate origin is 60°, and γ2 and γ3 do not coincide.
[0026] Further, the analysis of the connection model based on the chart sub-model and the acquisition of the connection preference of each connection model based on the analysis result further include:
[0027] A point with a distance of V from the coordinate origin is obtained in γ1 and recorded as a volume point, a point with a distance of U from the coordinate origin is obtained in γ2 and recorded as a coincidence number point, and a point with a distance of the unrelated proportion from the coordinate origin is obtained in γ3 and recorded as a proportion point, where V is the sum of v corresponding to all chart slice models not recorded as unrelated models, and U is the sum of u corresponding to all chart slice models not recorded as unrelated models;
[0028] The area of the triangle formed by the volume point, the coincidence number point and the proportion point is recorded as a preference value; the preference values corresponding to the chart sub-model α and the chart sub-model β are obtained, and the chart sub-model with the largest preference value is recorded as the connection preference of the connection model;
[0029] The connection models between all element corresponding chart sub-models and the connection preference of each connection model are obtained.
[0030] Further, based on the hierarchical model and the connection preference of the connection model corresponding to the hierarchical model, the hierarchical model is analyzed to obtain the connection preference of each connection model. Figure ThreeThe three-dimensional model is layered, and the layered sea Figure Three The three-dimensional model is displayed in the web, including:
[0031] The sea Figure Three The three-dimensional model is imported into the web for browsing; when using the electronic sea chart sheet, the elements called in the electronic sea chart sheet are recorded as real-time analysis elements, and the chart sub-model corresponding to the real-time analysis elements is recorded as a layered model;
[0032] All the connection models corresponding to the layered model are obtained and recorded as to-be-added models; for any one to-be-added model: when the connection preference of the to-be-added model is the layered model, the to-be-added model is recorded as a same-layer application model; when the connection preference of the to-be-added model is not the layered model, the to-be-added model is recorded as a different-layer application model;
[0033] The sea Figure Three The three-dimensional model in the web is layered.
[0034] Further, the layering includes primary main layering and secondary sub-layering, and the primary main layering includes:
[0035] When the same-layer application model exists, the same-layer application model and the layered model in the three-dimensional model in the web are stripped from the three-dimensional model in the web and recorded as calling application models; when the same-layer application model does not exist, the layered model in the three-dimensional model in the web is stripped from the three-dimensional model in the web, wherein the calling application model is a model corresponding to an element called by a user. Figure Three Figure Three Figure Three Figure Three The three-dimensional model in the web is layered.
[0036] Further, the secondary sub-layering includes:
[0037] When the different-layer application model exists, all the different-layer application models are respectively stripped from the three-dimensional model in the web and recorded as associated layer models independent of the calling application models, wherein the associated layer model is a model associated with an element called by a user; Figure Three The three-dimensional model in the web is layered.
[0038] Figure Three The models other than the calling application models and the associated layer models in the three-dimensional model in the web are recorded as irrelevant models, the layered processing is performed on the irrelevant models based on the fact that all the chart slice models corresponding to element annotations exist in the irrelevant models, and after the layered processing is performed on the irrelevant models, each layer corresponds to a chart slice model of an element annotation.
[0039] The three-dimensional model is layered, and the layered sea Figure Three The three-dimensional model is layered, and the layered seaFigure Three The characteristic extraction processing is performed on the multi-dimensional model, and a chart sub-model corresponding to each element is obtained based on the result of the characteristic extraction processing; then, all the chart sub-models are analyzed, and a linking model of each chart sub-model is obtained based on the analysis result. The advantage of this is that, by performing the characteristic extraction processing on the multi-dimensional model to obtain the chart sub-model, each element in the electronic chart sheet can be effectively distinguished in the model in the multi-dimensional model, and by obtaining the linking model of the chart sub-model, the model that is simultaneously in multiple chart sub-models can be obtained, so that after the element required by the user is obtained, the model corresponding to the required data is obtained based on the requirement of the user, thereby realizing the improvement of the analysis speed of the user on the chart data in the web when the user browses the chart data in the web. Figure Three The characteristic extraction processing is performed on the multi-dimensional model, and a chart sub-model corresponding to each element is obtained based on the result of the characteristic extraction processing; then, all the chart sub-models are analyzed, and a linking model of each chart sub-model is obtained based on the analysis result. The advantage of this is that, by performing the characteristic extraction processing on the multi-dimensional model to obtain the chart sub-model, each element in the electronic chart sheet can be effectively distinguished in the model in the multi-dimensional model, and by obtaining the linking model of the chart sub-model, the model that is simultaneously in multiple chart sub-models can be obtained, so that after the element required by the user is obtained, the model corresponding to the required data is obtained based on the requirement of the user, thereby realizing the improvement of the analysis speed of the user on the chart data in the web when the user browses the chart data in the web. Figure Three The characteristic extraction processing is performed on the multi-dimensional model, and a chart sub-model corresponding to each element is obtained based on the result of the characteristic extraction processing; then, all the chart sub-models are analyzed, and a linking model of each chart sub-model is obtained based on the analysis result. The advantage of this is that, by performing the characteristic extraction processing on the multi-dimensional model to obtain the chart sub-model, each element in the electronic chart sheet can be effectively distinguished in the model in the multi-dimensional model, and by obtaining the linking model of the chart sub-model, the model that is simultaneously in multiple chart sub-models can be obtained, so that after the element required by the user is obtained, the model corresponding to the required data is obtained based on the requirement of the user, thereby realizing the improvement of the analysis speed of the user on the chart data in the web when the user browses the chart data in the web.
[0040] The characteristic extraction processing is performed on the multi-dimensional model, and a chart sub-model corresponding to each element is obtained based on the result of the characteristic extraction processing; then, all the chart sub-models are analyzed, and a linking model of each chart sub-model is obtained based on the analysis result. The advantage of this is that, by performing the characteristic extraction processing on the multi-dimensional model to obtain the chart sub-model, each element in the electronic chart sheet can be effectively distinguished in the model in the multi-dimensional model, and by obtaining the linking model of the chart sub-model, the model that is simultaneously in multiple chart sub-models can be obtained, so that after the element required by the user is obtained, the model corresponding to the required data is obtained based on the requirement of the user, thereby realizing the improvement of the analysis speed of the user on the chart data in the web when the user browses the chart data in the web. Figure Three The characteristic extraction processing is performed on the multi-dimensional model, and a chart sub-model corresponding to each element is obtained based on the result of the characteristic extraction processing; then, all the chart sub-models are analyzed, and a linking model of each chart sub-model is obtained based on the analysis result. The advantage of this is that, by performing the characteristic extraction processing on the multi-dimensional model to obtain the chart sub-model, each element in the electronic chart sheet can be effectively distinguished in the model in the multi-dimensional model, and by obtaining the linking model of the chart sub-model, the model that is simultaneously in multiple chart sub-models can be obtained, so that after the element required by the user is obtained, the model corresponding to the required data is obtained based on the requirement of the user, thereby realizing the improvement of the analysis speed of the user on the chart data in the web when the user browses the chart data in the web. Figure Three The characteristic extraction processing is performed on the multi-dimensional model, and a chart sub-model corresponding to each element is obtained based on the result of the characteristic extraction processing; then, all the chart sub-models are analyzed, and a linking model of each chart sub-model is obtained based on the analysis result. The advantage of this is that, by performing the characteristic extraction processing on the multi-dimensional model to obtain the chart sub-model, each element in the electronic chart sheet can be effectively distinguished in the model in the multi-dimensional model, and by obtaining the linking model of the chart sub-model, the model that is simultaneously in multiple chart sub-models can be obtained, so that after the element required by the user is obtained, the model corresponding to the required data is obtained based on the requirement of the user, thereby realizing the improvement of the analysis speed of the user on the chart data in the web when the user browses the chart data in the web. Figure Three The characteristic extraction processing is performed on the multi-dimensional model, and a chart sub-model corresponding to each element is obtained based on the result of the characteristic extraction processing; then, all the chart sub-models are analyzed, and a linking model of each chart sub-model is obtained based on the analysis result. The advantage of this is that, by performing the characteristic extraction processing on the multi-dimensional model to obtain the chart sub-model, each element in the electronic chart sheet can be effectively distinguished in the model in the multi-dimensional model, and by obtaining the linking model of the chart sub-model, the model that is simultaneously in multiple chart sub-models can be obtained, so that after the element required by the user is obtained, the model corresponding to the required data is obtained based on the requirement of the user, thereby realizing the improvement of the analysis speed of the user on the chart data in the web when the user browses the chart data in the web. Figure Three The characteristic extraction processing is performed on the multi-dimensional model, and a chart sub-model corresponding to each element is obtained based on the result of the characteristic extraction processing; then, all the chart sub-models are analyzed, and a linking model of each chart sub-model is obtained based on the analysis result. The advantage of this is that, by performing the characteristic extraction processing on the multi-dimensional model to obtain the chart sub-model, each element in the electronic chart sheet can be effectively distinguished in the model in the multi-dimensional model, and by obtaining the linking model of the chart sub-model, the model that is simultaneously in multiple chart sub-models can be obtained, so that after the element required by the user is obtained, the model corresponding to the required data is obtained based on the requirement of the user, thereby realizing the improvement of the analysis speed of the user on the chart data in the web when the user browses the chart data in the web. BRIEF DESCRIPTION OF DRAWINGS
[0041] Figure Three The step flow chart of the method of the present application;
[0042] Figure One The step flow chart of the method of the present application; Figure Two The step flow chart of the method of the present application;
[0043] Figure Three The structure schematic diagram of the electronic device of the present application. DETAILED DESCRIPTION
[0044] With reference to the accompanying drawings, the technical solutions in the embodiments of the present application will be clearly and completely described below, obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of the present application.
[0045] Embodiment 1, please refer to Figure Three As shown in the figure, the present application provides a web vectorization hierarchical display method based on electronic chart sheets, comprising the following steps:
[0046] Step S1, acquiring a three-dimensional model corresponding to an electronic chart sheet, and denoted as a sea Figure One dimensional model; performing feature extraction processing on the sea Figure Three dimensional model based on elements contained in the electronic chart sheet, and acquiring a chart sub-model corresponding to each element based on the result of the feature extraction processing, wherein the elements include geographic elements, navigation elements and hydrographic elements;
[0047] In the embodiment, only the geographic elements, navigation elements and hydrographic elements in the electronic chart sheet are analyzed, and in the specific implementation process, the elements contained in the elements can be added, deleted or modified according to the actual analysis of the element composition in the electronic chart sheet, that is, the geographic elements, navigation elements and hydrographic elements can be added, deleted or modified;
[0048] Step S1 comprises: Step S101, establishing a space coordinate system with the unit of the coordinate axis being m, and denoted as a sea Figure Three dimensional coordinate system; reading data corresponding to the electronic chart sheet and extracting elevation information in the data, converting two-dimensional data corresponding to the electronic chart sheet into three-dimensional terrain data using interpolation and gridding processing, and acquiring a three-dimensional model corresponding to the electronic chart sheet in the sea Figure Three dimensional coordinate system using three-dimensional modeling technology, denoted as a sea Figure Three dimensional model;
[0049] In the specific implementation process, the elevation information is the vertical distance of a point along the plumb line to a certain reference surface, which is usually used to describe the altitude or relative height of the ground or object, and the elevation information in the data in the electronic chart sheet can be acquired to provide data support for the acquisition of the three-dimensional terrain data;
[0050] Step S102, based on the geographic elements, navigation elements and hydrographic elements contained in the electronic chart sheet, respectively establishing a geographic database, a navigation database and a hydrographic database, and storing the data corresponding to the geographic elements, navigation elements and hydrographic elements in the electronic chart sheet;
[0051] Step S103, respectively based on the data in the geographic database, navigation database and hydrological database, the characteristic extraction processing of the sea Figure Three
[0052] Step S104, the characteristic extraction processing includes: step S1041, for any one element in the geographic elements, navigation elements and hydrological elements: the data corresponding to the element in the electronic chart sheet is recorded as the element data, and the annotation object corresponding to the element data in the electronic chart sheet is recorded as the element annotation; in the sea Figure Three The positions of all element annotations are marked in the three-dimensional coordinate system;
[0053] In the specific implementation process, the element annotations in the geographic elements can include continent, island coastline and dry beach boundary, which constitute the land-sea boundary reference line, water depth point value annotation, contour line, bottom type, prominent topography, port facilities, landmark positioning reference, etc.; the element annotations in the navigation elements can include navigation facilities such as buoy, light pile and beacon, dangerous objects such as wreck, reef and fishing net, channel boundary, channel navigation system area, anchorage range and no navigation area identification; the element annotations in the hydrological elements can include real-time hydrological information such as tide table, current vector and magnetic deviation, latitude and longitude grid and increasing latitude scale, map name, number, scale, publishing agency, datum, coordinate system and navigation notice version number; the element annotations corresponding to the geographic elements, navigation elements and hydrological elements can be set according to the elements existing in the actual electronic chart sheet; by acquiring the element annotations and acquiring the chart slice model corresponding to the element annotations in the subsequent analysis, the model corresponding to the objects contained in the elements can be acquired more carefully, so that the obtained chart sub-model can effectively reflect the three-dimensional model corresponding to each element.
[0054] Step S1042, based on GeoServer, the vector tiles corresponding to the electronic chart sheet are acquired, and in generating the vector tiles, based on the position data of the element annotations of all elements, the vector tiles corresponding to each element annotation generated by the electronic chart sheet are acquired and recorded as the annotation tiles of the element annotations;
[0055] In the specific implementation process, GeoServer is a tool for converting electronic chart sheet into vector tiles, and GeoServer can be replaced according to the tool that can be acquired for converting electronic chart sheet into vector tiles during actual analysis;
[0056] Step S1043, for any one element in the geographic elements, navigation elements and hydrological elements: respectively acquire the data of the electronic chart sheet contained in each annotation tile, and record it as the chart slice data of the annotation tile; in the sea Figure Three A model corresponding to the chart slice data in the model is obtained, and is denoted as a chart slice model;
[0057] In step S1044, the chart slice models corresponding to all the annotation tiles of the element are placed in the same blank sea Figure Three In the three-dimensional coordinate system, and the sea Figure Three The three-dimensional model in the three-dimensional coordinate system is denoted as a chart sub-model of the element;
[0058] In step S1045, the chart sub-models corresponding to the geographic elements, the navigation elements, and the hydrographic elements are respectively obtained; in the specific implementation process, by obtaining the chart sub-models of each element in the electronic chart sheet, the required data corresponding models can be obtained based on the user's demand after obtaining the elements required by the user, so that the analysis speed of the user on the chart data is improved when the user browses the chart data in the web.
[0059] In step S2, all the chart sub-models are analyzed, and the connection models of each chart sub-model are obtained based on the analysis results; the connection models are analyzed based on the chart sub-models, and the connection preferences of each connection model are obtained based on the analysis results;
[0060] Step S2 includes: in step S201, for the chart sub-model a and the chart sub-model β corresponding to any two elements: the chart sub-model a and the chart sub-model β are placed in the same blank sea Figure Three In the three-dimensional coordinate system, and the model in which the chart sub-model a and the chart sub-model β coincide is denoted as a connection model;
[0061] In step S202, for the chart sub-model a or the chart sub-model β: the chart slice models corresponding to the chart sub-models are respectively denoted as chart slice models HQ1 to chart slice models HQ r , wherein r is the number of chart slice models corresponding to the chart sub-model; for any one chart slice model HQ t , when the chart slice model HQ t has an overlapping area with the connection model, the chart slice model HQ t is denoted as a slice coincidence model; the volume of the slice coincidence model is denoted as v, and the number of element annotations of the elements contained in the slice coincidence model is denoted as u, wherein t is a positive integer less than or equal to r and greater than or equal to 1.
[0062] In step S203, when the chart slice model HQ t does not have an overlapping area with the connection model, the chart slice model HQ t is denoted as an irrelevant model; the value of r divided by the number of irrelevant models in all chart slice models is denoted as an irrelevant proportion;
[0063] In the implementation process, since the chart slice model is part of the chart sub-model, the chart slice model may have an overlapping area with the connection model, or may not have an overlapping area with the connection model. Therefore, in the embodiment, by integrating the correlation of all chart slice models in the chart sub-model and the connection model, that is, by obtaining the volume of the slice overlapping model, the number of element label objects of the elements corresponding to the chart sub-model contained in the slice overlapping model, and the irrelevant proportion, and further obtaining the preference value, the correlation of the chart sub-model and the connection model can be obtained. The larger V, U and the irrelevant proportion are, the larger the area of the chart slice model of the chart sub-model overlapping with the connection model is, the more the number of element label objects in the overlapping area is, and the more the number of chart slice models not recorded as irrelevant models is, that is, the stronger the correlation of the chart sub-model and the connection model is. Therefore, by comparing the preference values of the two chart sub-models corresponding to the connection model, the chart sub-model with stronger correlation with the connection model can be obtained, so as to set the connection preference of the chart sub-model. By obtaining the connection preference of the connection model, the chart sub-model more suitable for the connection model can be obtained, so as to set the connection preference of the chart sub-model in the subsequent layering of the web-based model, and the connection preference of the connection model in the subsequent layering of the web-based model. Figure Three The layer in which the connection model is located can be set more flexibly when the web-based model is layered, so as to ensure that the layered web-based model is more in line with the user's needs and improves the user's analysis speed of the chart data. Figure Three The layered web-based model is more in line with the user's needs and improves the user's analysis speed of the chart data.
[0064] Step S204, a plane rectangular coordinate system is established and is recorded as a preference comparison coordinate system, wherein the X-axis and the Y-axis of the preference comparison coordinate system are constant axes; three rays are established in the preference ratio coordinate system with the coordinate origin as an end point, and are recorded as γ1, γ2 and γ3 respectively, wherein the acute angle formed by γ1 and γ2 at the coordinate origin is 60°, the acute angle formed by γ1 and γ3 at the coordinate origin is 60°, and γ2 and γ3 do not coincide.
[0065] Step S205, a point with a distance V from the coordinate origin in γ1 is obtained and is recorded as a volume point, a point with a distance U from the coordinate origin in γ2 is obtained and is recorded as a coincidence quantity point, and a point with an irrelevant proportion from the coordinate origin in γ3 is obtained and is recorded as a proportion point, wherein V is the sum of all v corresponding to the chart slice models not recorded as irrelevant models, and U is the sum of all u corresponding to the chart slice models not recorded as irrelevant models.
[0066] Step S206, the area of the triangle formed by the volume point, the coincidence quantity point and the proportion point is recorded as a preference value; the preference values corresponding to the chart sub-model α and the chart sub-model β are obtained, and the chart sub-model with the largest preference value is recorded as the connection preference of the connection model.
[0067] Step S207: Obtain the connection model between the chart sub-models corresponding to all elements and the connection preference of each connection model.
[0068] Step S3: Elements invoked when using electronic nautical chart sheets are designated as real-time analysis elements, and the corresponding chart sub-models are designated as hierarchical models. Based on the hierarchical models and the connection preferences of the corresponding connection models, the nautical chart sub-models are analyzed. Figure Three The 3D model is processed into layers, and the resulting sea Figure Three The dimensional model is displayed on the web.
[0069] Step S3 includes: Step S301, placing the sea Figure Three Import the dimensional model into the web for browsing; when using electronic nautical chart sheets, the elements called in the electronic nautical chart sheets will be recorded as real-time analysis elements, and the nautical chart sub-models corresponding to the real-time analysis elements will be recorded as hierarchical models;
[0070] Step S302: Obtain all connection models corresponding to the hierarchical model and record them as models to be added; for any model to be added: when the connection preference of the model to be added is a hierarchical model, record the model to be added as a same-layer application model; when the connection preference of the model to be added is not a hierarchical model, record the model to be added as a different-layer application model.
[0071] For step S303, please refer to... Figure Two As shown, for the sea in the web Figure Three The dimensional model is processed in layers.
[0072] Step S304, the hierarchical processing includes a primary hierarchical level and a secondary hierarchical level; Step S3041, the primary hierarchical level includes:
[0073] When a peer-to-peer application model exists, the web will be in the middle. Figure Three Same-layer application models within a dimensional model and hierarchical models from the sea Figure Three The dimensional model is stripped and recorded as the calling application model; when no application model exists in the same layer, the web layer is... Figure Three Hierarchical models within a dimensional model from the sea Figure Three The model is stripped from the dimensional model, where the application model is the model corresponding to the element called by the user.
[0074] Step S3042, the second-level sub-layer includes: when heterogeneous application models exist, retrieving all heterogeneous application models from the sea... Figure Three The model is separated from the application model and denoted as the association layer model, which is independent of the application model. The association layer model is a model that is associated with the element called by the user.
[0075] Web Zhonghai Figure ThreeThe calling application model in the dimension model and the model outside the association layer model are recorded as irrelevant models. Based on the chart slice model corresponding to all element annotations existing in the irrelevant models, the irrelevant models are hierarchically processed, wherein each layer corresponds to a chart slice model of an element annotation after the irrelevant models are hierarchically processed.
[0076] Embodiment 2, please refer to Figure Three , Figure Three An example of a structural diagram of an electronic device is shown, which can include a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete mutual communication through the communication bus. The memory stores computer readable instructions, and the processor can invoke the instructions in the memory. When the computer readable instructions are executed by the processor, the steps in a web vectorization hierarchical display method based on an electronic chart sheet are run to implement the following functions: first, a three-dimensional model corresponding to an electronic chart sheet is acquired and recorded as a chart model; based on the elements contained in the electronic chart sheet, the chart model is feature extraction processed, and based on the feature extraction processing result, a chart sub-model corresponding to each element is acquired; then, all chart sub-models are analyzed, and based on the analysis result, a connection model of each chart sub-model is acquired; based on the chart sub-model, the connection model is analyzed, and based on the analysis result, a connection preference of each connection model is acquired; finally, an element called when using the electronic chart sheet is recorded as a real-time analysis element, and a chart sub-model corresponding to the real-time analysis element is recorded as a hierarchical model; based on the hierarchical model and the connection preference of the connection model corresponding to the hierarchical model, the chart model is hierarchically processed, and the chart model after the hierarchical processing is displayed in the web. Figure Three Figure Three Figure Three Figure Three
[0077] In addition, the logical instructions in the memory described above can be implemented in the form of a software function unit and sold or used as an independent product, which can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0078] In embodiment 3, the application further provides a computer program product, which comprises a computer program stored on a computer readable storage medium, and the computer program comprises program instructions, when the program instructions are executed by a computer, the computer can execute the above-mentioned method for web vectorization hierarchical display based on an electronic chart sheet, which comprises the following steps: firstly, acquiring a three-dimensional model corresponding to an electronic chart sheet, and recording the three-dimensional model as a sea Figure Three model; performing feature extraction processing on the three-dimensional model based on elements contained in the electronic chart sheet, and acquiring a chart sub-model corresponding to each element based on the result of the feature extraction processing; then, analyzing all chart sub-models, and acquiring a connection model of each chart sub-model based on the analysis result; analyzing the connection model based on the chart sub-model, and acquiring a connection preference of each connection model based on the analysis result; finally, recording an element called when the electronic chart sheet is used as a real-time analysis element, recording a chart sub-model corresponding to the real-time analysis element as a hierarchical model; performing hierarchical processing on the three-dimensional model based on the hierarchical model and the connection preference of the connection model corresponding to the hierarchical model, and displaying the three-dimensional model after the hierarchical processing in a web. Figure Three Figure Three Figure Three
[0079] In embodiment 4, the application further provides a computer readable storage medium, which stores a computer program, when the computer program is executed by a processor, the steps in the above-mentioned method for web vectorization hierarchical display based on an electronic chart sheet are executed to realize the following functions: firstly, acquiring a three-dimensional model corresponding to an electronic chart sheet, and recording the three-dimensional model as a sea Figure Three model; performing feature extraction processing on the three-dimensional model based on elements contained in the electronic chart sheet, and acquiring a chart sub-model corresponding to each element based on the result of the feature extraction processing; then, analyzing all chart sub-models, and acquiring a connection model of each chart sub-model based on the analysis result; analyzing the connection model based on the chart sub-model, and acquiring a connection preference of each connection model based on the analysis result; finally, recording an element called when the electronic chart sheet is used as a real-time analysis element, recording a chart sub-model corresponding to the real-time analysis element as a hierarchical model; performing hierarchical processing on the three-dimensional model based on the hierarchical model and the connection preference of the connection model corresponding to the hierarchical model, and displaying the three-dimensional model after the hierarchical processing in a web. Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three Figure Three
[0080] Through the description of the above embodiments, the embodiments of the present application can be provided as a method, a system or a computer program product. Based on such understanding, the above technical solutions can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as a ROM / RAM, a magnetic disk, an optical disk, etc., and includes a plurality of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.
[0081] In the embodiments provided in the present application, it should be understood that the disclosed system or method can be implemented in other manners. The embodiments described above are merely schematic, and the division of the modules or units is merely logical function division, and there can be other division manners in actual implementation. For example, a plurality of modules or units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections between different modules can be indirect couplings or communication connections through some interfaces, and there can be electric, mechanical or other forms.
[0082] Finally, it should be noted that: the above embodiments are merely used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some technical features; and these modifications or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A web-based vectorized layered display method based on electronic nautical chart sheets, characterized in that, Includes the following steps: Obtain the 3D model corresponding to the electronic nautical chart sheet and denote it as the nautical chart 3D model; perform feature extraction processing on the nautical chart 3D model based on the elements contained in the electronic nautical chart sheet, and obtain the nautical chart sub-model corresponding to each element based on the result of feature extraction processing. The elements include geographic elements, navigation elements and hydrological elements. Analyze all chart sub-models and obtain the connection model for each chart sub-model based on the analysis results; analyze the connection model based on the chart sub-models and obtain the connection preference for each connection model based on the analysis results; Elements invoked when using electronic nautical chart sheets are denoted as real-time analysis elements, and the corresponding chart sub-models are denoted as hierarchical models. Based on the hierarchical models and the connection preferences of the corresponding connection models, the 3D nautical chart model is hierarchically processed, and the hierarchically processed 3D nautical chart model is displayed on the web. All chart sub-models are analyzed, and the connection model for each chart sub-model is obtained based on the analysis results. The connection models are then analyzed based on the chart sub-models, and the connection preferences for each connection model are obtained based on the analysis results, including: For any two elements, the corresponding chart sub-models α and β are placed in the same blank chart 3D coordinate system, and the model where the chart sub-models α and β coincide is called the connecting model. For chart submodel α or chart submodel β: the corresponding chart slice models are denoted as chart slice model HQ1 to chart slice model HQ, respectively. r Where r is the number of chart tile models corresponding to the chart sub-model; for any chart tile model HQ t When the nautical chart slice model HQ t When there is an overlapping area with the connection model, the nautical chart slice model HQ will be used. t The region that overlaps with the connecting model is denoted as the slice overlap model; the volume of the slice overlap model is denoted as v, and the number of element labels of the elements corresponding to the nautical chart sub-models contained in the slice overlap model is denoted as u, where t is a positive integer less than or equal to r and greater than or equal to 1; When the nautical chart slice model HQ t When there is no overlapping area with the connection model, the nautical chart slice model HQ is used. t This is denoted as an unrelated model; the value of r divided by the number of unrelated models in all nautical chart slice models is denoted as the unrelated proportion. Establish a Cartesian coordinate system, denoted as the preference comparison coordinate system, where the X-axis and Y-axis are constant axes. In the preference scale coordinate system, establish three rays with the origin as the endpoint, denoted as γ1, γ2, and γ3 respectively. The acute angle formed by γ1 and γ2 at the origin is 60°, the acute angle formed by γ1 and γ3 at the origin is 60°, and γ2 and γ3 do not coincide. In γ1, a point with a distance of V from the origin is obtained and denoted as a volume point. In γ2, a point with a distance of U from the origin is obtained and denoted as a coincidence quantity point. In γ3, a point with a distance of no correlation scale from the origin is obtained and denoted as a scale point. Here, V is the sum of v corresponding to all chart tile models that are not denoted as no correlation models, and U is the sum of u corresponding to all chart tile models that are not denoted as no correlation models. The area of the triangle formed by the volume point, the number of overlapping points, and the proportion point is recorded as the preference value; the preference values corresponding to the chart sub-model α and the chart sub-model β are obtained, and the chart sub-model with the largest preference value is recorded as the connection preference of the connection model; Obtain the connection models between the chart sub-models corresponding to all elements, as well as the connection preferences of each connection model.
2. The web-based vectorized layered display method based on electronic nautical chart sheet as described in claim 1, characterized in that, The 3D model of the nautical chart is characterized by feature extraction based on the elements contained in the electronic nautical chart sheet, and the sub-model of the nautical chart corresponding to each element is obtained based on the result of the feature extraction process, including: A spatial coordinate system with all axes in meters is established and denoted as the nautical chart three-dimensional coordinate system. Data corresponding to the electronic nautical chart sheet is read and elevation information is extracted from the data. Interpolation and gridding are used to convert the two-dimensional data corresponding to the electronic nautical chart sheet into three-dimensional terrain data. Three-dimensional modeling technology is used to obtain the three-dimensional model corresponding to the electronic nautical chart sheet in the nautical chart three-dimensional coordinate system, denoted as the nautical chart three-dimensional model. Based on the geographic, navigational, and hydrological elements contained in the electronic nautical chart, a geographic database, a navigational database, and a hydrological database are established to store the data corresponding to the geographic, navigational, and hydrological elements in the electronic nautical chart. The 3D nautical chart model is characterized by feature extraction based on data from geographic databases, navigation databases, and hydrological databases, and the corresponding nautical chart sub-models are obtained based on the processing results.
3. The web-based vectorized layered display method based on electronic nautical chart sheet as described in claim 2, characterized in that, Feature extraction processing includes: For any element among geographic, navigational, and hydrological elements: the data corresponding to the element in the electronic chart sheet is recorded as element data, and the labeled objects corresponding to the element data in the electronic chart sheet are recorded as element labels; the positions of all element labels are marked in the three-dimensional coordinate system of the chart. Based on GeoServer, vector tiles corresponding to the electronic nautical chart sheet are obtained. When generating vector tiles, the vector tiles corresponding to each element marker generated from the electronic nautical chart sheet are obtained based on the position data of the element markers of all elements, and are recorded as the marker tiles of the element markers.
4. The web-based vectorized layered display method based on electronic nautical chart sheet as described in claim 3, characterized in that, Feature extraction processing also includes: For any one of the geographic, navigational, and hydrological elements: obtain the data of the electronic chart sheet contained in each labeled tile and record it as the chart tile data of the labeled tile; obtain the model corresponding to the chart tile data in the 3D chart model and record it as the chart tile model; Place the chart tile models corresponding to all the labeled tiles of the element in the same blank chart 3D coordinate system, and denote the 3D model in the chart 3D coordinate system at this time as the chart sub-model of the element. Obtain the corresponding nautical chart sub-models for geographic features, navigation features, and hydrological features respectively.
5. A web-based vectorized layered display method based on electronic nautical chart sheets according to claim 4, characterized in that, Based on the hierarchical model and the connection preferences of the corresponding connection model, the 3D nautical chart model is hierarchically processed, and the hierarchically processed 3D nautical chart model is displayed on the web, including: Import the 3D model of the nautical chart into the web for browsing; when using the electronic nautical chart sheet, the elements called in the electronic nautical chart sheet will be recorded as real-time analysis elements, and the nautical chart sub-models corresponding to the real-time analysis elements will be recorded as hierarchical models; Obtain all connecting models corresponding to the hierarchical model and record them as models to be added; for any model to be added: when the connecting preference of the model to be added is a hierarchical model, record the model to be added as a same-layer application model; when the connecting preference of the model to be added is not a hierarchical model, record the model to be added as a different-layer application model. Layering is performed on the 3D model of nautical charts in the web.
6. The web-based vectorized layered display method based on electronic nautical chart sheets according to claim 5, characterized in that, Layered processing includes a primary layer and secondary layers. The primary layer includes: When a same-layer application model exists, the same-layer application model and the layerable model within the 3D model of the nautical chart in the web are separated from the 3D model of the nautical chart and recorded as the calling application model; when no same-layer application model exists, the layerable model within the 3D model of the nautical chart in the web is separated from the 3D model of the nautical chart. The calling application model is the model corresponding to the element called by the user.
7. A web-based vectorized layered display method based on electronic nautical chart sheets according to claim 6, characterized in that, Second-level sub-stratification includes: When heterogeneous application models exist, all heterogeneous application models are separated from the 3D nautical chart model and recorded as related layer models that are independent of the calling application models. The related layer model is a model that is associated with the element called by the user. Models outside the calling application model and the associated layer model in the web 3D nautical chart model are denoted as unassociated models. Based on the existence of nautical tile models corresponding to all element labels in the unassociated models, the unassociated models are layered. After the unassociated models are layered, each layer corresponds to a nautical tile model with one element label.
Citation Information
Patent Citations
Electronic chart quick display method based on Web browser
CN118503567A
Three-dimensional numerical simulation system and method for simulating seabed sand wave evolution under complex conditions
CN118260910A
Multi-source marine geological information fusion and three-dimensional visualization modeling method
CN118918283A