VCF nautical chart self-adaptive scheduling display method based on sheet space relation

Through the adaptive scheduling display method based on the spatial relationship of the charts, the problem of VCF chart overlay display is solved, efficient organization and extraction of chart data is achieved, and the usability and display efficiency of charts are improved.

CN118733175APending Publication Date: 2024-10-01THE 28TH RES INST OF CHINA ELECTRONICS TECH GROUP CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410834286.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The multi-scale and multi-frame superimposed display of VCF charts in the existing technology leads to confusing information display and affects application promotion.

Method used

Adopting an adaptive scheduling display method based on the spatial relationship of the map frame, by reading the map frame element information, generating the map frame spatial range geometry, creating the map frame element information table, constructing the chart frame scheduling model, extracting the chart data and drawing , ensure that there is only a single VCF chart data under the viewport.

Benefits of technology

It realizes the unified organization and efficient extraction of chart data, solves the problem of VCF chart overlay display, and improves the usability and display efficiency of charts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733175A_ABST
    Figure CN118733175A_ABST
Patent Text Reader

Abstract

The invention provides a VCF (Vertical Cavity Filter) nautical chart adaptive scheduling display method based on a mapsheet spatial relationship, which comprises the following steps: reading mapsheet meta information, generating a mapsheet spatial range geometry and creating a mapsheet meta information table from a VCF nautical chart; constructing a sea chart sheet scheduling model which is used for scheduling and outputting a to-be-drawn sheet according to the input viewport range; creating a nautical chart data table of different element combinations according to the elements of the nautical chart; creating a nautical chart data extraction model for extracting nautical chart data from the nautical chart data table according to the sheet meta-information; and drawing based on the nautical chart data to complete the VCF nautical chart self-adaptive scheduling display based on the mapsheet space relationship. According to the method, automatic selection of the sea chart sheet in any display range can be realized, the problem of overlapping of elements of different sheets and different scales is avoided, the accuracy of VCF sea chart data display is improved, manual intervention is not needed, and rapid deployment and use of the VCF sea chart can be effectively supported.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method for adaptively scheduling and displaying VCF charts, in particular to a method for adaptively scheduling and displaying VCF charts based on the spatial relationship of chart sheets. Background Art

[0002] With the increasing frequency of ocean-related activities, the use of VCF (Vector Chart Format) charts is very extensive in the associated information systems. At present, there are problems of superimposed display of multi-scale and multi-chart-sheet VCF charts in information systems, resulting in chaotic display of chart information and affecting the application and popularization of VCF charts. Summary of the Invention

[0003] Object of the Invention: The technical problem to be solved by the present invention is to provide a method for adaptively scheduling and displaying VCF charts based on the spatial relationship of chart sheets in view of the deficiencies of the prior art.

[0004] To solve the above technical problem, the present invention discloses a method for adaptively scheduling and displaying VCF charts based on the spatial relationship of chart sheets, including the following steps:

[0005] Step 1: Read the chart-sheet meta-information from the VCF chart, generate a geometric body of the spatial range of the chart sheet, and create a chart-sheet meta-information table;

[0006] Step 2: Construct a chart-sheet scheduling model of the chart based on the chart-sheet meta-information table and the spatial relationship of chart sheets: used to schedule and output the chart sheets to be drawn according to the input viewport range;

[0007] Step 3: Create a chart data table with different element combinations according to the elements of the chart;

[0008] Step 4: Create a chart data extraction model for extracting chart data from the chart data table according to the chart-sheet meta-information;

[0009] Step 5: Perform drawing based on the chart data extracted in Step 4 to complete the adaptive scheduling and display of the VCF chart based on the spatial relationship of chart sheets.

[0010] Further, the chart-sheet meta-information in Step 1 includes: chart-sheet number th i (0 < i < n), chart-sheet scale scale i , longitude coordinate Lon of the left boundary of the chart sheet min , longitude coordinate Lon of the right boundary of the chart sheet max , latitude coordinate Lat of the lower boundary of the chart sheet min and latitude coordinate Lat of the upper boundary of the chart sheet max , where th irepresents the i-th map sheet, and n represents the number of map sheets.

