Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for drawing molecular formula annotation on electronic map

An electronic map and molecular formula technology, applied in the direction of maps/plans/charts, geographic information databases, instruments, etc., can solve the problems of invisibility and beauty, and achieve the effect of less error-prone, simple overall, intuitive and beautiful display

Active Publication Date: 2020-12-04
武汉智博创享科技股份有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a method and device for drawing molecular formula annotations on an electronic map, aiming to solve the problem that the existing annotations using bracket mode or two-line mode to display two attribute field values ​​are not intuitive and aesthetically pleasing question

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for drawing molecular formula annotation on electronic map
  • Method and device for drawing molecular formula annotation on electronic map

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] Such as figure 1 As shown, the embodiment of the present invention provides a method for drawing molecular formula notes on an electronic map, including the following steps:

[0034] S101. Obtain the position coordinates on the electronic map that need to be drawn. The position coordinates can be the coordinates of a specified position point on the map, the midpoint coordinates of a line segment, or the barycenter position coordinates of a surface graphic, and convert the position coordinates into pixel coordinates (x , y);

[0035] S102, use the two attribute field values ​​that need to be displayed as the numerator and denominator of the molecular formula respectively, measure the length of the numerator and denominator characters in the molecular formula, and convert it into a screen pixel distance, the length of the numerator is length1, and the length of the denominator is length2;

[0036] S103, measure the height of the denominator character in the molecular for...

Embodiment 2

[0046] Based on the same inventive concept, an embodiment of the present invention also provides a device for drawing molecular formula annotations on an electronic map, which can be used to implement the above-mentioned embodiment of the method for drawing molecular formula annotations on an electronic map. Due to the problem solved by the device The principle is similar to that of Embodiment 1, a method for drawing molecular formula annotations on an electronic map, so the embodiment of the device can refer to the embodiment of the aforementioned method, and the repetition will not be repeated.

[0047] Such as figure 2 As shown, a device for drawing molecular formula notes on an electronic map provided by an embodiment of the present invention includes:

[0048] Draw annotation position coordinate acquisition module 21, used to obtain the position coordinates on the electronic map where the annotation needs to be drawn, and convert the position coordinates into pixel coord...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a device for drawing a molecular formula annotation on an electronic map. The method comprises the following steps that: obtaining a position coordinate which needsto draw the annotation on the electronic map, and converting the position coordinate into a pixel coordinate (x,y); independently taking two attribute field values of which the annotations need to bedisplayed as the numerator and the denominator of the molecular formula, measuring the length of the numerator character and the denominator character in the molecular formula, and converting into ascreen pixel distance; measuring the height of the denominator character in the molecular formula, and converting into a screen pixel distance; calculating the length of a fraction line; calculating the drawing positions of the numerator character, the fraction line and the denominator character; and drawing the numerator, the denominator and the fraction line to the corresponding positions of theelectronic map to form an integral molecular formula annotation. By use of the method, two attribute field values can be displayed through one modular formula annotation so as to be more visually andattractively displayed, annotation display is clear, and a drawing method is integrally simple and is unlikely to make mistakes.

Description

technical field [0001] The invention relates to the field of electronic map display, in particular to a method and device for drawing molecular formula notes on an electronic map. Background technique [0002] Electronic map annotation is one of the map languages, which is directly related to the aesthetics and practicality of the map. Therefore, annotation is an important content in the production of electronic maps. However, the existing electronic map annotation generally only displays one key field value. For annotations that need to display two attribute field values, the bracket mode or the two-line mode is generally used, which is not intuitive and beautiful for users. Contents of the invention [0003] The purpose of the present invention is to provide a method and device for drawing molecular formula annotations on an electronic map, aiming to solve the problem that the existing annotations using bracket mode or two-line mode to display two attribute field values...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/29G09B29/00
CPCG09B29/006
Inventor 于国华张发勇李田郑朝军
Owner 武汉智博创享科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products