CN108205563A - Electronic map information mask method, device and terminal - Google Patents
Electronic map information mask method, device and terminal Download PDFInfo
- Publication number
- CN108205563A CN108205563A CN201611179243.1A CN201611179243A CN108205563A CN 108205563 A CN108205563 A CN 108205563A CN 201611179243 A CN201611179243 A CN 201611179243A CN 108205563 A CN108205563 A CN 108205563A
- Authority
- CN
- China
- Prior art keywords
- markup information
- labeling position
- mark
- determined
- labeling
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/29—Geographical information databases
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Image Analysis (AREA)
- Processing Or Creating Images (AREA)
Abstract
A kind of electronic map information mask method, device and terminal, wherein, the method includes:Obtain the markup information set for characterizing map element semantic information to be marked;The corresponding labeling position set of markup information set is determined according to the profile of map element to be marked;The mark form set of markup information set is determined according to labeling position set;According to determining mark form set notation markup information set.Due to determining mark form set according to labeling position set so that the markup information of map element to be marked is determined mark form as a whole, then so that with certain system conformance between markup information as a whole.
Description
Technical field
The present invention relates to electronic map data process fields, and in particular to a kind of electronic map information mask method, device
And terminal.
Background technology
Electronic map has increasingly becomed indispensable part in people's social life, high timeliness and informative
Electronic map can provide great convenience for their trip.It, usually can be in electronics in order to enrich the information of electronic map
Supplement is carried out in map to the title of each map element (such as expressway, highway etc.) to show, for example, " Beijing-Shenyang expressway " etc..
In small scale map scene, since for example the linear ground objects such as expressway, highway bending complexity is high, note along the line
The word rotation angle dyscalculia of note, and the problem of legibility is poor.In the prior art, it please refers to Fig.1, to linear ground object capital
Shen mark " capital ", " Shen ", "high" and when " speed " at a high speed, usually first vacuate line atural object, reduce number of vertex, then determining word
Anchor point, then according to reference line of the two adjacent vertex of its linear ground object as word rotation angle, determined according to word
Tangent line at the online atural object in site calculates parallel with a tangent line or vertical word rotation angle.Therefore, in the prior art, it is right
There are following defects for the label of linear ground object:
(1) due to needing first to vacuate the data of label information processing before label, the computational methods of processing are usually vacuated
Complexity is high, and operand is big, so as to influence the timeliness of mark.
Each word rotation angle difference in (2) complete annotations may be excessive, and map legibility is low.Such as Fig. 1 institutes
Show, word rotation angle is directly used as using the vertex of linear ground object with reference to line, and effective ways filtering word rotation is not used
The poor annotation layout of consistency.
In conclusion the data processing amount of linear ground object markup information how is reduced, improve annotating efficiency and improves mark
Noting the consistency of information becomes the technical issues of urgently to be resolved hurrily.
Invention content
The invention solves the first technical problem be how to improve the consistency of map element data mark.
The invention solves the second technical problem be how to reduce the data processing amount of map element markup information, carry
High annotating efficiency.
For this purpose, according in a first aspect, the embodiment of the invention discloses a kind of electronic map information mask method, including:
Obtain the markup information set for characterizing map element semantic information to be marked;According to map element to be marked
Profile determines the corresponding labeling position set of markup information set;The mark of markup information set is determined according to labeling position set
Form set;According to determining mark form set notation markup information set.
Optionally, the corresponding labeling position set packet of markup information set is determined according to the profile of map element to be marked
It includes:Determine that the labeling position of each data in markup information set obtains on the profile of map element to be marked by predetermined interval
Labeling position set.
Optionally, mark form set includes the arranged direction of markup information set;It determines to mark according to labeling position set
The mark form set of note information aggregate includes:The tab area of markup information set is obtained according to labeling position set;Respectively
Obtain the first direction of tab area and the length value of second direction;Compare the length value of first direction and the length of second direction
The size of value;Direction arrangement mark as corresponding to length value big in the length value of first direction and the length value of second direction
Information aggregate.
Optionally, mark form set includes the mark posture of each markup information in markup information set;According to mark
Location sets determine that the mark form set of markup information set includes:The mark posture of each markup information, packet are determined respectively
It includes:Obtain labeling position to be determined and first angle formed by adjacent labeling position;Determine the bisector position of first angle;
Markup information on labeling position to be determined is determined according to the arranged direction of bisector position and markup information set
Mark posture.
Optionally, it is determined to be located at labeling position to be determined according to the arranged direction of bisector position and markup information set
On markup information mark posture, including:When the markup information direction of labeling position to be determined and markup information set
When arranged direction is vertical, the markup information on labeling position to be determined is with along the posture of angular bisector mark;When treating
When the arranged direction of the markup information direction mark information aggregate of determining labeling position is parallel, positioned at labeling position to be determined
On markup information with perpendicular to the posture of angular bisector mark.
Optionally, it before labeling position to be determined and first angle formed by adjacent labeling position is obtained, further includes:
Search the first labeling position and tail labeling position in labeling position set;In first labeling position to deviate from labeling position collection
Extend predetermined interval on the direction of conjunction and obtain the first reference point intersected with the profile of map element to be marked, the first reference point is used
In one of adjacent labeling position as first labeling position;In position labeling position to deviate from the direction of labeling position set
Extend predetermined interval and obtain the second reference point intersected with the profile of map element to be marked, the second reference point is used for as first
One of adjacent labeling position of labeling position.
Optionally, it before according to determining mark form set notation markup information set, further includes:According to each mark
The mark posture of note information obtains mark posture mean square deviation;Judge whether mean square deviation is less than preset value;If mean square deviation is less than pre-
If value, then according to determining mark form set notation markup information set.
According to second aspect, the embodiment of the invention discloses a kind of electronic map information annotation equipment, including:
Data obtaining module, for obtaining the markup information set for characterizing map element semantic information to be marked;Position
Determining module is put, for determining the corresponding labeling position set of markup information set according to the profile of map element to be marked;Shape
State determining module, for determining the mark form set of markup information set according to labeling position set;Labeling module, for root
According to determining mark form set notation markup information set.
Optionally, mark form set includes the arranged direction of markup information set;Form determining module includes:Region is true
Order member, for obtaining the tab area of markup information set according to labeling position set;Length acquiring unit, for obtaining respectively
Take the first direction of tab area and the length value of second direction;Length comparing unit, for comparing the length value of first direction
With the size of the length value of second direction;Direction arrangement unit, for pressing the length of the length value of first direction and second direction
Direction arrangement markup information set in value corresponding to big length value.
According to the third aspect, the embodiment of the invention discloses a kind of electronic map information terminal, including:
Electronic map is presented for visualizing in display device;Processor, for performing above-mentioned method.
Technical solution of the present invention has the following advantages that:
Electronic map information mask method provided in an embodiment of the present invention, device and terminal, it is true according to labeling position set
The mark form set of calibration note information aggregate, then, according to determining mark form set notation map element to be marked
Markup information set, due to determining mark form set according to labeling position set so that by the mark of map element to be marked
Information determines mark form as a whole, then causes there is certain systems compliant between markup information as a whole
Property.
In addition, the corresponding labeling position set of markup information set is determined according to the profile of map element to be marked, relatively
In the mode of positioning of the prior art determining markup information by way of vacuating, complicated data processing can be reduced
Journey reduces the data processing amount of map element markup information, improves annotating efficiency.
As optional technical solution, markup information set is determined on the profile of map element to be marked by predetermined interval
In the labeling positions of each data obtain labeling position set, can quickly position the labeling position of each data, reduce ground
The data processing amount of pel element markup information, improves annotating efficiency.
As optional technical solution, determine to be located at according to the arranged direction of bisector position and markup information set and treat really
The mark posture of markup information on fixed labeling position so that the mark posture of each markup information can be associated with markup information
The arranged direction of set, so that the mark posture of each markup information can meet the arranged direction of markup information set,
Then the otherness of rotation angle between different labeled information is reduced, improves the consistency of markup information rotation.As a result, can
The readability of markup information is enough improved, improves user experience.
As optional technical solution, using the first reference point and the second reference point as the adjacent of first labeling position
One of adjacent labeling position of one of labeling position and tail labeling position so that in the markup information for determining head and the tail labeling position
During posture, the inadequate objective deficiency of the adjacent labeling position number of head and the tail labeling position is made up.
Description of the drawings
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution of the prior art
Embodiment or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, in being described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, can also be obtained according to these attached drawings other attached drawings.
Fig. 1 marks schematic diagram for map element in the prior art;
Fig. 2 is a kind of electronic map information mask method flow chart in the embodiment of the present invention;
Fig. 3 is a kind of example signal that the corresponding labeling position set of markup information set is determined in the embodiment of the present invention
Figure;
Fig. 4 a are a kind of example schematic diagram for the mark form set that markup information set is determined in the embodiment of the present invention;
Fig. 4 b are another example schematic diagram for the mark form set that markup information set is determined in the embodiment of the present invention;
Fig. 5 is a kind of tactful schematic diagram for the mark posture for determining each markup information in the embodiment of the present invention;
Fig. 6 a are a kind of example schematic diagram for the mark posture that each markup information is determined in the embodiment of the present invention;
Fig. 6 b are another example schematic diagram for the mark posture that each markup information is determined in the embodiment of the present invention;
Fig. 7 is a kind of electronic map information annotation equipment structure diagram in the embodiment of the present invention.
Specific embodiment
Technical scheme of the present invention is clearly and completely described below in conjunction with attached drawing, it is clear that described implementation
Example is part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's all other embodiments obtained without making creative work, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that term " " center ", " on ", " under ", "left", "right", " vertical ",
The orientation or position relationship of the instructions such as " level ", " interior ", " outer " be based on orientation shown in the drawings or position relationship, merely to
Convenient for the description present invention and simplify description rather than instruction or imply signified device or element must have specific orientation,
With specific azimuth configuration and operation, therefore it is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is only used for description purpose, and it is not intended that instruction or hint relative importance.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase
Even ", " connection " should be interpreted broadly, for example, it may be being fixedly connected or being detachably connected or be integrally connected;It can
To be mechanical connection or be electrically connected;It can be directly connected, can also be indirectly connected by intermediary, it can be with
It is the connection inside two elements, can is wireless connection or wired connection.For those of ordinary skill in the art
For, the concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.
As long as in addition, technical characteristic involved in invention described below different embodiments non-structure each other
It can be combined with each other into conflict.
Present inventor research shows that, in the prior art, generally directed to single word individually carry out carry out operation obtain
To annotation results, each word lacks the position relationship between consideration and other words in annotation process, causes this as a result,
Lack systematicness and consistency after the completion of a little label characters.Present inventor is based on above-mentioned discovery, is conceiving this hair
When bright, the word of mark is subjected to operation as a whole so that there is system conformance between associated word.
In order to improve the consistency of map element data mark and reduce the data processing of map element markup information
Amount improves annotating efficiency, and present embodiment discloses a kind of electronic map information mask methods, please refer to Fig.2, for the mask method
Flow chart, this method comprises the following steps:
Step S201 obtains the markup information set for characterizing map element semantic information to be marked.In the present embodiment,
Alleged map element to be marked is specific buildings or specific region in electronic map, is particularly suitable for such as " Beijing-Shenyang height
The linear ground objects such as speed ", national highway.In a particular embodiment, the profile of map element to be marked can be the polygon of rule, also may be used
To be irregular polygon, the curve shapes such as arc are can also be.In the present embodiment, alleged markup information collection is combined into being capable of table
The set that the data of map element semantic information are formed is levied, markup information can be the lteral datas such as Chinese character, number, foreign language,
It can be the data such as symbol, can also be other visualization data that can convey semantic information.As an example, to be markedly
Pel element is Beijing-Shenyang expressway, and corresponding markup information is " capital ", " Shen ", "high" and " speed " four lteral datas compositions
Set.
Step S202 determines the corresponding labeling position set of markup information set according to the profile of map element to be marked.
It typically, can be by markup information set Direct Mark in map element to be marked, it is thus necessary to determine that each mark letter
The labeling position of breath.In the present embodiment, markup information collection is determined on the profile of map element to be marked by pressing predetermined interval
The labeling position of each data obtains labeling position set in conjunction.It please refers to Fig.3, black square illustrates each mark in Fig. 3
Position, in specific implementation, predetermined interval can be equally spaced or unequal interval, and predetermined interval is preferably etc.
Interval.
Step S203 determines the mark form set of markup information set according to labeling position set.In the present embodiment, mark
Note form set can include the arranged direction of markup information set, and mark is determined using labeling position set as an entirety
The mark form of information aggregate.Specifically, a and Fig. 4 b are please referred to Fig.4, by map element to be marked to be carried out for Beijing-Shenyang expressway
Illustrate, in the arranged direction for determining markup information, can be realized by following steps:It is marked according to labeling position set
The tab area of information aggregate;The first direction of tab area and the length value of second direction are obtained respectively;Compare first direction
Length value and second direction length value size;By length big in the length value of first direction and the length value of second direction
Direction arrangement markup information set corresponding to angle value.Specifically, please referring to Fig.4 a and Fig. 4 b, labeling position set is being obtained
Afterwards, rectangle frame can be obtained to labeling position set outsourcing, which is the mark of markup information set
Region is noted, when the height (first direction) of rectangle frame is more than width (second direction), markup information set is (perpendicular by short transverse
To) arrangement, as shown in fig. 4 a;When the width (second direction) of rectangle frame is more than height (first direction), markup information set
It is arranged by width direction (transverse direction), as shown in Figure 4 b.It should be noted that in the present embodiment, for ease of those skilled in the art
Understand, Fig. 4 a and Fig. 4 b illustrate rectangle frame, which cannot take a part for the present embodiment markup information as.
Step S204, according to determining mark form set notation markup information set.Determining markup information set
After marking form set, each data in markup information set can be labeled according to determining mark form set.
In an alternate embodiment of the invention, after the integral arrangement direction of markup information set is determined, mark can also be determined respectively
The mark posture of each markup information in information aggregate is noted, that is, marks form set and includes each mark letter in markup information set
When performing step S203, the mark form set of markup information set is determined according to labeling position set for the mark posture of breath
Including:The mark posture of each markup information is determined respectively, specifically, it is determined that the mark posture of each markup information includes:It obtains
Take labeling position to be determined and first angle formed by adjacent labeling position;Determine the bisector position of first angle;According to
The arranged direction of bisector position and markup information set determines the mark for the markup information being located on labeling position to be determined
Posture.Fig. 5 is please referred to, in the mark posture for determining the markup information of labeling position A0, obtains mark position to be determined first
First angle a0 formed by A0 labeling position A1, A2 adjacent thereto is put, wherein, adjacent labeling position A1, A2 are located at respectively to be treated really
The both sides of fixed labeling position A0;Then, it can be determined to obtain the bisector position of first angle according to first angle a0, such as schemed
It is marked shown in l0 in 5;Finally, it can be determined according to the arranged direction of bisector position and markup information set to be determined positioned at this
Labeling position A0 on markup information mark posture.In a particular embodiment, according to bisector position and markup information
When the arranged direction of set determines the mark posture for the markup information being located on labeling position to be determined, it can divide following two
Situation:
(1) as shown in Figure 6 a, when the markup information direction of labeling position to be determined and the arrangement side of markup information set
To it is vertical when, markup information on labeling position to be determined along the posture of angular bisector to mark.Shown in Fig. 6 a
The arranged direction of markup information set is lateral arrangement, and the markup information direction of labeling position to be determined is vertical, is recognized at this time
It is vertical for the both direction.It should be noted that in the present embodiment, alleged direction is vertically that certain error can be allowed to exist
, for example, when the arranged direction institute of the direction of markup information specific on labeling position to be determined and markup information set is into folder
Angle is more than or when value less than 90 ° is less than certain threshold value, you can thinks that the both direction is vertical, specific angle threshold value can be with
Rule of thumb determine.
(2) as shown in Figure 6 b, when the markup information direction of labeling position to be determined and the arrangement side of markup information set
To it is parallel when, markup information on labeling position to be determined perpendicular to the posture of angular bisector to mark.Shown in Fig. 6 b
Markup information set arranged direction to be vertically arranged, the markup information direction of labeling position to be determined be it is vertical, at this time
Think that the both direction is parallel.It should be noted that in the present embodiment, parallel alleged direction is certain error can be allowed to exist
, for example, when the arranged direction institute of the direction of markup information specific on labeling position to be determined and markup information set is into folder
Angle is more than or when value less than 0 ° is less than certain threshold value, you can thinks that the both direction is parallel, specific angle threshold value can be with
Rule of thumb determine.
Due in the mark posture for determining specific markup information, needing using the adjacent labeling position in its both sides as reference,
However, only having side for the head and the tail labeling position in labeling position set has adjacent labeling position, marked to make up head and the tail
The inadequate situation of the adjacent labeling position number of position.In an alternate embodiment of the invention, labeling position to be determined and phase are being obtained
Before first angle formed by adjacent labeling position, further include:Search the first labeling position and tail mark in labeling position set
Note position;It is obtained and ground to be marked pel in first labeling position with deviating from extension predetermined interval on the direction of labeling position set
The first reference point that the profile of element intersects, the first reference point is for one of adjacent labeling position as first labeling position;
Position labeling position obtains the profile with map element to be marked to deviate from extension predetermined interval on the direction of labeling position set
The second intersecting reference point, the second reference point is for one of adjacent labeling position as tail labeling position.Please refer to Fig. 6 a
With Fig. 6 b, first labeling position and tail labeling position in labeling position set are respectively " capital " and " speed " position, right
In first labeling position (" capital " position), the right side in " capital " or downside have there are one adjacent labeling position, at this point it is possible to
Extend the point that predetermined interval obtains the profile of map element to be marked and intersect along left direction or upper side direction, which is
First reference point;Similarly, for tail labeling position (" speed " position), there are one phases for the left side of " speed " or upside tool
Adjacent labeling position, at this point it is possible to which extending predetermined interval along right direction or downside direction obtains the wheel of map element to be marked
The intersecting point of exterior feature, which is the second reference point.
In order to avoid the rotation of each markup information is excessive, in an alternate embodiment of the invention, before step S204 is performed, may be used also
To include:
Step S205 obtains mark posture mean square deviation according to the mark posture of each markup information.Specifically, alleged mark
Posture mean square deviation can be mean square deviation of each markup information relative to the rotation angle in preset reference direction, in the present embodiment,
Preset reference direction such as can be horizontally oriented or vertical direction, certainly, in other embodiments, can be with
Determine preset direction according to actual needs.It should be noted that usually the alleged preset direction should be read with meeting people
Direction.
Step S206, judges whether mean square deviation is less than preset value.If mean square deviation is less than preset value, show current each mark
The mark posture of information is noted as normal attitude, the otherness of rotation angle is smaller between different labeled information, markup information rotation
With certain system conformance.Step S204 can be then performed, whereas if mean square deviation is more than preset value, then can be returned
Step S202 is performed, redefines labeling position.
The present embodiment also discloses a kind of electronic map information annotation equipment, please refers to Fig. 7, for the electronic map information mark
Dispensing device structure diagram, the annotation equipment include:Data obtaining module 701, position determination module 702, form determining module
703 and labeling module 704, wherein:
Data obtaining module 701 is used to obtain the markup information set for characterizing map element semantic information to be marked;
Position determination module 702 is used to determine the corresponding labeling position collection of markup information set according to the profile of map element to be marked
It closes;Form determining module 703 is used to determine the mark form set of markup information set according to labeling position set;Labeling module
704 are used for according to determining mark form set notation markup information set.
In an alternate embodiment of the invention, mark form set includes the arranged direction of markup information set;Form determining module
Including:Area determination unit, for obtaining the tab area of markup information set according to labeling position set;Length obtains single
Member, for obtaining the length value of the first direction of tab area and second direction respectively;Length comparing unit, for comparing first
The size of the length value in direction and the length value of second direction;Direction arrangement unit, for pressing the length value of first direction and
Direction arrangement markup information set in the length value in two directions corresponding to big length value.
The present embodiment also discloses a kind of electronic map information terminal, including:Electronics is presented for visualizing in display device
Map;Processor, for performing electronic map information mask method disclosed in above-described embodiment.
Electronic map information mask method provided in this embodiment, device and terminal, determine to mark according to labeling position set
The mark form set of information aggregate is noted, then, according to the mark of determining mark form set notation map element to be marked
Information aggregate, due to determining mark form set according to labeling position set so that by the markup information of map element to be marked
Mark form is determined as a whole, then so that having certain system conformance between markup information as a whole.This
Outside, the corresponding labeling position set of markup information set is determined according to the profile of map element to be marked, relative to the prior art
Mode the positioning that markup information is determined by way of vacuating can reduce complicated data handling procedure, reduce ground
The data processing amount of pel element markup information, improves annotating efficiency.
In an alternate embodiment of the invention, it is determined in markup information set on the profile of map element to be marked by predetermined interval
The labeling position of each data obtains labeling position set, can quickly position the labeling position of each data, reduce map
The data processing amount of element markup information, improves annotating efficiency.
In an alternate embodiment of the invention, it determines to be located at according to the arranged direction of bisector position and markup information set to be determined
Labeling position on markup information mark posture so that the mark posture of each markup information can be associated with markup information collection
The arranged direction of conjunction, so that the mark posture of each markup information can meet the arranged direction of markup information set, after
And the otherness of rotation angle between different labeled information is reduced, improve the consistency of markup information rotation.Thereby, it is possible to
The readability of markup information is improved, improves user experience.
In an alternate embodiment of the invention, using the first reference point and the second reference point as the adjacent mark of first labeling position
Note one of adjacent labeling position of one of position and tail labeling position so that in the markup information appearance for determining head and the tail labeling position
During state, the inadequate objective deficiency of the adjacent labeling position number of head and the tail labeling position is made up.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware can be used in the present invention
Apply the form of example.Moreover, the computer for wherein including computer usable program code in one or more can be used in the present invention
The computer program production that usable storage medium is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Obviously, the above embodiments are merely examples for clarifying the description, and is not intended to limit the embodiments.It is right
For those of ordinary skill in the art, can also make on the basis of the above description it is other it is various forms of variation or
It changes.There is no necessity and possibility to exhaust all the enbodiments.And the obvious variation thus extended out or
Among changing still in the protection domain of the invention.
Claims (10)
1. a kind of electronic map information mask method, which is characterized in that include the following steps:
Obtain the markup information set for characterizing map element semantic information to be marked;
The corresponding labeling position set of the markup information set is determined according to the profile of the map element to be marked;
The mark form set of the markup information set is determined according to the labeling position set;
According to markup information set described in the determining mark form set notation.
2. electronic map information mask method as described in claim 1, which is characterized in that described according to the map to be marked
The profile of element determines that the corresponding labeling position set of the markup information set includes:
The mark of each data in the markup information set is determined on the profile of the map element to be marked by predetermined interval
Note position obtains the labeling position set.
3. electronic map information mask method as claimed in claim 1 or 2, which is characterized in that the mark form set packet
Include the arranged direction of the markup information set;
It is described to determine that the mark form set of the markup information set includes according to the labeling position set:
The tab area of the markup information set is obtained according to the labeling position set;
The first direction of the tab area and the length value of second direction are obtained respectively;
Compare the size of the length value of the first direction and the length value of the second direction;
Direction arrangement as corresponding to the length value of the first direction with length value big in the length value of the second direction
The markup information set.
4. electronic map information mask method as claimed in claim 3, which is characterized in that the mark form set includes institute
State the mark posture of each markup information in markup information set;
It is described to determine that the mark form set of the markup information set includes according to the labeling position set:Institute is determined respectively
The mark posture of each markup information is stated, including:
Obtain labeling position to be determined and first angle formed by adjacent labeling position;
Determine the bisector position of the first angle;
It is determined to be located at the mark position to be determined according to the arranged direction of the bisector position and the markup information set
The mark posture for the markup information put.
5. electronic map information mask method as claimed in claim 4, which is characterized in that described according to the bisector position
The mark appearance for the markup information being located on the labeling position to be determined is determined with the arranged direction of the markup information set
State, including:
When the markup information direction of the labeling position to be determined is vertical with the arranged direction of the markup information set, position
In the markup information on the labeling position to be determined with along the posture of angular bisector mark;
When the markup information direction of the labeling position to be determined is parallel with the arranged direction of the markup information set, position
In the markup information on the labeling position to be determined with perpendicular to the posture of angular bisector mark.
6. electronic map information mask method as described in claim 4 or 5, which is characterized in that be determined in the acquisition
Labeling position is with before first angle formed by adjacent labeling position, further including:
Search the first labeling position and tail labeling position in the labeling position set;
Extend the predetermined interval to deviate from the direction of the labeling position set in the first labeling position and obtain and institute
The first reference point that the profile of map element to be marked intersects is stated, first reference point is used to be used as the first labeling position
One of adjacent labeling position;
Extend the predetermined interval to deviate from the direction of the labeling position set in the position labeling position and obtain and institute
The second reference point that the profile of map element to be marked intersects is stated, second reference point is used to be used as the tail labeling position
One of adjacent labeling position.
7. the electronic map information mask method as described in claim 4-6 any one, which is characterized in that true in the basis
Before markup information set described in the fixed mark form set notation, further include:
Mark posture mean square deviation is obtained according to the mark posture of each markup information;
Judge whether the mean square deviation is less than preset value;
If the mean square deviation is less than preset value, according to markup information collection described in the determining mark form set notation
It closes.
8. a kind of electronic map information annotation equipment, which is characterized in that including:
Data obtaining module, for obtaining the markup information set for characterizing map element semantic information to be marked;
Position determination module, for determining the corresponding mark of the markup information set according to the profile of the map element to be marked
Note location sets;
Form determining module, for determining the mark form set of the markup information set according to the labeling position set;
Labeling module, for the markup information set according to the determining mark form set notation.
9. electronic map information annotation equipment as claimed in claim 8, which is characterized in that the mark form set includes institute
State the arranged direction of markup information set;
The form determining module includes:
Area determination unit, for obtaining the tab area of the markup information set according to the labeling position set;
Length acquiring unit, for obtaining the length value of the first direction of the tab area and second direction respectively;
Length comparing unit, for the size of the length value of the length value and second direction of the first direction;
Direction arrangement unit, for pressing the length value of the first direction and length value big in the length value of the second direction
The markup information set is arranged in corresponding direction.
10. a kind of electronic map information terminal, which is characterized in that including:
Electronic map is presented for visualizing in display device;
Processor, for performing the method as described in claim 1-7 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611179243.1A CN108205563B (en) | 2016-12-19 | 2016-12-19 | Electronic map information marking method and device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611179243.1A CN108205563B (en) | 2016-12-19 | 2016-12-19 | Electronic map information marking method and device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108205563A true CN108205563A (en) | 2018-06-26 |
CN108205563B CN108205563B (en) | 2021-09-24 |
Family
ID=62602943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611179243.1A Active CN108205563B (en) | 2016-12-19 | 2016-12-19 | Electronic map information marking method and device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108205563B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109636881A (en) * | 2018-12-19 | 2019-04-16 | 沈阳天择智能交通工程有限公司 | Based on AI identification technology traffic accident situ sketch drafting method |
CN110245200A (en) * | 2019-05-30 | 2019-09-17 | 浙江浙大中控信息技术有限公司 | A kind of method of the anti-gland automatic marking of electronic map Point element |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103489363A (en) * | 2012-06-08 | 2014-01-01 | 北京华胜天成科技股份有限公司 | Method and system for processing linear feature labeling data in electronic mapping system |
CN105677653A (en) * | 2014-11-18 | 2016-06-15 | 北京四维图新科技股份有限公司 | Electronic map caption tagging method and device |
US20160180581A1 (en) * | 2014-12-23 | 2016-06-23 | Google Inc. | Labeling for Three-Dimensional Occluded Shapes |
-
2016
- 2016-12-19 CN CN201611179243.1A patent/CN108205563B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103489363A (en) * | 2012-06-08 | 2014-01-01 | 北京华胜天成科技股份有限公司 | Method and system for processing linear feature labeling data in electronic mapping system |
CN105677653A (en) * | 2014-11-18 | 2016-06-15 | 北京四维图新科技股份有限公司 | Electronic map caption tagging method and device |
US20160180581A1 (en) * | 2014-12-23 | 2016-06-23 | Google Inc. | Labeling for Three-Dimensional Occluded Shapes |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109636881A (en) * | 2018-12-19 | 2019-04-16 | 沈阳天择智能交通工程有限公司 | Based on AI identification technology traffic accident situ sketch drafting method |
CN110245200A (en) * | 2019-05-30 | 2019-09-17 | 浙江浙大中控信息技术有限公司 | A kind of method of the anti-gland automatic marking of electronic map Point element |
Also Published As
Publication number | Publication date |
---|---|
CN108205563B (en) | 2021-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109165401B (en) | Method and device for generating two-dimensional construction map based on civil structure three-dimensional model | |
CN103021262B (en) | Method and system for processing drawing of map labels | |
CN107564077B (en) | method and device for drawing road network | |
CN110796095B (en) | Instrument template establishing method, terminal equipment and computer storage medium | |
CN113362420B (en) | Road label generation method, device, equipment and storage medium | |
CN108205563A (en) | Electronic map information mask method, device and terminal | |
CN101727580A (en) | Image processing apparatus, electronic medium, and image processing method | |
JP5618728B2 (en) | Reinforcement information acquisition method | |
CN111428749A (en) | Image annotation task pre-verification method, device, equipment and storage medium | |
CN108073648A (en) | Electronic map information mask method, apparatus and system | |
US7602407B2 (en) | Method for automatically generating graphically displayed indicating instruments | |
CN103761220B (en) | A kind of text composition technical method of information software | |
CN108205565A (en) | Electronic map element vacuates method, apparatus and terminal | |
CN107038199A (en) | A kind of drawing practice and device | |
CN113821860A (en) | Method, device and equipment for determining breakpoint on steel bar primitive and storage medium | |
JP6571428B2 (en) | Shield tunnel plotter | |
CN104123314A (en) | Labeling avoidance method and device | |
JP2008065587A (en) | Document editing apparatus and program | |
CN110516333A (en) | Device layout methods, device, equipment and readable storage medium storing program for executing in a kind of PCB | |
CN112037224A (en) | Method for generating axis according to marking line, electronic equipment and storage medium | |
CN108053751A (en) | A kind of method and apparatus that direction arrow is drawn on navigation of electronic map route | |
JP2006260119A (en) | Three-dimensional shape processor, three-dimensional shape processing method, program and recording medium | |
CN110020490B (en) | Track panel drawing method and device | |
CN113732818A (en) | Method, device and equipment for calibrating rotating shaft of numerical control machine tool and storage medium | |
CN113026457B (en) | Road construction segment determining method and determining device |
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 |