[0011] Furthermore, the step 1 of generating the map space extent geometry is to generate the map space extent geometry based on the map coordinate range. th , as follows:

[0013] extent th ={(Lon min ,Lat max ),(Lon max ,Lat max ),(Lon max ,Lat min ),(Lon min ,Lat min ),(Lon min ,Lat max )}.

[0015] Furthermore, the creation of the map metadata table described in step 1 specifically includes:

[0016] Step 1-1, create a metatable to record the meta information of the map sheet and use the map sheet number th i is the primary key;

[0017] Step 1-2: Set the image space range geometry extent th With the map number th i One-to-one correspondence is recorded in the map metadata table.

[0018] Furthermore, the construction of the chart sheet scheduling model based on the chart sheet metadata table and the chart sheet spatial relationship described in step 2 specifically includes:

[0019] Step 2-1, enter the current viewport map display range, according to the map space range geometry extent th The generation method generates the viewport space range geometry extent screen ;

[0020] Step 2-2: Extract the geometric body extent that satisfies the spatial range of the map th Contains the viewport space geometry extent screen Conditional image set th =(th 1 ,th 2 ,…,th n ), as follows:

[0021]

[0022] Among them, n Indicates the nth image frame, th minx Indicates the minimum horizontal coordinate of the image space range, screen minx Indicates the minimum horizontal coordinate of the viewport space range, th maxx Indicates the maximum horizontal coordinate of the image space range, screen maxx Indicates the maximum horizontal coordinate of the viewport space range, th miny Indicates the minimum vertical coordinate of the image space range, screen miny Indicates the minimum vertical coordinate of the viewport space range, th maxy Indicates the maximum vertical coordinate of the image space range, screen maxy Indicates the maximum vertical coordinate of the viewport space range;

[0023] Step 2-3: If the image set set obtained in step 2-2 th If it is empty, execute steps 2-4, otherwise execute steps 2-5;

[0024] Step 2-4: Extract the geometric body extent that satisfies the spatial range of the map th Geometry extent with viewport space screen The map sheets of the intersection conditions are recorded in the map sheet set th middle;

[0025] Step 2-5: Use the map sheet number th i As the index, get the corresponding scale scale of the numbered map from the map metatable information table i , in the image set set th The map with the smallest scale is retained as the map to be drawn, and other maps are cleared.

[0026] Furthermore, the step 3 of creating a series of nautical chart data tables specifically includes:

[0027] Step 3-1, create different combinations of chart data tables based on the three elements of VCF chart data classification, geometric classification and scale;

[0028] Step 3-2: Input VCF chart data organized with map sheets as basic units, and divide each map sheet into the unique corresponding chart data table according to the above elements.

[0029] Furthermore, the chart data extraction model described in step 4 specifically includes:

[0030] Step 4-1: Based on the map set generated in step 2 th , with the map number thi As the index, get the corresponding scale of the map from the map metatable i ;

[0031] Step 4-2: Scale of the map obtained in step 4-1 i Find the datatable of the nautical chart corresponding to the scale;

[0032] Step 4-3: Based on the chart sheet number, query the chart data of the corresponding chart sheet from the chart data table datatable obtained in step 4-2.

[0033] Furthermore, the drawing described in step 5 specifically includes:

[0034] Based on the nautical chart data obtained in step 4-3, the nautical chart is drawn using a data drawing engine.

[0035] Furthermore, the extraction described in steps 2-4 satisfies the geometric body extent of the image space. th Geometry extent with viewport space screen The specific method of the intersection condition is as follows:

[0036]

[0038] Furthermore, the data drawing engine described in step 5 includes: a GDI+ or QT data drawing engine.

[0039] Beneficial effects:

[0040] (1) The map meta-information table is used to organize the map meta-information, so as to realize the unified organization of the chart data and facilitate the query of VCF chart data information.

[0041] (2) A chart data extraction model is used to ensure the speed of chart data extraction and improve the efficiency of VCF chart display and drawing.

[0042] (3) An automatic chart scheduling model is adopted to ensure that only a single VCF chart data exists in the viewport, which solves the problem of VCF chart overlay display and improves the usability of VCF charts. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0044] The advantages of this or other aspects will become clearer.

[0045] Figure 1 It is a flow chart of the method of the present invention.

[0046] Figure 2 This is an example diagram of the image frame metadata generated by the method of the present invention.

[0047] Figure 3 is an example diagram of data representation generated in the method of the present invention. DETAILED DESCRIPTION

[0048] like Figure 1 As shown, the present invention proposes a VCF chart adaptive scheduling display method based on the spatial relationship of the chart, which includes the following steps:

[0049] Step 1: Read the map metadata, generate the map space range geometry, and create a map metadata table;

[0050] Step 2: Based on the map sheet metadata table and the map sheet spatial relationship, a chart sheet scheduling model is constructed, and the map sheets to be drawn are scheduled and output according to the input viewport range;

[0051] Step 3: Create a series of chart data tables based on the three elements of chart data classification, geometric classification and scale.

[0052] Step 4: Create a chart data extraction model to extract chart data from the chart data table based on the chart metadata.

[0053] Step 5: Complete the drawing based on the extracted chart data.

[0054] Step 1 includes:

[0055] Step 1-1, read the map metadata file, extract the map metadata including the map number th, map scale scale, and the longitude coordinate Lon of the left edge of the map min , Longitude coordinate of the right border of the map sheet Lon max , Lat coordinate of the lower boundary of the map sheet min , Lat coordinate of the upper boundary of the map sheet max ;

[0056] Step 1-2: Create a metatable for the map sheet, such as Figure 2 As shown, the map sheet meta information read from the map sheet meta information file is recorded, with the map sheet number as the primary key;

[0057] Step 1-3: Generate the map space extent geometry based on the map coordinate range according to the following formula th , and are recorded in the map sheet metadata table in one-to-one correspondence with the map sheet number.

[0059] extent th ={(Lon min ,Lat max),(Lon max ,Lat max ),(Lon max ,Lat min ),(Lon min ,Lat min ),(Lon min ,Lat max )}

[0060] Step 2 includes:

[0061] Step 2-1, input the current viewport map display range, and generate the viewport space range geometry extent according to the formula in step 1-3 screen ={(110.5,25),(111,25),(111,20),(110.5,20),(110.5,25)};

[0062] Step 2-2: Extract the geometric body extent that satisfies the spatial range of the map according to the following formula th Contains the viewport space geometry extent screen Conditional image set th =(4808);

[0063]

[0064] Step 2-3: If the image set set obtained in step 2-2 th If it is empty, extract the geometric body that meets the spatial range of the map according to the following formula th Geometry extent with viewport space screen The map sheets with intersection conditions, enter the relevant map sheets into the set th middle;

[0065]

[0066] Step 2-4: If the image set set obtained in step 2-2 th Not empty, use the map sheet number 4808 as the index to obtain the corresponding scale 100000 of the map sheet from the map sheet metatable information table, in the map sheet set th Keep the map with the smallest scale and clear the other maps.

[0067] Step 3 includes:

[0068] Step 3-1, create a series of nautical chart data tables based on 22 data classifications, three geometric classifications and three elements of scale of VCF charts;

[0069] Step 3-2: Input VCF chart data organized by chart sheet as the basic unit, and organize different chart sheet data into chart data tables uniquely marked by data classification, geometric classification and scale, such as Figure 3 shown.

[0070] Step 4 includes:

[0071] Step 4-1: Based on the map set generated in step 2-3 or step 2-4 th , use the map sheet number 4808 as the index to obtain the corresponding scale 100000 of the map sheet from the map sheet metatable;

[0072] Step 4-2: Scale of the map obtained in step 4-1 i Find the chart data table corresponding to the scale;

[0073] Step 4-3: The chart data table obtained from step 4-2 based on the chart sheet number (see Figure 3 ) to query the nautical chart data of the corresponding sheet.

[0074] Step 5 includes:

