CN112269782B - Multi-chart display method and system based on electronic chart - Google Patents

Multi-chart display method and system based on electronic chart Download PDF

Info

Publication number
CN112269782B
CN112269782B CN202011121045.6A CN202011121045A CN112269782B CN 112269782 B CN112269782 B CN 112269782B CN 202011121045 A CN202011121045 A CN 202011121045A CN 112269782 B CN112269782 B CN 112269782B
Authority
CN
China
Prior art keywords
electronic chart
range
electronic
scale
level
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011121045.6A
Other languages
Chinese (zh)
Other versions
CN112269782A (en
Inventor
王晓原
夏媛媛
姜雨函
董晓斐
李清源
潘金磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Navigation Brilliance Qingdao Technology Co Ltd
Original Assignee
Navigation Brilliance Qingdao Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Navigation Brilliance Qingdao Technology Co Ltd filed Critical Navigation Brilliance Qingdao Technology Co Ltd
Priority to CN202011121045.6A priority Critical patent/CN112269782B/en
Publication of CN112269782A publication Critical patent/CN112269782A/en
Application granted granted Critical
Publication of CN112269782B publication Critical patent/CN112269782B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2453Query optimisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a method and a system for displaying multiple charts based on an electronic chart, wherein the method comprises the following steps: s1, acquiring a plurality of electronic charts, and determining the grade of each electronic chart; s2, establishing an R-tree index aiming at one or more electronic charts at each level; s3, determining a query level and a query range; s4, determining the electronic chart corresponding to the query level and the query range in the R-tree index, and storing the corresponding electronic chart into a memory; s5, displaying the range of the electronic chart which is repeated with the query range in the electronic charts at the level corresponding to the query level, and deleting the range of the electronic charts in the memory except the range of the electronic chart which is repeated with the query range; s6, judging whether a vacant area exists in the electronic chart window; if yes, the previous level of the electronic chart displayed in the electronic chart window is used as a new query level, the vacant area in the electronic chart window is used as a new query range, and the step S4 is returned.

Description

Multi-chart display method and system based on electronic chart
Technical Field
The invention relates to the technical field of navigation, in particular to a method and a system for displaying multiple charts based on an electronic chart.
Background
In the navigation process of the ship, a plurality of electronic charts with different scales are needed, and because the different electronic charts are intersected and contained, the different charts can be overlapped when the charts are loaded on the electronic charts, and the chart data concerned under different display scales are different. Because different electronic charts may be loaded after the electronic charts are translated, enlarged and reduced, if the chart data is inquired first and then the chart is drawn in the electronic chart view, the required chart data is inquired first and then the chart data is inquired in the magnetic disk in the process, and the electronic charts cannot be operated smoothly due to the fact that the electronic charts are stuck during operation. Therefore, the problem of selecting electronic charts with different scales is involved in the display process, and when the number of the electronic charts is large, the speed of searching the electronic charts in the designated area is low.
Disclosure of Invention
Technical problem to be solved
In view of the above disadvantages and shortcomings of the prior art, the present invention provides a method and a system for displaying multiple charts based on electronic charts, which solves the technical problem of slow chart displaying speed in a designated area.
(II) technical scheme
In order to achieve the purpose, the invention adopts the main technical scheme that:
in a first aspect, an embodiment of the present invention provides a method for displaying multiple charts based on an electronic chart, including:
s1, acquiring a plurality of electronic charts, and determining the grade of each electronic chart according to the scale of the electronic charts;
s2, establishing a corresponding R-tree index for each electronic chart in each level;
s3, determining a query level according to the scale of the electronic chart window, and taking the range of the electronic chart window as a query range;
s4, determining a first electronic chart corresponding to the query level and the query range from the plurality of electronic charts according to the R-tree index, and storing the first electronic chart into a preset memory;
wherein the first electronic chart is an electronic chart with a range which is repeated with the query range in the electronic charts with the levels corresponding to the query levels;
s5, based on the first electronic chart in the memory, displaying the range of the electronic chart which is repeated with the query range in the first electronic chart in an electronic chart window, and deleting the range of the electronic chart which is not repeated with the query range in the first electronic chart in the memory;
s6, judging whether a vacant area exists in the electronic chart window;
the vacant areas are as follows: the area without the electronic chart in the electronic chart window;
if yes, the previous level of the electronic chart displayed in the electronic chart window is used as a new query level, the vacant area in the electronic chart window is used as a new query range, and the step S4 is returned.
Preferably, the determining the level of each electronic chart in step S1 according to a scale of the electronic chart specifically includes:
judging whether the scale of the electronic chart is in the range of a preset first scale, the range of a preset second scale, the range of a preset third scale, the range of a preset fourth scale or the range of a preset fifth scale;
the range of the preset first scale is larger than that of the preset second scale; the range of the preset second scale is larger than the range of the preset third scale; the range of the preset third scale is larger than the range of the preset fourth scale; the range of the preset fourth scale is larger than the range of the preset fifth scale;
if the electronic chart is within the range of a preset first scale, determining the level of the electronic chart as a first level;
if the electronic chart is within the range of a preset second scale, determining the level of the electronic chart as a second level;
if the electronic chart is within the range of a preset third scale, determining the level of the electronic chart as a third level;
if the electronic chart is within the range of a preset fourth scale, determining the level of the electronic chart as a fourth level;
and if the electronic chart is within the range of a preset fifth scale, determining the level of the electronic chart as a fifth level.
Preferably, the step S4 includes:
s41, determining an electronic chart of a level corresponding to the query level in the R-tree index according to the query level;
and S42, determining the electronic chart with the range which is repeated with the query range in the electronic charts with the levels corresponding to the query levels according to the query range, and storing the electronic chart with the range which is repeated with the query range in a preset memory.
Preferably, the method further comprises the following steps:
s7, if no vacant area exists in the electronic chart window, receiving an operation instruction of a user, and displaying a range of the electronic chart corresponding to the operation instruction of the user in the chart window;
the operation instruction of the user comprises the following steps: an instruction of the user to move the electronic chart displayed in the chart window and/or an instruction of the user to enlarge or reduce the scale of the chart window.
Preferably, the step S7 includes:
if no vacant area exists in the electronic chart window, after an instruction of moving the electronic chart displayed in the chart window by a user is received, moving the electronic chart displayed in the chart window, acquiring the vacant area in the electronic chart window, and taking the vacant area in the electronic chart window as a new query range;
and returning to the step S4 based on the new query range and the query level corresponding to the electronic chart window scale.
Preferably, the step S7 includes:
if no vacant area exists in the electronic chart window, after an instruction of a user for amplifying or reducing the scale of the chart window is received, the scale of the electronic chart window is amplified or reduced according to the instruction of the user for amplifying or reducing the scale of the chart window to obtain a new scale of the chart window, and a new query level is obtained according to the new scale of the chart window;
judging whether the new query level is the same as the query level corresponding to the scale of the electronic chart window before an instruction for a user to carry out a method or reduce the scale of the chart window is received;
if the query ranges are different, determining a new query range according to the range of the chart window;
and returning to the step S4 according to the new query level and the new query range.
Preferably, the step S7 further includes:
if the electronic chart window is the same as the electronic chart window, judging whether the electronic chart window has a vacant part;
if yes, the vacant part in the electronic chart window is used as a new query range, and the step S4 is returned based on the new query level and the new query range.
Preferably, the step S2 specifically includes:
and aiming at each electronic chart in each level of electronic charts, establishing a corresponding R-tree index according to the geographical range corresponding to each electronic chart.
In a second aspect, an embodiment of the present invention provides a multi-chart data display system based on an electronic chart, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein the memory stores program instructions executable by the processor, and the processor invokes the program instructions to perform any of the electronic chart-based multi-chart data display methods described above.
(III) advantageous effects
The beneficial effects of the invention are: according to the method for displaying the plurality of charts based on the electronic charts, the corresponding R-tree index is established for each electronic chart, so that compared with the prior art, the chart query process can be accelerated, and then the electronic charts corresponding to the query level and the query range are stored in the preset memory, so that compared with the prior art, the chart operation can be smooth and is not stuck.
Drawings
Fig. 1 is a flow chart of a method for displaying data of a plurality of charts based on an electronic chart according to the present invention;
FIG. 2 is a schematic diagram of a method for displaying data of a plurality of charts based on an electronic chart according to the present invention;
FIG. 3 is a diagram illustrating a relationship between an electronic chart and query levels and query ranges according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a vacant area in an embodiment of the present invention;
FIG. 5 is a schematic diagram of an electronic chart in an electronic chart window before an instruction for a user to move the electronic chart displayed in the chart window is received in the embodiment of the present invention;
fig. 6 is a schematic diagram of an electronic chart in an electronic chart window after receiving an instruction from a user to move the electronic chart displayed in the chart window according to the embodiment of the present invention.
[ description of reference ]
1: electronic chart 1;
2: an electronic chart 2;
3: an electronic chart 3;
4: electronic chart 4;
5: electronic chart 5;
6: electronic chart 6;
7: electronic chart 7;
8: electronic chart 8.
Detailed Description
For the purpose of better explaining the present invention and to facilitate understanding, the present invention will be described in detail by way of specific embodiments with reference to the accompanying drawings.
In order to better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Referring to fig. 1 and fig. 2, in the present embodiment, a method for displaying multiple charts based on an electronic chart is provided, including:
s1, acquiring a plurality of electronic charts, and determining the grade of each electronic chart according to the scale of the electronic charts.
In this embodiment, in step S1, determining the level of each electronic chart according to the scale of the electronic chart, specifically including:
and judging whether the scale of the electronic chart is in the range of a preset first scale, the range of a preset second scale, the range of a preset third scale, the range of a preset fourth scale or the range of a preset fifth scale.
The range of the preset first scale is larger than the range of the preset second scale; the range of the preset second scale is larger than the range of the preset third scale; the range of the preset third scale is larger than the range of the preset fourth scale; the range of the preset fourth scale is larger than the range of the preset fifth scale.
And if the electronic chart is within the range of a preset first scale, determining the level of the electronic chart as a first level.
And if the electronic chart is within the range of the preset second scale, determining the level of the electronic chart as a second level.
And if the electronic chart is within the range of a preset third scale, determining the level of the electronic chart as a third level.
And if the electronic chart is within the range of a preset fourth scale, determining the level of the electronic chart as a fourth level.
And if the electronic chart is within the range of a preset fifth scale, determining the level of the electronic chart as a fifth level.
S2, establishing a corresponding R-tree index for each electronic chart in each level.
And S3, determining the query level according to the scale of the electronic chart window, and taking the range of the electronic chart window as the query range.
And S4, determining a first electronic chart corresponding to the query level and the query range from the plurality of electronic charts according to the R-tree index, and storing the first electronic chart into a preset memory.
And the first electronic chart is an electronic chart with a range which is repeated with the query range in the electronic charts with the levels corresponding to the query levels.
In practical application of this embodiment, the step S4 includes:
s41, according to the query level, determining the electronic chart of the level corresponding to the query level in the R-tree index.
And S42, determining the electronic chart with the repeated range with the query range in the electronic charts with the levels corresponding to the query levels according to the query range, and storing the electronic chart with the repeated range with the query range into a preset memory.
For example, referring to fig. 3, assume that the electronic chart determined as the first level has: electronic chart 1, electronic chart 2, electronic chart 3; then, if the current query level is the first level, determining the electronic chart of the level corresponding to the query level in the R-tree index, namely the electronic chart 1, the electronic chart 2 and the electronic chart 3. Then, the query range is spatially intersected with the electronic chart 1, the electronic chart 2 and the electronic chart 3, and only the electronic chart 1 and the electronic chart 2 have a repeated range with the query range in fig. 3, so that the electronic chart 1 and the electronic chart 2 are stored in a preset memory.
And S5, displaying the range of the electronic chart which is repeated with the query range in the first electronic chart in an electronic chart window based on the first electronic chart in the memory, and deleting the range of the electronic chart which is not repeated with the query range in the first electronic chart in the memory.
For example, referring to fig. 3, only the query range (the range of the electronic chart window) and the electronic chart range overlapping with the electronic chart 1 and the electronic chart 2 are displayed in the electronic chart window, and then the range not overlapping with the query range in the electronic chart 1 and the electronic chart 2 in the memory and the electronic chart 3 are deleted.
And S6, judging whether the electronic chart window has a vacant area.
The vacant areas are as follows: the electronic chart window has no area of the electronic chart.
If yes, taking the previous level of the electronic chart displayed in the electronic chart window as a new query level, taking the vacant area in the electronic chart window as a new query range, and returning to the step S4.
For example, referring to fig. 4, assuming that the electronic chart that has been determined as the second level has the electronic chart 4 and the electronic chart 5, if the query level is the second level at this time, the electronic chart of the level corresponding to the query level (the second level), that is, the electronic chart 4 and the electronic chart 5, is determined in the R-tree index. Then, the query range is spatially intersected with the electronic chart 4 and the electronic chart 5, in fig. 4, the electronic chart 4 and the electronic chart 5 have repeated ranges with the query range, but at this time, a vacant region (not the electronic chart 4 nor the electronic chart 5) exists in the chart window, then, the query level is adjusted to the first level (the previous level of the second level), the vacant region is used as a new query range, and the step S4 is returned to perform re-query.
In practical application of this embodiment, the method further includes:
s7, if no vacant area exists in the electronic chart window, receiving an operation instruction of a user, and displaying a range of the electronic chart corresponding to the chart operation instruction of the user in the chart window;
the operation instruction of the user comprises the following steps: the electronic chart display method comprises the steps that a user moves an electronic chart displayed in a chart window and the user enlarges or reduces the scale of the chart window.
In practical application of this embodiment, the step S7 includes:
if no vacant area exists in the electronic chart window, after an instruction of moving the electronic chart displayed in the chart window by a user is received, moving the electronic chart displayed in the chart window, acquiring the vacant area in the electronic chart window, and taking the vacant area in the electronic chart window as a new query range.
And returning to the step S4 based on the new query range and the query level corresponding to the electronic chart window scale (namely, taking the highest level in the electronic chart window at present as the new query level).
For example, referring to fig. 5, assume that the electronic chart that has been determined to be the second level has: an electronic chart 6, an electronic chart 7 and an electronic chart 8; then, if the current query level is the second level, the electronic chart of the level (second level) corresponding to the query level is determined in the R-tree index, that is, the electronic charts 6, 7 and 8. Then, the query range is spatially intersected with the electronic chart 6, the electronic chart 7, and the electronic chart 8, and in fig. 5, only the electronic chart 6 and the electronic chart 7 have a range overlapping with the query range, and therefore, the electronic chart 6 and the electronic chart 7 are stored in a preset memory. Then the query scope is displayed in the electronic chart window as an overlap of the electronic charts 6 and 7 before the user moves the electronic chart displayed in the chart window.
Referring to fig. 6, after the user moves the electronic chart displayed in the chart window (after receiving an instruction that the user moves the electronic chart displayed in the chart window), referring to fig. 6, a vacant region appears in the electronic chart window at this time, and therefore, the vacant region is used as a new query range and is used as a query level corresponding to the electronic chart window scale (the highest level in the electronic chart window (in the present case, the highest level is the second level)), and the step S4 is returned to re-query.
In practical application of this embodiment, the step S7 includes:
if no vacant area exists in the electronic chart window, after an instruction of a user for amplifying or reducing the scale of the chart window is received, the scale of the electronic chart window is amplified or reduced according to the instruction of the user for amplifying or reducing the scale of the chart window, a new scale of the chart window is obtained, and a new query level is obtained according to the new scale of the chart window.
And judging whether the new query level is the same as the query level corresponding to the scale of the electronic chart window before an instruction for a user to carry out a method or reduce the scale of the chart window is received.
If not, determining a new query range according to the range of the chart window.
And returning to the step S4 according to the new query level and the new query range.
In practical application of this embodiment, the step S7 further includes:
if the electronic chart window is the same, judging whether the electronic chart window has a vacant part.
If yes, the vacant part in the electronic chart window is used as a new query range, and the step S4 is returned based on the new query level and the new query range.
In practical application of this embodiment, the step S2 specifically includes:
and aiming at each electronic chart in each level of electronic charts, establishing a corresponding R-tree index according to the geographical range corresponding to each electronic chart.
Because different electronic charts are intersected and contained, when the electronic charts are loaded (displayed) in the electronic chart window, the different electronic charts can be overlapped, and the concerned electronic charts are different under different display scales. After the electronic charts with different scales are graded, firstly, the concerned electronic chart under the display scale is accurately selected, secondly, the number of the electronic charts needing to be inquired is reduced, and the chart inquiring speed is increased.
In the method for displaying multiple charts based on the electronic charts in the embodiment, because the corresponding R-tree index is established for each electronic chart, compared with the prior art, the chart query process can be accelerated, and then the electronic charts corresponding to the query level and the query range are stored in the preset memory, so that the chart operation is smooth and not stuck compared with the prior art.
The present embodiment further provides a multi-chart display system based on an electronic chart, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein the memory stores program instructions executable by the processor, and wherein the processor invokes the program instructions to perform any of the electronic chart-based chart display methods described above.
In the multi-chart display system based on the electronic charts in the embodiment, because the corresponding R-tree index is established for each electronic chart, compared with the prior art, the chart query process can be accelerated, and then the electronic charts corresponding to the query level and the query range are stored in the preset memory, so that the chart operation is smooth and is not stuck compared with the prior art.
Since the system described in the above embodiment of the present invention is a system used for implementing the method of the above embodiment of the present invention, a person skilled in the art can understand the specific structure and the modification of the system based on the method described in the above embodiment of the present invention, and thus the detailed description is omitted here. All systems adopted by the method of the above embodiments of the present invention are within the intended scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the terms first, second, third and the like are for convenience only and do not denote any order. These words are to be understood as part of the name of the component.
Furthermore, it should be noted that in the description of the present specification, the description of the term "one embodiment", "some embodiments", "examples", "specific examples" or "some examples", etc., means that a specific feature, structure, material or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, the claims should be construed to include preferred embodiments and all changes and modifications that fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the spirit or scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include such modifications and variations.

Claims (9)

1. A multi-chart display method based on electronic charts is characterized by comprising the following steps:
s1, acquiring a plurality of electronic charts, and determining the grade of each electronic chart according to the scale of the electronic charts;
s2, establishing a corresponding R-tree index for each electronic chart in each level;
s3, determining the query level according to the scale of the electronic chart window, and taking the range of the electronic chart window as a query range;
s4, determining a first electronic chart corresponding to the query level and the query range from the plurality of electronic charts according to the R-tree index, and storing the first electronic chart into a preset memory;
wherein the first electronic chart is an electronic chart with a range which is repeated with the query range in the electronic charts with the levels corresponding to the query levels;
s5, based on the first electronic chart in the memory, displaying the range of the electronic chart which is repeated with the query range in the first electronic chart in an electronic chart window, and deleting the range of the electronic chart which is not repeated with the query range in the first electronic chart in the memory;
s6, judging whether a vacant area exists in the electronic chart window;
the vacant areas are as follows: the area without the electronic chart in the electronic chart window;
if yes, the previous level of the electronic chart displayed in the electronic chart window is used as a new query level, the vacant area in the electronic chart window is used as a new query range, and the step S4 is returned.
2. The method according to claim 1, wherein the determining the level of each electronic chart according to the scale of the electronic chart in step S1 specifically comprises:
judging whether the scale of the electronic chart is in the range of a preset first scale, the range of a preset second scale, the range of a preset third scale, the range of a preset fourth scale or the range of a preset fifth scale;
the range of the preset first scale is larger than the range of the preset second scale; the range of the preset second scale is larger than the range of the preset third scale; the range of the preset third scale is larger than the range of the preset fourth scale; the range of the preset fourth scale is larger than the range of the preset fifth scale;
if the electronic chart is within the range of a preset first scale, determining the level of the electronic chart as a first level;
if the electronic chart is within the range of a preset second scale, determining the level of the electronic chart as a second level;
if the electronic chart is within the range of a preset third scale, determining the level of the electronic chart as a third level;
if the electronic chart is within the range of a preset fourth scale, determining the level of the electronic chart as a fourth level;
and if the electronic chart is within the range of a preset fifth scale, determining the level of the electronic chart as a fifth level.
3. The method according to claim 2, wherein the step S4 comprises:
s41, determining an electronic chart with a level corresponding to the query level in an R-tree index according to the query level;
and S42, determining the electronic chart with the range which is repeated with the query range in the electronic charts with the levels corresponding to the query levels according to the query range, and storing the electronic chart with the range which is repeated with the query range in a preset memory.
4. The method of claim 3, further comprising:
s7, if no vacant area exists in the electronic chart window, receiving an operation instruction of a user, and displaying a range of the electronic chart corresponding to the operation instruction of the user in the chart window;
the operation instruction of the user comprises the following steps: an instruction of the user to move the electronic chart displayed in the chart window and/or an instruction of the user to enlarge or reduce the scale of the chart window.
5. The method according to claim 4, wherein the step S7 comprises:
if no vacant area exists in the electronic chart window, after an instruction of moving the electronic chart displayed in the chart window by a user is received, moving the electronic chart displayed in the chart window, acquiring the vacant area in the electronic chart window, and taking the vacant area in the electronic chart window as a new query range;
and returning to the step S4 based on the new query range and the query level corresponding to the electronic chart window scale.
6. The method according to claim 5, wherein the step S7 comprises:
if the electronic chart window is not provided with a vacant area, after an instruction that a user amplifies or reduces the scale of the chart window is received, the scale of the electronic chart window is amplified or reduced according to the instruction that the user amplifies or reduces the scale of the chart window, a new scale of the chart window is obtained, and a new query level is obtained according to the new scale of the chart window;
judging whether the new query level is the same as the query level corresponding to the scale of the electronic chart window before receiving an instruction of a user for carrying out a method or reducing the scale of the chart window;
if not, determining a new query range according to the range of the chart window;
and returning to the step S4 according to the new query level and the new query range.
7. The method according to claim 6, wherein the step S7 further comprises:
if the electronic chart window is the same as the electronic chart window, judging whether the electronic chart window has a vacant part;
if yes, the vacant part in the electronic chart window is used as a new query range, and the step S4 is returned based on the new query level and the new query range.
8. The method according to claim 1, wherein the step S2 specifically comprises:
and aiming at each electronic chart in each level of electronic charts, establishing a corresponding R-tree index according to the geographical range corresponding to each electronic chart.
9. A multi-chart display system based on electronic charts is characterized by comprising:
at least one processor; and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor calls the program instructions to perform the method for displaying a plurality of chart data based on electronic charts according to any one of claims 1 to 8.
CN202011121045.6A 2020-10-19 2020-10-19 Multi-chart display method and system based on electronic chart Active CN112269782B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011121045.6A CN112269782B (en) 2020-10-19 2020-10-19 Multi-chart display method and system based on electronic chart

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011121045.6A CN112269782B (en) 2020-10-19 2020-10-19 Multi-chart display method and system based on electronic chart

Publications (2)

Publication Number Publication Date
CN112269782A CN112269782A (en) 2021-01-26
CN112269782B true CN112269782B (en) 2022-11-08

Family

ID=74338418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011121045.6A Active CN112269782B (en) 2020-10-19 2020-10-19 Multi-chart display method and system based on electronic chart

Country Status (1)

Country Link
CN (1) CN112269782B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101908202B (en) * 2010-07-09 2012-05-09 哈尔滨工程大学 Method for fast displaying electronic chart
CN102646409A (en) * 2012-02-22 2012-08-22 中国人民解放军92859部队 Automatic dispatching display method for global multi-granularity electronic charts
US20150149081A1 (en) * 2013-11-22 2015-05-28 Oscar L. Kramer, JR. Methods for Enhancing the Display of Electronic Nautical Charts with Depths Corrected for Tide
CN106126527B (en) * 2013-12-30 2018-09-18 北京奇虎科技有限公司 A kind of device and corresponding method of control electronic map scaling
CN108052642A (en) * 2017-12-22 2018-05-18 重庆邮电大学 Electronic Chart Display method based on tile technology

Also Published As

Publication number Publication date
CN112269782A (en) 2021-01-26

Similar Documents

Publication Publication Date Title
US8457875B2 (en) Circumference search method for setting path and navigation system
US6208935B1 (en) Map application system
CN101275851B (en) Navigation apparatus
KR101136684B1 (en) Data update system, navigation device, server device, and data update method
CN107146080A (en) The methods of exhibiting and device of a kind of payment interface
AU2005284445A1 (en) Information point
EP1483690B1 (en) Hybrid and dynamic representation of data structures
JP2002163265A (en) Area searching device
CN112269782B (en) Multi-chart display method and system based on electronic chart
US20070229527A1 (en) Display digital signal visualizations with increasing accuracy
JP3423894B2 (en) Road shape figure deformation method, apparatus, and storage medium recording the method
JP3381993B2 (en) Center line calculator
CN110764662B (en) Information processing method, information processing device, electronic equipment and storage medium
CN109002511A (en) A kind of intelligent recommendation method and apparatus of public lavatory
CN109241368B (en) Mass POI data storage method
JP4455173B2 (en) Navigation device
CN115146604B (en) Method, device, equipment and storage medium for generating interface technical document
CN112948372A (en) Index-based fixed-trace-length seismic data retrieval method and system
CN113568535A (en) Map block selection method, map block selection device, medium, and electronic device
CN117971907A (en) Brake test data processing method and device
CN116026350A (en) Method for generating navigation test data and computer equipment
JP2001331491A (en) Target retrieval method and target retrieval device
CN110909141A (en) Dialog retrieval method and device based on context of question-answering system
CN114443906A (en) Data storage and analysis method for scientific and technological achievement registration
CN113709861A (en) Method and device for positioning object searching in target area

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant