CN111243053B - Optimized display method based on S52 standard chart water depth symbol - Google Patents

Optimized display method based on S52 standard chart water depth symbol Download PDF

Info

Publication number
CN111243053B
CN111243053B CN202010060517.5A CN202010060517A CN111243053B CN 111243053 B CN111243053 B CN 111243053B CN 202010060517 A CN202010060517 A CN 202010060517A CN 111243053 B CN111243053 B CN 111243053B
Authority
CN
China
Prior art keywords
water depth
depth value
displayed
symbol
font
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
CN202010060517.5A
Other languages
Chinese (zh)
Other versions
CN111243053A (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 CN202010060517.5A priority Critical patent/CN111243053B/en
Publication of CN111243053A publication Critical patent/CN111243053A/en
Application granted granted Critical
Publication of CN111243053B publication Critical patent/CN111243053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Measurement Of Velocity Or Position Using Acoustic Or Ultrasonic Waves (AREA)

Abstract

The invention relates to an optimized display method based on an S52 standard chart water depth symbol, which comprises the following steps: acquiring a second set according to the preset first set; the first set includes: 120 water depth value symbols; each water depth value symbol is provided with a symbol name and a drawing path of an S52 chart display standard corresponding to the symbol; the symbol name of the water depth value symbol has 12 characters; and the 11 th character from left to right in the symbol name of the water depth value symbol is any number from 0 to 9; acquiring a plurality of water depth values to be displayed, and determining a first color or a second color corresponding to the water depth values to be displayed according to a preset S52 chart display standard; and respectively acquiring and displaying the water depth value symbols to be displayed based on the water depth value to be displayed and the second set.

Description

Optimized display method based on S52 standard chart water depth symbol
Technical Field
The invention relates to an optimized display method based on an S52 standard chart water depth symbol.
Background
In actual sailing, the accurate water depth value in the sea chart is sailing safety protection sailing. The water depth values of all target points in the sea area are efficiently and accurately displayed in the electronic chart, and a very important basis can be provided for the captain to know the surrounding sea area conditions in a macroscopic manner. The current implementation modes of the S52 standard are different, the description form of the symbol is changed, and SVG vector description language is used for optimizing symbol display; some optimize symbol display by creating a database; however, these schemes are another implementation manner of the conventional technical scheme, and basically, the symbols in the S52 standard and the optimized symbols still maintain a one-to-one correspondence. The problems that the deep water symbols in the sea are difficult to maintain and easy to make mistakes and the display efficiency is low cannot be thoroughly solved.
The S52 standard is provided with a series of coordinate points marked as symbol drawing paths, each symbol is provided with a respective symbol drawing path, and the symbol drawing paths are sequentially connected to be drawn into each individual number from 0 to 9, and the number is marked as a decimal digit symbol of the water depth value. The symbol names related to the water depth point are SY (SOUNDG 00) to SY (SOUNDG 59) 60 symbol names, SY (SOUNDS 00) to SY (SOUNDS 59) 60 symbol names, and 120 symbol names in total. Wherein SY indicates that the symbol is a dot symbol; "SOUNDG01" means the body name of a symbol, necessarily 8 characters; the last 1 indicates that the effect of the symbol display is the number 1; the penultimate number is associated with the position of the symbol pivot point and corresponds to the decimal place of the water depth value as shown in fig. 1.
The traditional technical scheme comprises the following steps: and acquiring the value of the water depth to be displayed. And separating to obtain each decimal number in the water depth value. For example, if the value is 95.6, three numbers of 9,5 and 6 are separated. And searching corresponding three symbols according to the three numbers 9,5 and 6. 9 is the number on ten digits, and the sign representing the number 9 on ten digits is required to be searched according to the last-last number of the sign; similarly, find the sign representing the bit number 5, the sign of the decimal number 6; thus, 3 water depth value decimal place symbols are obtained. And drawing the obtained 3 symbols at the same point according to the sequence to obtain a complete water depth value symbol.
However, for the traditional technical scheme, 10 symbols of 0-9 are generated for numbers on all decimal digits, the total number of symbols to be maintained is up to 120, the symbols are not easy to maintain and expand, the probability of errors is increased due to the increase of the number, and the difficulty of positioning error symbols is increased. When displaying the water depth value symbol, all corresponding water depth value decimal place symbols need to be searched from 120 symbols, and each decimal place needs to be searched once, so that the searching efficiency is too low. Moreover, in practice, each decimal digit is a single water depth value decimal digit symbol, and the combination is a complete water depth value symbol. If a single water depth value decimal place symbol is problematic, the water depth value cannot be found accurately, so that the displayed water depth value is problematic, and navigation safety is compromised.
Disclosure of Invention
First, the technical problem to be solved
In order to solve the problems in the prior art, the invention provides an optimized display method based on the S52 standard chart water depth symbol.
(II) technical scheme
In order to achieve the above purpose, the invention provides an optimized display method based on S52 standard chart water depth symbols, comprising the following steps:
a1, acquiring a second set according to a preset first set;
the first set includes: 120 water depth value symbols;
each water depth value symbol is provided with a symbol name and a drawing path of an S52 chart display standard corresponding to the symbol;
the symbol name has 12 characters; and the 11 th character from left to right in the symbol name of the water depth value symbol is any number from 0 to 9;
a2, acquiring a plurality of water depth values to be displayed, and determining a first color or a second color corresponding to the water depth values to be displayed according to a preset S52 chart display standard;
a3, respectively acquiring water depth value symbols corresponding to the water depth values to be displayed based on the water depth values to be displayed and the second set, and displaying the water depth value symbols corresponding to the water depth values to be displayed;
the symbol of the water depth value to be displayed has a first color or a second color corresponding to the water depth value to be displayed.
Preferably, the second set includes: any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 0, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 1, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 2, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 3, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 4, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 5, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 6, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 7, and any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 9.
Preferably, the step A3 includes:
a3-1, determining a water depth value symbol corresponding to the water depth value to be displayed in the second set based on the water depth value to be displayed;
a3-2, determining a drawing path of the water depth value symbol corresponding to the water depth value to be displayed based on the water depth value symbol corresponding to the water depth value to be displayed;
a3-3, respectively drawing the water depth value symbols to be displayed based on the drawing paths of the water depth value symbols corresponding to the water depth values to be displayed.
4. A method according to claim 3, wherein said step A3-1 comprises:
a3-1-1, separating the water depth value to be displayed, and obtaining the number in each decimal place in the water depth value to be displayed;
a3-1-2, determining a water depth value symbol corresponding to a number in each decimal place in the water depth values to be displayed in the second set;
wherein the symbol name of the water depth value symbol corresponding to the number of each decimal digit in the water depth value to be displayed in the second set is: the 11 th character of the symbol names of the deep water value symbols in the second set is the same symbol name as the number in the decimal place in the water depth value to be displayed.
Preferably, the step A3-3 includes:
and respectively drawing the symbols of the water depth values to be displayed by adopting a drawing path of the water depth value symbol corresponding to the water depth value to be displayed, a preset interval value and/or a preset height value, a first color and/or a second color.
Preferably, the step A3-3 includes:
if the water depth value to be displayed is an integer less than or equal to 9, drawing a symbol of the water depth value to be displayed by adopting a drawing path of the symbol of the water depth value corresponding to the integer and a first color or a second color corresponding to the water depth value;
if the water depth value to be displayed is an integer greater than 9, drawing a symbol of the water depth value to be displayed by adopting a drawing path of a plurality of water depth value symbols corresponding to the water depth value to be displayed, a preset interval value and a first color or a second color corresponding to the water depth value to be displayed;
the transverse interval between the drawing paths of the water depth value symbols corresponding to the water depth value to be displayed has a preset interval value;
if the water depth value to be displayed is less than 10 and has a decimal digit, drawing a water depth value symbol to be displayed by adopting a drawing path of the water depth value symbol corresponding to the decimal digit, a drawing path of the water depth value symbol corresponding to the decimal digit, a preset interval value and a preset height value, and a first color or a second color corresponding to the water depth value to be displayed;
the transverse interval between the drawing path of the digital water depth value symbol in the whole digits of the water depth value to be displayed and the drawing path of the digital water depth value symbol of the decimal place has a preset interval value;
and the drawing path corresponding to the decimal digit of the water depth value and the drawing path corresponding to the integral digit of the water depth value have preset height values;
if the water depth value to be displayed is greater than or equal to 10 and has a decimal number, determining a symbol of the water depth value to be displayed by adopting a drawing path of a plurality of water depth value symbols on the whole digits corresponding to the water depth value to be displayed, a drawing path of the water depth value symbols on the decimal digits corresponding to the water depth value to be displayed, a preset interval value and a preset height value, and a first color or a second color corresponding to the water depth value to be displayed;
wherein, the drawing paths of the water depth value symbols corresponding to the figures of the water depth value integer bits to be displayed have interval values of preset transverse intervals;
the drawing path of the water depth value symbol corresponding to the number on the position of the water depth value to be displayed and the drawing path of the water depth value symbol corresponding to the number on the decimal place of the water depth value to be displayed are provided with interval values with preset transverse intervals;
and a preset height value is arranged between the drawing path of the water depth value symbol corresponding to the number on the position of the water depth value to be displayed and the drawing path of the water depth value symbol corresponding to the number on the decimal of the water depth value to be displayed.
Preferably, the step A3 includes:
based on the drawing paths of 10 water depth value symbols in a second set, acquiring 10 characters of a first font and 10 characters of a second font, which are in one-to-one correspondence with the 10 water depth value symbols in the second set, by adopting a character making program;
the 10 first font characters comprise first font characters from 0 to 9;
the 10 second font characters comprise from 0 to 9 second font characters;
the height of the first font character and the second font character is 2.5 mm, and the width is 1.25 mm;
determining the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed in the 10 characters of the first font and/or the 10 characters of the second font based on the water depth value to be displayed;
determining the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed based on the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed;
and respectively acquiring the water depth value symbols to be displayed based on the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed.
Preferably, based on the water depth value to be displayed, determining the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed from the 10 characters of the first font and/or the 10 characters of the second font; the method specifically comprises the following steps:
separating the water depth value to be displayed to obtain the number in each decimal place in the water depth value to be displayed;
determining a final first font character corresponding to a number in each decimal place in the integer part of the water depth value to be displayed among the characters of the first font;
the final first font character is respectively identical to the number in each decimal place in the integral part of the water depth value to be displayed;
determining a final second font character corresponding to a number in a decimal place in the decimal part of the water depth value to be displayed in the characters of the second font;
the final second font character is identical to the number in the decimal place in the fractional part of the water depth value to be displayed.
Preferably, the obtaining the plurality of water depth value symbols to be displayed based on the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed includes:
if the water depth value to be displayed is an integer, drawing a water depth value symbol to be displayed by adopting a final first font character corresponding to the water depth value and a preset first color or a preset second color;
wherein, a preset interval value is arranged between the final first font characters in the water depth value to be displayed;
if the water depth value to be displayed has decimal, drawing a water depth value symbol to be displayed by adopting a final first font character and a final second font character corresponding to the water depth value and a preset first color or second color;
the method comprises the steps that a preset height value is arranged between a final first font character and a final second font character in a water depth value symbol to be displayed;
wherein each adjacent character in the water depth value symbol to be displayed has a preset interval value.
Preferably, the preset interval value is 1 millimeter;
the predetermined height value is 1.25 mm.
(III) beneficial effects
The beneficial effects of the invention are as follows: and the water depth value symbol is conveniently and efficiently maintained and expanded. The traditional scheme needs to maintain up to 120 symbols, only 10 symbols are needed to be maintained, and the maintenance cost is greatly reduced. If the traditional scheme needs to expand the water depth value symbol, for example, the symbol color is simply changed, and 60 symbols are added for each color; not only the difficulty of expansion is increased and mistakes are easy to occur, but also the maintenance difficulty is increased; meanwhile, the method brings trouble to subsequent testing work.
When the traditional scheme displays the water depth value sign, the sign of each decimal digit in the water depth value needs to be drawn, and if the water depth value is hundred digits, 3 or even 4 signs are needed to completely display the water depth value. The invention only needs to search the corresponding symbol from the second set, obtain the corresponding symbol drawing path, then draw the symbol in real time, only need to display one symbol. The efficiency of displaying a single complete water depth value symbol is improved.
The traditional scheme is to search each symbol in 120 symbols, and the invention only needs to search in 10 symbols in the second set, so that the searching efficiency is greatly improved. Since the number of water depth values in the sea chart is hundreds to thousands, the improvement in efficiency reflected in the entire sea chart system is very significant here even though the magnitude of the improvement is small.
The invention simplifies 120 symbols into 10 symbols, draws the water depth value symbol in real time according to the name of the symbol, and the obtained water depth value symbol is an integral symbol instead of a combined symbol in which a plurality of symbols are simply displayed on the same position.
Drawings
FIG. 1 is a schematic diagram showing the comparison of symbol axes in the prior art;
FIG. 2 is a diagram showing the effect of a water depth value symbol in a chart using the water depth value symbol display method of the invention;
fig. 3 is a schematic diagram of a SY (soungg 00) symbol in the prior art;
FIG. 4 is a schematic diagram of a SY (SOUNDS 00) symbol in the prior art;
fig. 5 is a flowchart of the optimized display method based on the S52 standard chart water depth symbol of the present invention.
Detailed Description
The invention will be better explained by the following detailed description of the embodiments with reference to the drawings.
Example 1
As shown in fig. 5, the optimized display method based on the S52 standard chart water depth symbol comprises the following steps:
a1, acquiring a second set according to a preset first set.
The first set includes: 120 water depth value symbols.
Each water depth value symbol has a symbol name and a drawing path of an S52 chart display standard corresponding to the symbol.
The symbol name of the water depth value symbol has 12 characters; and the 11 th character from left to right in the symbol name of the water depth value symbol is any number from 0 to 9.
The second set in this embodiment includes: any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 0, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 1, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 2, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 3, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 4, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 5, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 6, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 7, and any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 9.
In the specific application of the present embodiment, the second set is acquired by taking the total of 120 symbol names among 60 symbol names SY (soung 00) to SY (soung 59) (using the first color) and 60 symbol names SY (soung 00) to SY (soung 59) (using the second color). The symbol SY (sountgxx) is identical to the symbol SY (sountsxx) except for the color, including the location of the pivot point. As shown in fig. 3, fig. 3 is a symbol SY (soungg 00), and fig. 4 is a symbol SY (soungs 00).
In this embodiment, there are 6 sets of 0 to 9 water depth value decimal place symbols, 10 for each set, of 60 symbols SY (soungg 00) to SY (soungg 59).
In this example, there are also 6 sets of 0 to 9 water depth decimal place symbols, 10 for each set, of 60 symbols SY (SOUNDS 00) to SY (SOUNDS 59).
For example, the three numbers SY (SOUNDS 20), SY (SOUNDS 10) and SY (SOUNDS 50) are identical, except for the location of the pivot point. Thus, 10 symbols in the second set can be found out of 60 symbols SY (SOUNDG 00) to SY (SOUNDG 59) and 60 symbols SY (SOUNDS 00) to SY (SOUNDS 59) for a total of 120 symbols.
The 10 symbols in the second set may be 10 symbols of SY (SOUNDS 00) to SY (SOUNDS 09), 10 symbols of SY (SOUNDG 00) to SY (SOUNDG 09), or 10 symbols of SY (SOUNDS 00), SY (SOUNDG 51), SY (SOUNDG 32), SY (SOUNDS 03), SY (SOUNDG 44), SY (SOUNDS 15), SY (SOUNDS 16), SY (SOUNDG 37), SY (SOUNDG 28), SY (SOUNDS 59). The second set may be provided that the 60 symbol names SY (soungg 00) to SY (soungg 59) and the 60 symbol names SY (soungs 00) to SY (soungs 59) are the last digits of any 10 symbol names among the total 120 symbol names, that is, the 11 th character in the symbol names is 10 symbols of 0,1,2,3,4,5,6,7,8, 9.
A2, acquiring a plurality of water depth values to be displayed, and determining a first color or a second color corresponding to the water depth values to be displayed based on the water depth values to be displayed.
A3, determining the symbol name of the water depth value symbol corresponding to the water depth value to be displayed in the second set based on the water depth value to be displayed.
The step A3 in this embodiment includes:
and A3-1, separating the water depth value to be displayed, and obtaining the number in each decimal place in the water depth value to be displayed.
In this embodiment, if the water depth values to be displayed are 158 and 95.6, 158 is separated into 1,5,8. 95.6 was separated into 9,5,6.
A3-2, determining the symbol name of the water depth value symbol corresponding to the number in each decimal place in the water depth value to be displayed in the second set.
Wherein the symbol name of the water depth value symbol corresponding to the number of each decimal digit in the water depth value to be displayed in the second set is: the 11 th character in the first water depth value symbol in the second set is the same symbol name of the water depth value symbol as the number in the decimal place in the water depth value to be displayed.
For example, if the second set is 10 symbols SY (SOUNDS 00) to SY (SOUNDS 09), if the water depth value to be displayed is 158, the symbol names corresponding to the water depth value 158 to be displayed in the second set are SY (SOUNDS 01), SY (SOUNDS 05), SY (SOUNDS 08).
A4, determining a drawing path of the water depth value symbol corresponding to the water depth value to be displayed in a preset S52 standard symbol drawing path based on the symbol name of the water depth value symbol corresponding to the water depth value to be displayed;
a5, drawing the symbols of the water depth values to be displayed by adopting a drawing path of the water depth value symbol corresponding to the water depth value to be displayed, a preset interval value and/or a preset height value, a first color and/or a second color. As shown in fig. 2, the display effect of the water depth value in the chart.
The symbol of the water depth value to be displayed has a first color or a second color corresponding to the water depth value to be displayed.
In a specific application of this embodiment, if the water depth value to be displayed is an integer less than or equal to 9, a drawing path of the water depth value symbol corresponding to the integer and a first color or a second color corresponding to the water depth value are adopted to draw the symbol of the water depth value to be displayed.
For example, in the present embodiment, when the second set is SY (SOUNDS 00) to SY (SOUNDS 09), if the water depth value to be displayed is 8, a symbol drawing path of SY (SOUNDS 08) is used to draw a symbol of the water depth value of 8.
In a specific application of this embodiment, if the water depth value to be displayed is an integer greater than 9, drawing paths of a plurality of water depth value symbols corresponding to the water depth value to be displayed, preset interval values, and first color or second color corresponding to the water depth value to be displayed are adopted to draw the symbols of the water depth value to be displayed.
For example, when the second set is SY (sounfs 00) to SY (sounfs 09) in the present embodiment, if the water depth value to be displayed is 158, the 3 symbol drawing paths of SY (sounfs 01), SY (sounfs 05), SY (sounfs 08) are adopted, and 1 symbol with the water depth value of 158 is drawn.
Wherein the drawing path of 1 and the drawing path of 5 in 1 symbol of the water depth value 158 are spaced 1 millimeter apart, and the drawing path of 5 and the drawing path of 8 are spaced 1 millimeter apart.
In a specific application of this embodiment, if the water depth value to be displayed is less than 10 and has a decimal digit, drawing a water depth value symbol to be displayed by adopting a drawing path corresponding to the decimal digit of the water depth value to be displayed, a drawing path corresponding to the decimal digit, a preset interval value and a preset height value, and a first color or a second color corresponding to the water depth value to be displayed.
The transverse interval between the drawing path of the digital water depth value symbol in the whole digits of the water depth value to be displayed and the drawing path of the digital water depth value symbol of the decimal place has a preset interval value.
And the drawing path corresponding to the decimal digit of the water depth value have preset height values.
For example, when the second set is SY (sounfs 00) to SY (sounfs 09) in the present embodiment, if the water depth value to be displayed is 5.6, SY (sounfs 05), SY (sounfs 06) is used, and the 2 symbols are drawn along the drawing path, and 1 symbol with the water depth value of 5.6 is drawn.
Wherein the drawing path of 5 and the drawing path of 6 in 1 symbol of the water depth value 5.6 are laterally spaced by 1 millimeter, and the drawing path of 5 is higher than the drawing path of 6 by 1.25 millimeters.
In a specific application of this embodiment, if the water depth value to be displayed is greater than or equal to 10 and has a decimal number, a drawing path of a plurality of water depth value symbols on an integer corresponding to the water depth value to be displayed, a drawing path of a water depth value symbol on a decimal corresponding to the water depth value to be displayed, a preset interval value and a preset height value, and a first color or a second color corresponding to the water depth value to be displayed are adopted to determine the symbol of the water depth value to be displayed.
And the interval values of the preset transverse intervals are arranged among the drawing paths of the water depth value symbols corresponding to the numbers of the water depth value integer digits to be displayed.
And a preset transverse interval value is arranged between the drawing path of the water depth value symbol corresponding to the number on the position of the water depth value to be displayed and the drawing path of the water depth value symbol corresponding to the number on the decimal of the water depth value to be displayed.
And a preset height value is arranged between the drawing path of the water depth value symbol corresponding to the number on the position of the water depth value to be displayed and the drawing path of the water depth value symbol corresponding to the number on the decimal of the water depth value to be displayed.
For example, when the second set is SY (sounf 00) to SY (sounf 09) in the present embodiment, if the water depth value to be displayed is 95.6, SY (sounf 09), SY (sounf 05), SY (sounf 06) are used, and the 3 symbols are drawn to draw 1 symbol of the water depth value of 95.6.
Wherein, the drawing path of 9 and the drawing path of 5 in 1 symbol of the water depth value of 95.6 are laterally spaced by 1 millimeter, the drawing path of 5 and the drawing path of 9 are the same in height, the drawing path of 5 and the drawing path of 6 are laterally spaced by 1 millimeter, and the drawing path of 5 is higher than the drawing path of 6 by 1.25 millimeter.
In this embodiment, 120 symbols are simplified into 10 symbols, and the completed water depth value symbol is drawn in real time according to the name of the symbol, where the water depth value symbol is actually one symbol; instead of looking up a single symbol per decimal place from 120 symbols, the combination is displayed as a water depth value symbol, which is actually a plurality of symbols.
In the embodiment, only the drawing path of the symbol is focused, only coordinate data is saved, and each water depth value symbol is generated by real-time calculation; instead of focusing on the symbol itself, the display effect of the symbol is not preserved.
Example two
Referring to fig. 5, in a second embodiment, the method for optimally displaying the water depth symbol based on the S52 standard chart includes the steps of:
b1, acquiring a second set according to the preset first set.
The first set includes: 120 water depth value symbols.
Each water depth value symbol has a symbol name and a drawing path of an S52 chart display standard corresponding to the symbol.
The symbol name of the water depth value symbol has 12 characters; and the 11 th character from left to right in the symbol name of the water depth value symbol is any number from 0 to 9;
and B2, acquiring a plurality of water depth values to be displayed, and determining a first color or a second color corresponding to the water depth values to be displayed according to a preset S52 chart display standard.
And B3, respectively acquiring the water depth value symbols to be displayed based on the water depth value to be displayed and the second set.
The symbol of the water depth value to be displayed has a first color or a second color corresponding to the water depth value to be displayed.
In this embodiment, the preferred second set includes: any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 0, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 1, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 2, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 3, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 4, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 5, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 6, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 7, and any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 9.
In a second preferred embodiment, the step A3 includes:
and acquiring 10 characters of the first font and 10 characters of the second font, which are in one-to-one correspondence with the 10 water depth value symbols in the second set, by adopting a character making program based on the drawing paths of the 10 water depth value symbols in the second set.
The 10 first font characters include first font characters from 0 to 9.
The 10 second font characters include second font characters from 0 to 9.
The first font character and the second font character have a height of 2.5 mm and a width of 1.25 mm.
And determining the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed in the 10 characters of the first font and/or the 10 characters of the second font based on the water depth value to be displayed.
And determining the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed based on the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed.
And respectively acquiring the water depth value symbols to be displayed based on the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed.
In this embodiment, preferably, based on the water depth value to be displayed, the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed are determined from the characters of the 10 first fonts and/or the characters of the 10 second fonts; the method specifically comprises the following steps:
and separating the water depth value to be displayed to obtain the number in each decimal place in the water depth value to be displayed.
And determining a final first font character corresponding to the number in each decimal place in the integer part of the water depth value to be displayed in the characters of the first font.
The final first font character is respectively identical to the number in each decimal place in the integral portion of the water depth value to be displayed.
And determining a final second font character corresponding to the number in the decimal place in the decimal part of the water depth value to be displayed in the characters of the second font.
The final second font character is identical to the number in the decimal place in the fractional part of the water depth value to be displayed.
In a second preferred embodiment, the obtaining the plurality of symbols of the water depth value to be displayed based on the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed includes:
if the water depth value to be displayed is an integer, drawing a water depth value symbol to be displayed by adopting a final first font character corresponding to the water depth value and a preset first color or a preset second color.
And a preset interval value is arranged between the final first font characters in the water depth value to be displayed.
And if the water depth value to be displayed has decimal, drawing a water depth value symbol to be displayed by adopting a final first font character and a final second font character corresponding to the water depth value and a preset first color or second color.
The final first font character and the final second font character in the water depth value symbol to be displayed have a preset height value.
Wherein each adjacent character in the water depth value symbol to be displayed has a preset interval value.
In this embodiment, the predetermined interval value is preferably 1 mm, and the predetermined height value is preferably 1.25 mm.
In the embodiment, 120 symbols are simplified into 10 characters in the first font and 10 characters in the second font, and the water depth value symbols are drawn in real time according to the characters, so that the water depth value drawing is more convenient and convenient.
In this embodiment, 120 symbols are generated in two fonts including only 10 characters of 0 to 9. A font is used to display integer portions of water depth values. Another font is used to display the decimal part of the water depth value. If the water depth value is required to be displayed. Only the integer part and the decimal part of the water depth value need to be displayed respectively by using the corresponding fonts. The water depth value symbol is not required to be maintained.
The technical principles of the present invention have been described above in connection with specific embodiments, which are provided for the purpose of explaining the principles of the present invention and are not to be construed as limiting the scope of the present invention in any way. Other embodiments of the invention will be apparent to those skilled in the art from consideration of this specification without undue burden.

Claims (6)

1. The optimized display method based on the S52 standard chart water depth symbol is characterized by comprising the following steps:
a1, acquiring a second set according to a preset first set;
the first set includes: 120 water depth value symbols;
each water depth value symbol is provided with a symbol name and a drawing path of an S52 chart display standard corresponding to the symbol;
the symbol name has 12 characters; and the 11 th character from left to right in the symbol name of the water depth value symbol is any number from 0 to 9;
a2, acquiring a plurality of water depth values to be displayed, and determining a first color or a second color corresponding to the water depth values to be displayed according to a preset S52 chart display standard;
a3, respectively acquiring water depth value symbols corresponding to the water depth values to be displayed based on the water depth values to be displayed and the second set;
the symbol of the water depth value to be displayed has a first color or a second color corresponding to the water depth value to be displayed;
the second set includes: any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 0, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 1, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 2, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 3, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 4, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 5, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 6, any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 7, and any one of the 11 th character from left to right in the symbol names of the water depth value symbols is 9;
the step A3 comprises the following steps:
a3-1, determining a water depth value symbol corresponding to the water depth value to be displayed in the second set based on the water depth value to be displayed;
a3-2, determining a drawing path of the water depth value symbol corresponding to the water depth value to be displayed based on the water depth value symbol corresponding to the water depth value to be displayed;
a3-3, respectively drawing the water depth value symbols to be displayed based on the drawing paths of the water depth value symbols corresponding to the water depth values to be displayed;
the step A3-1 comprises the following steps:
a3-1-1, separating the water depth value to be displayed, and obtaining the number in each decimal place in the water depth value to be displayed;
a3-1-2, determining a water depth value symbol corresponding to a number in each decimal place in the water depth values to be displayed in the second set;
wherein the symbol name of the water depth value symbol corresponding to the number of each decimal digit in the water depth value to be displayed in the second set is: the 11 th character in the symbol names of the deep water value symbols in the second set is the same symbol name as the number in the decimal place in the water depth value to be displayed;
alternatively, the step A3 includes:
based on the drawing paths of 10 water depth value symbols in a second set, acquiring 10 characters of a first font and 10 characters of a second font, which are in one-to-one correspondence with the 10 water depth value symbols in the second set, by adopting a character making program;
the 10 first font characters comprise first font characters from 0 to 9;
the 10 second font characters comprise from 0 to 9 second font characters;
the height of the first font character and the second font character is 2.5 mm, and the width is 1.25 mm;
determining the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed in the 10 characters of the first font and/or the 10 characters of the second font based on the water depth value to be displayed;
determining the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed based on the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed;
and respectively acquiring the water depth value symbols to be displayed based on the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed.
2. The method according to claim 1, wherein the step A3-3 comprises:
and respectively drawing the symbols of the water depth values to be displayed by adopting a drawing path of the water depth value symbol corresponding to the water depth value to be displayed, a preset interval value and/or a preset height value, a first color and/or a second color.
3. The method according to claim 2, wherein the step A3-3 comprises:
if the water depth value to be displayed is an integer less than or equal to 9, drawing a symbol of the water depth value to be displayed by adopting a drawing path of the symbol of the water depth value corresponding to the integer and a first color or a second color corresponding to the water depth value;
if the water depth value to be displayed is an integer greater than 9, drawing a symbol of the water depth value to be displayed by adopting a drawing path of a plurality of water depth value symbols corresponding to the water depth value to be displayed, a preset interval value and a first color or a second color corresponding to the water depth value to be displayed;
the transverse interval between the drawing paths of the water depth value symbols corresponding to the water depth value to be displayed has a preset interval value;
if the water depth value to be displayed is less than 10 and has a decimal digit, drawing a water depth value symbol to be displayed by adopting a drawing path of the water depth value symbol corresponding to the decimal digit, a drawing path of the water depth value symbol corresponding to the decimal digit, a preset interval value and a preset height value, and a first color or a second color corresponding to the water depth value to be displayed;
the transverse interval between the drawing path of the digital water depth value symbol in the whole digits of the water depth value to be displayed and the drawing path of the digital water depth value symbol of the decimal place has a preset interval value;
and the drawing path corresponding to the decimal digit of the water depth value and the drawing path corresponding to the integral digit of the water depth value have preset height values;
if the water depth value to be displayed is greater than or equal to 10 and has a decimal number, determining a symbol of the water depth value to be displayed by adopting a drawing path of a plurality of water depth value symbols on the whole digits corresponding to the water depth value to be displayed, a drawing path of the water depth value symbols on the decimal digits corresponding to the water depth value to be displayed, a preset interval value and a preset height value, and a first color or a second color corresponding to the water depth value to be displayed;
wherein, the drawing paths of the water depth value symbols corresponding to the figures of the water depth value integer bits to be displayed have interval values of preset transverse intervals;
the drawing path of the water depth value symbol corresponding to the number on the position of the water depth value to be displayed and the drawing path of the water depth value symbol corresponding to the number on the decimal place of the water depth value to be displayed are provided with interval values with preset transverse intervals;
and a preset height value is arranged between the drawing path of the water depth value symbol corresponding to the number on the position of the water depth value to be displayed and the drawing path of the water depth value symbol corresponding to the number on the decimal of the water depth value to be displayed.
4. The method according to claim 1, characterized in that, based on the water depth value to be displayed, the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed are determined among the 10 characters of the first font and/or the 10 characters of the second font; the method specifically comprises the following steps:
separating the water depth value to be displayed to obtain the number in each decimal place in the water depth value to be displayed;
determining a final first font character corresponding to a number in each decimal place in the integer part of the water depth value to be displayed among the characters of the first font;
the final first font character is respectively identical to the number in each decimal place in the integral part of the water depth value to be displayed;
determining a final second font character corresponding to a number in a decimal place in the decimal part of the water depth value to be displayed in the characters of the second font;
the final second font character is identical to the number in the decimal place in the fractional part of the water depth value to be displayed.
5. The method according to claim 4, wherein the obtaining the plurality of water depth value symbols to be displayed based on the characters of the first font and/or the characters of the second font corresponding to the water depth value to be displayed respectively specifically includes:
if the water depth value to be displayed is an integer, drawing a water depth value symbol to be displayed by adopting a final first font character corresponding to the water depth value and a preset first color or a preset second color;
wherein, a preset interval value is arranged between the final first font characters in the water depth value to be displayed;
if the water depth value to be displayed has decimal, drawing a water depth value symbol to be displayed by adopting a final first font character and a final second font character corresponding to the water depth value and a preset first color or second color;
the method comprises the steps that a preset height value is arranged between a final first font character and a final second font character in a water depth value symbol to be displayed;
wherein each adjacent character in the water depth value symbol to be displayed has a preset interval value.
6. The method according to any one of claims 3 or 5, wherein the predetermined interval value is 1 mm;
the predetermined height value is 1.25 mm.
CN202010060517.5A 2020-01-19 2020-01-19 Optimized display method based on S52 standard chart water depth symbol Active CN111243053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010060517.5A CN111243053B (en) 2020-01-19 2020-01-19 Optimized display method based on S52 standard chart water depth symbol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010060517.5A CN111243053B (en) 2020-01-19 2020-01-19 Optimized display method based on S52 standard chart water depth symbol

Publications (2)

Publication Number Publication Date
CN111243053A CN111243053A (en) 2020-06-05
CN111243053B true CN111243053B (en) 2023-11-17

Family

ID=70874763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010060517.5A Active CN111243053B (en) 2020-01-19 2020-01-19 Optimized display method based on S52 standard chart water depth symbol

Country Status (1)

Country Link
CN (1) CN111243053B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0933635A (en) * 1995-07-24 1997-02-07 Tokimec Inc Electronic chart display information device
JP2000206107A (en) * 1999-01-18 2000-07-28 Horiba Ltd Water quality-measuring apparatus and water quality display method, and memory medium with water quality display program recorded
KR20110008947A (en) * 2009-07-21 2011-01-27 현대중공업 주식회사 Extraction method for depth of water from ecdis to estimate topography of seafloor
CN102289990A (en) * 2011-08-24 2011-12-21 彭认灿 Charted depth annotation representation notation based on character color extension
CN103400405A (en) * 2013-08-01 2013-11-20 国家海洋局第二海洋研究所 Multi-beam bathymetric chart construction method based on seabed digital depth model feature extraction
CN105894563A (en) * 2016-04-25 2016-08-24 中国电子科技集团公司第二十八研究所 Method for simulating global ocean effect on digital earth

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5257783B2 (en) * 2009-05-11 2013-08-07 古野電気株式会社 Underwater detection device and underwater detection image display method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0933635A (en) * 1995-07-24 1997-02-07 Tokimec Inc Electronic chart display information device
JP2000206107A (en) * 1999-01-18 2000-07-28 Horiba Ltd Water quality-measuring apparatus and water quality display method, and memory medium with water quality display program recorded
KR20110008947A (en) * 2009-07-21 2011-01-27 현대중공업 주식회사 Extraction method for depth of water from ecdis to estimate topography of seafloor
CN102289990A (en) * 2011-08-24 2011-12-21 彭认灿 Charted depth annotation representation notation based on character color extension
CN103400405A (en) * 2013-08-01 2013-11-20 国家海洋局第二海洋研究所 Multi-beam bathymetric chart construction method based on seabed digital depth model feature extraction
CN105894563A (en) * 2016-04-25 2016-08-24 中国电子科技集团公司第二十八研究所 Method for simulating global ocean effect on digital earth

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
基于ArcGIS的电子海图显示系统;徐文坤;刘爱超;钱程程;齐共同;;海洋信息(第01期) *
徐文坤 ; 刘爱超 ; 钱程程 ; 齐共同 ; .基于ArcGIS的电子海图显示系统.海洋信息.(第01期),全文. *
李军,滕惠忠.海底三维可视化技术及应用.海洋测绘.(第04期),全文. *
海底三维可视化技术及应用;李军, 滕惠忠;海洋测绘(第04期) *

Also Published As

Publication number Publication date
CN111243053A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
JPH09134157A (en) Hinting method and font file constituting method
US7724260B2 (en) Method and system for image monitoring
JPH10134192A (en) Device and method for pattern matching encoding
CN105653517A (en) Recognition rate determining method and apparatus
EP0106651A2 (en) Method for making common blank form for a plurality of card images in a data processing system
CN105426944A (en) Square lattice anti-counterfeit label group, and method and system for reading square lattice anti-counterfeit label group
KR0123930B1 (en) Character recognizing method and apparatus
US20210183466A1 (en) Identification method, information processing device, and recording medium
JP4589159B2 (en) Raster map search device
CN111243053B (en) Optimized display method based on S52 standard chart water depth symbol
CN113298003A (en) AR-based aviation cable assembly system and method
CN100383734C (en) Method for setting screen display menu of Arabic and Persian
KR20230029206A (en) Apparatus for constructing training data for artificial intelligence based text recognition
CN109033373B (en) Method and device for marking geologic body code number and storage medium thereof
JP7334671B2 (en) Theoretical mass table display system
CN116311301B (en) Wireless form identification method and system
CN114925252B (en) Stroke recommendation method of handwriting mechanical arm based on neighborhood
GB2060231A (en) Easy and Flexible Method of Inputting Ideogram-type Language Characters into a Computer System
CN117475439A (en) Quick automatic identification method for aircraft instrument rolling numbers based on template matching
KR100970901B1 (en) Method for printing the Hangeul using a compose table and device using the same
CN105373822A (en) Rectangular anti-fake label, reading method and system
CN117291149A (en) Rarely used word decoding method and device, electronic equipment and storage medium
JP3871658B2 (en) Data analysis method for existing equipment
JP2697790B2 (en) Character type determination method
JP2005107769A (en) Survey information processing apparatus, cad device, survey information processing method, and its program

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