[0075] Step 5-1: Based on the nautical chart data obtained in step 4-3, the nautical chart is drawn using the QT data drawing engine.

[0076] Example:

[0077] The present invention is further described in detail below in conjunction with embodiments:

[0078] This example relies on the existing two-dimensional map display system, integrates the VCF chart automatic scheduling model based on the spatial relationship of the chart sheets, and adopts the VCF chart drawing engine to realize the automatic scheduling and display of VCF charts. It can not only realize the drawing and display of VCF charts. The chart data extraction model is adopted to ensure the speed of chart data extraction and improve the efficiency of VCF chart display and drawing. The chart automatic scheduling model is adopted to ensure that there is only a single VCF chart data under the viewport, solve the problem of VCF chart overlay display, and improve the usability of VCF charts.

[0079] The flowchart of this example is as follows Figure 1 As shown, the map sheet metadata is input to generate a map sheet metadata table, a VCF chart sheet scheduling model is created according to the map display range, the chart data is integrated to create a chart data table, the VCF chart data extraction model is used to extract the chart data, and the display drawing is completed.

[0080] (1) Read the map metadata, generate the map spatial range geometry, and create a map metadata table;

[0081] (2) Based on the map sheet metadata table and the spatial relationship of the map sheets, a chart sheet scheduling model is constructed to schedule and output the map sheets to be drawn according to the input viewport range;

[0082] (3) Create a series of nautical chart data tables based on the three elements of nautical chart data classification, geometric classification and scale.

[0083] (4) Create a chart data extraction model to extract chart data from the chart data table based on the chart metadata.

[0084] (5) Complete the drawing based on the extracted chart data.

[0085] In a specific implementation, the present application provides a computer storage medium and a corresponding data processing unit, wherein the computer storage medium can store a computer program, and when the computer program is executed by the data processing unit, the invention content of the method for adaptive scheduling and displaying a VCF chart based on the spatial relationship of the chart provided by the present invention and some or all of the steps in each embodiment can be run. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0086] Those skilled in the art can clearly understand that the technical solutions in the embodiments of the present invention can be implemented by means of computer programs and their corresponding general hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention are essentially or partly contributed to the prior art can be embodied in the form of a computer program, i.e., a software product, which can be stored in a storage medium and includes several instructions for enabling a device including a data processing unit (which can be a personal computer, a server, a single-chip microcomputer, a MUU or a network device, etc.) to execute the methods described in various embodiments of the present invention or certain parts of the embodiments.

[0087] The present invention provides a method and idea for a VCF chart adaptive scheduling display method based on the spatial relationship of the chart. There are many methods and ways to implement the technical solution. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention. All components not specified in this embodiment can be implemented by existing technologies.

Claims

1. A method for adaptive scheduling and display of VCF charts based on spatial relationship of chart sheets. It is characterized in that The steps include: Step 1: read the map metadata from the VCF chart, generate the map space range geometry, and create a map metadata table; Step 2: construct a chart sheet scheduling model based on the chart sheet metadata table and the chart sheet spatial relationship: used to schedule and output the chart sheet to be drawn according to the input viewport range; Step 3: Create a chart data table with different combinations of elements based on the elements of the chart; Step 4: Create a chart data extraction model to extract chart data from the chart data table based on the chart metadata; Step 5: Draw based on the chart data extracted in step 4 to complete the adaptive scheduling display of the VCF chart based on the spatial relationship of the chart sheets.

2. According to claim 1, a VCF chart adaptive scheduling display method based on the spatial relationship of the chart, It is characterized in that The map sheet metadata described in Step 1 includes: map sheet number th i (0 < i < n), map sheet scale scale i , longitude coordinate Lon of the left boundary of the map sheet min , longitude coordinate Lin of the right boundary of the map sheet max , latitude coordinate Lat of the lower boundary of the map sheet min and latitude coordinate Lat of the upper boundary of the map sheet max , where th i represents the i-th map sheet, and n represents the number of map sheets.

3. According to claim 2, a VCF chart adaptive scheduling display method based on the spatial relationship of the chart, It is characterized in that Generate the map space extent geometry described in step 1, that is, generate the map space extent geometry extent based on the map coordinate range th , as follows: extent th ={(Lon min ,Years max ),(Lon max ,Years max ),(Lon max ,Years min ),(Lon min ,Years min ),(Lon min ,Years max )}。 4. According to claim 3, a VCF chart adaptive scheduling display method based on the spatial relationship of the chart, It is characterized in that The creation of the map metadata table described in step 1 specifically includes: Step 1-1, create a metatable to record the meta information of the map sheet and use the map sheet number th i is the primary key; Step 1-2: Set the image space range geometry extent th With the map number th i One-to-one correspondence is recorded in the map metadata table.

5. According to claim 4, a VCF chart adaptive scheduling display method based on the spatial relationship of the chart, It is characterized in that The step 2 of constructing a chart sheet scheduling model based on the chart sheet metadata table and the chart sheet spatial relationship specifically includes: Step 2-1, enter the current viewport map display range, according to the map space range geometry exten th The generation method generates the viewport space range geometry extent screen ; Step 2-2: Extract the geometric body extent that satisfies the spatial range of the map th Contains the viewport space geometry extent screen Conditional image set th =(th 1 ,th 2 ,…,th n ), as follows: Among them, n Indicates the nth image frame, th minx Indicates the minimum horizontal coordinate of the image space range, screen minx Indicates the minimum horizontal coordinate of the viewport space range, th maxx Indicates the maximum horizontal coordinate of the image space range, screen maxx Indicates the maximum horizontal coordinate of the viewport space range, th miny Indicates the minimum vertical coordinate of the image space range, screen miny Indicates the minimum vertical coordinate of the viewport space range, th maxy Indicates the maximum vertical coordinate of the image space range, screen maxy Indicates the maximum vertical coordinate of the viewport space range; Step 2-3: If the image set set obtained in step 2-2 th If it is empty, execute steps 2-4, otherwise execute steps 2-5; Step 2-4: Extract the geometric body extent that satisfies the spatial range of the map th Geometry extent with viewport space screen The map sheets of the intersection conditions are recorded in the map sheet set th middle; Step 2-5: Use the map sheet number th i As the index, get the corresponding scale scale of the numbered map from the map metatable information table i , in the image set set th The map with the smallest scale is retained as the map to be drawn, and other maps are cleared.

6. A VCF chart adaptive scheduling display method based on the spatial relationship of the chart according to claim 5, It is characterized in that The step 3 of creating a series of nautical chart data tables specifically includes: Step 3-1, create different combinations of chart data tables based on the three elements of VCF chart data classification, geometric classification and scale; Step 3-2: Input VCF chart data organized with map sheets as basic units, and divide each map sheet into the unique corresponding chart data table according to the above elements.

7. A VCF chart adaptive scheduling and display method based on the spatial relationship of chart frames according to claim 6, It is characterized in that The chart data extraction model described in step 4 specifically includes: Step 4-1: Based on the map set se generated in step 2 th , with the map number th i As the index, get the corresponding scale of the map sheet from the map sheet metatable i ; Step 4-2: Scale of the map obtained in step 4-1 i Find the datatable of the nautical chart corresponding to the scale; Step 4-3: Based on the chart sheet number, query the chart data of the corresponding chart sheet from the chart data table datatable obtained in step 4-2.

8. The method for adaptively scheduling and displaying VCF charts based on spatial relationship of chart frames according to claim 7, It is characterized in that The drawing described in step 5 includes: Based on the nautical chart data obtained in step 4-3, the nautical chart is drawn using a data drawing engine.

9. A VCF chart adaptive scheduling display method based on the spatial relationship of the chart according to claim 8, It is characterized in that Extract the geometry that meets the spatial range of the map described in steps 2-4 th Geometry extent with viewport space screen The specific method of the intersection condition is as follows:

10. A VCF chart adaptive scheduling and display method based on the spatial relationship of chart sheets according to claim 9, It is characterized in that The data drawing engine described in step 5 includes: a GDI+ or QT data drawing engine.