CN107220257B - Drawing electronic map method and device - Google Patents
Drawing electronic map method and device Download PDFInfo
- Publication number
- CN107220257B CN107220257B CN201610166139.2A CN201610166139A CN107220257B CN 107220257 B CN107220257 B CN 107220257B CN 201610166139 A CN201610166139 A CN 201610166139A CN 107220257 B CN107220257 B CN 107220257B
- Authority
- CN
- China
- Prior art keywords
- road
- target
- level
- map
- data base
- 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
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
Abstract
The embodiment of the invention discloses a kind of drawing electronic map method and devices;Method includes: that target in map data base is shown that the road of specific grade in the corresponding map datum of level is deleted;According to the characteristic of the road of the specific grade of each deletion, the target road for needing to recall is determined;Target road is recalled in map data base, the map data base updated;Determine that target is corresponded in the map data base updated shows the corresponding map datum of level, draws the electronic map that target shows level based on identified map datum.Using the present invention, the interference information of electronic map can be reduced, the display effect of electronic map is improved when drawing the electronic map of target display level.
Description
Technical field
The present invention relates to electronic map data processing technique more particularly to a kind of drawing electronic map method and devices.
Background technique
Electronic map, also referred to as numerical map, refer to using computer technology, the map for storing and consulting in a digital manner;
The method that electronic map stores information generally uses vector mode image storage, and map scale is enlarging or reducing or rotation is without shadow
Display effect, the storage of early application bit map type are rung, map scale cannot zoom in or out, and hyundai electronics map software is generally basede on
Internet stores and transmits map datum, and user is allowed to inquire electronic map whenever and wherever possible.
Medium rank of the prior art in electronic map, it will usually connecting line (JCT, the Joint between high speed be presented
Change the information such as road (IC, Inter Change)) and between connection super expressway and other grade roads, wherein IC be
Pass in and out the ring road of super expressway.
In the prior art, the display effect of web shape is often presented in the viaduct that electronic map is shown under medium rank,
It referring to the region A1 to E1 of arrow meaning in Fig. 1, causes visual effect very poor, influences the display effect of electronic map.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of drawing electronic map method and device mesh can be being drawn
When the electronic map of mark display level, the interference information of electronic map is reduced, the display effect of electronic map is improved.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
In a first aspect, the embodiment of the present invention provides a kind of drawing electronic map method, which comprises
Target in map data base is shown that the road of specific grade in the corresponding map datum of level is deleted;
According to the characteristic of the road of the specific grade of each deletion, the target road for needing to recall is determined;
The target road is recalled in the map data base, the map data base updated;
Determine that the target is corresponded in the map data base of the update shows the corresponding map datum of level, really based on institute
Fixed map datum draws the electronic map that the target shows level.
Optionally, described that target in map data base is shown that the road of specific grade in the corresponding map datum of level is deleted
Except including:
It is analyzed based on default treatment conditions the target display layer grade required for the electronic map is presented;
When determining that the target shows that level is to meet the level of the default treatment conditions, from the map data base
It is middle that the target is shown that the road of specific grade in the corresponding map datum of level is deleted.
Optionally, described that target in map data base is shown that the road of specific grade in the corresponding map datum of level is deleted
Except including:
The grade of road in the corresponding map datum of level, which is analyzed, to be shown to target in the map data base;
From the company shown the target in the map data base between the corresponding map datum high speed road of level
The road for connecing road, and/or connecting between the super expressway and other grade roads is deleted.
Optionally, the characteristic of the road of the specific grade according to each deletion determines the mesh for needing to recall
Marking road includes:
According to the characteristic of the road of the specific grade of each deletion, obtain between the road of each deletion
Connection relationship;
The road for determining that connection relationship meets default Rule of judgment is the target road for needing to recall.
Optionally, the characteristic of the road of the specific grade according to each deletion determines the mesh for needing to recall
Marking road includes:
According to the mount point number of two endpoints of the road of the specific grade of each deletion, the mesh for needing to recall is determined
Mark road.
Optionally, the mount point number of two endpoints of the road of the specific grade according to each deletion determines
The target road for needing to recall includes:
According to the mount point number of two endpoints of the road of the specific grade of each deletion, each deletion is judged
Whether the road of specific grade meets the condition of recalling;The condition of recalling includes: at least one endpoint in two endpoints of road
Mount point number be equal to preset number;
Determine that the mount point number of two endpoints recalls the road of condition described in meeting as the target track for needing to recall
Road.
Optionally, the mount point number of two endpoints of the road of the specific grade according to each deletion determines
The target road for needing to recall includes:
The mount point number of two endpoints of the road of the specific grade of each deletion is analyzed;
When determine include the specific grade of the same endpoint road be not satisfied it is described recall condition when, will described in include
Any of the road of the specific grade of the same endpoint is determined as the target road for needing to recall.
Optionally, the target is corresponded in the map data base of the determination update shows the corresponding map number of level
According to drawing the target based on identified map datum and show that the electronic map of level includes:
According to navigation operational order, determine that the target is corresponded in the map data base of the update shows that level is corresponding
Map datum;
It is calculated based on identified map datum, generates and show level electronically for the target of navigation
Figure.
Second aspect, the embodiment of the present invention provide a kind of drawing electronic map device, and described device includes:
Unit is deleted, for target in map data base to be shown to the road of specific grade in the corresponding map datum of level
It deletes;
Determination unit is determined and needs to recall for the characteristic according to the road of the specific grade of each deletion
Target road;
Unit is recalled, for the target road to be recalled in the map data base, the map datum updated
Library;
Drawing unit corresponds to the target in the map data base for determining the update and shows the corresponding map of level
Data draw the electronic map that the target shows level based on identified map datum.
Optionally, the deletion unit is also used to based on default treatment conditions to required for the presentation electronic map
The target display layer grade analyzed;When determining that the target shows that level is to meet the level of the default treatment conditions
When, from the road deletion that the target is shown to specific grade in the corresponding map datum of level in the map data base.
Optionally, the deletion unit is also used to show target in the map data base the corresponding map number of level
It is analyzed according to the grade of middle road;It is high in the corresponding map datum of level from the target is shown in the map data base
The road between linking-up road, and/or the connection super expressway and other grade roads between fast road is deleted.
Optionally, the determination unit is also used to the characteristic of the road of the specific grade according to each deletion
According to obtaining the connection relationship between the road of each deletion;The road for determining that connection relationship meets default Rule of judgment is institute
State the target road for needing to recall.
Optionally, the determination unit is also used to two endpoints of the road of the specific grade according to each deletion
Mount point number determines the target road for needing to recall.
Optionally, the determination unit is also used to two endpoints of the road of the specific grade according to each deletion
Mount point number, judges whether the road of the specific grade of each deletion meets the condition of recalling;The condition of recalling includes:
The mount point number of at least one endpoint is equal to preset number in two endpoints on road;Determine that the mount point number of two endpoints is full
The road that condition is recalled described in foot is the target road for needing to recall.
Optionally, the determination unit is also used to the extension of two endpoints of the road of the specific grade to each deletion
Loading point number is analyzed;When determine include the specific grade of the same endpoint road be not satisfied it is described recall condition when,
Any of the road of the specific grade including the same endpoint is determined as to the target road for needing to recall.
Optionally, the drawing unit is also used to according to navigation operational order, in the map data base for determining the update
The corresponding target shows the corresponding map datum of level;It is calculated, is generated for navigating based on identified map datum
The target show level electronic map.
In the embodiment of the present invention, by the road of specific grade in the map datum for corresponding to target display level in map data base
Road is deleted, and recalls target road from the road of deletion, the map data base updated, due to special in the map datum of update
The road for determining grade only remains the target road recalled, and map datum based on update draws electronic map, both can be to avoid
The generation of open circuit conditions, while the interference information of electronic map is decreased, it simplifies electronic map and shows, and then electricity can be improved
The display effect of sub- map.
Detailed description of the invention
Fig. 1 is the schematic diagram of the display effect of electronic map presentation web shape in the prior art;
Fig. 2 is the flow diagram one of drawing electronic map method in the embodiment of the present invention;
Fig. 3 is the flow diagram two of drawing electronic map method in the embodiment of the present invention;
Fig. 4 is the schematic diagram of open circuit conditions occur when deleting road in the embodiment of the present invention;
Fig. 5 is in the embodiment of the present invention by recalling target road to avoid the schematic diagram of open circuit;
Fig. 6 is the flow diagram three of drawing electronic map method in the embodiment of the present invention;
Fig. 7 is the schematic diagram one of the mount point of the endpoint of road in the embodiment of the present invention;
Fig. 8 is the schematic diagram two of the mount point of the endpoint of road in the embodiment of the present invention;
Fig. 9 is the schematic diagram three of the mount point of the endpoint of road in the embodiment of the present invention;
Figure 10 is the flow diagram four of drawing electronic map method in the embodiment of the present invention;
Figure 11 is the structural schematic diagram of drawing electronic map device in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.
The embodiment of the present invention records a kind of drawing electronic map method, can be applied to the positioning based on electronic map, leads
In scene of navigating, such as determined based on users' application such as Tencent's map, wechat H5 navigation, car networking map or open platform map
Position, navigation scenarios.
A kind of drawing electronic map device is also recorded in the embodiment of the present invention, can be used for executing the electricity of the embodiment of the present invention
Sub- method for drawing map, above-mentioned drawing electronic map device can be built in inside user equipment, and user equipment may include intelligence
Energy mobile phone, tablet computer, wearable device (such as smart glasses, smart watches) or vehicle mobile terminals, above-mentioned electronic map
Drawing apparatus be also possible to for execute the embodiment of the present invention and special configuration, above-mentioned drawing electronic map device can also be user
The background server of application, for example, corresponding drawing electronic map device can be Tencent when it is Tencent's map that user, which applies,
The background server of map.
Drawing electronic map device based on above-mentioned record, referring to fig. 2, in a step 101, drawing electronic map device will
Target shows that the road of specific grade in the corresponding map datum of level is deleted in map data base;In a step 102, according to each
The characteristic of the road for the specific grade deleted determines the target road for needing to recall;In step 103, by target road
It recalls in map data base, the map data base updated;At step 104, it is right in the map data base updated to determine
It answers target to show the corresponding map datum of level, the electronic map that target shows level is drawn based on identified map datum.
In above scheme, target in map data base is shown the corresponding map number of level first by drawing electronic map device
The road of specific grade is deleted in, and the target road for needing to recall then is determined from the road of the specific grade of above-mentioned deletion
And recall in map data base, the map data base updated, it is shown due to corresponding to target in the map data base of update
The road of specific grade only remains the target road that the needs of above-mentioned determination are recalled in the corresponding map datum of level, based on more
Target is corresponded in new map data base and shows that the corresponding map datum of level draws the electronic map that target shows level, both may be used
To avoid the generation of open circuit conditions, while the interference information of electronic map is decreased, simplifies electronic map and show, Jin Erke
Improve the display effect of electronic map.
Drawing electronic map device and drawing electronic map method based on above-mentioned record, propose following specific implementation
Example.
Embodiment one
The present embodiment proposes the technical solution solved for the problems in following scene: in the electricity for drawing target display level
When sub- map, it is desirable in the case where avoiding the occurrence of open circuit, the interference information of electronic map is reduced, to improve the aobvious of electronic map
Show effect.
Referring to the drawing electronic map method shown in Fig. 3, comprising the following steps:
Step 201, drawing electronic map device shows target in map data base special in the corresponding map datum of level
The road for determining grade is deleted.
Level is used to characterize the different display scales of electronic map, the specific value of electronic map display scale, Ke Yiyou
The developer of map application/service provider determines;Target shows that level is level needed for current presentation electronic map;Specific grade
Road can be the roads of one or more grades (such as grade highest) that target is shown in the corresponding map datum of level, example
Such as JCT, IC in the corresponding map datum of medium level, the road of specific rank is also possible to the corresponding map datum of low-level
In specific rank road, such as the road in the road conditions complex region such as resident's cell, school, hospital;It should be noted that
The present embodiment while the road that target in map data base is shown to specific grade in the corresponding map datum of level is deleted,
Retain the road for other grades that target in map data base is shown in the corresponding map datum of level other than specific grade.
Step 202, drawing electronic map device is respectively deleted according to the characteristic of the road of the specific grade of each deletion
The connection relationship between road removed.
The characteristic of road may include the title of road, geographical location, grade, shape, connection relationship, road two
The data such as the mount point number of a endpoint.
Step 203, it is pre- to judge whether the connection relationship between the road of each deletion meets respectively for drawing electronic map device
If Rule of judgment, for the road that any one is deleted, if the connection relationship between the road of the deletion meets default judgement
Condition thens follow the steps 204, otherwise, stops the processing to the road of the deletion.
Default Rule of judgment may include that the connection relationship between road is connected to road for playing the role of.
Step 204, drawing electronic map device determines that connection relationship meets the road of default Rule of judgment to need to recall
Target road.
The target road that above-mentioned needs are recalled, that is, play the role of the road for being connected to road, calling together in the present embodiment
It returns and refers to and will be rejoined again into map data base from the one or more roads being deleted in map data base, with
It is used for drawing electronic map and navigation.
Step 205, drawing electronic map device recalls target road in map data base, the map number updated
According to library.
Drawing electronic map device deletes target in map data base by execution step 201 and shows level correspondingly
The road of specific grade in diagram data, however, this may but make the road of some script connections open circuit conditions occur, as an example
For son: assuming that target shows that level is medium level, the road of specific grade includes JCT, IC, at this point, on electronic map
The display effect of web shape can be presented in partial region, referring to the region A1 to E1 of arrow meaning in Fig. 1;Drawing electronic map device is logical
It crosses and executes step 201 for all JCT, IC in the corresponding map datum of level medium in deletion map data base, that is, remove vertical
All nearby JCT, IC are handed over, so, although the interference information in the electronic map of medium level can be reduced, reduces web
Shape region, however, this but makes road of some scripts connection that breaking phenomena occur, referring to fig. 4 in arrow meaning road A2
And B2;To avoid that breaking phenomena occurs, drawing electronic map device will cause JCT, IC of road open circuit to recall, be shown in again
In road network, i.e., by executing step 202, step 203, according to the characteristic of the road of the specific grade of each deletion, obtain each
Connection relationship between the road of deletion, the road for determining that connection relationship meets default Rule of judgment is the target track for needing to recall
Road, drawing electronic map device are met connection relationship pre- by executing step 205 from the road of the specific grade of each deletion
If the road of Rule of judgment is recalled in map data base, thus the map data base updated, the map number of above-mentioned update
It is shown in the corresponding map datum of level according to target in library and only remains the above-mentioned road recalled in all roads of specific grade,
The above-mentioned road recalled is for avoiding occurring open circuit conditions in electronic map, referring to Fig. 5, the region A3 of arrow meaning in Fig. 5
Extra JCT, IC are eliminated with B3, has recalled connection JCT, IC;It will be appreciated by persons skilled in the art that the above-mentioned road recalled
Road is one in all roads of specific grade in the corresponding map datum of target display level for accounted for above-mentioned deletion
Point.
Step 206, drawing electronic map device determines that target is corresponded in the map data base updated shows that level is corresponding
Map datum draws the electronic map that target shows level based on identified map datum.
For the scene of above-mentioned proposition, target in map data base is being shown that level is corresponding by drawing electronic map device
Map datum in specific grade road delete after, connection relationship met from the road of the specific grade of above-mentioned deletion pre-
If the road of Rule of judgment is recalled in map data base, the map data base updated, due to the map data base of update
Middle corresponding target shows that the road of specific grade in the corresponding map datum of level only remains the above-mentioned road recalled, and being based on should
The electronics that the target that target shows that the corresponding map datum of level is drawn shows level is corresponded in the map data base of update
Map can reduce the interference information of electronic map in the case where avoiding the occurrence of open circuit, and then can improve the aobvious of electronic map
Show effect;The present embodiment can remove extra JCT, IC when middle grade draws electronic map in a kind of cleverly method
Fall, reduce interference information, forms best, most succinct display effect.
Embodiment two
Drawing electronic map device obtains each according to the characteristic of the road of the specific grade of each deletion in embodiment one
Connection relationship between the road for the specific grade deleted, and the road that connection relationship meets default Rule of judgment is determined as need
The target road to be recalled;In the present embodiment, drawing electronic map device is according to the feature of the road of the specific grade of each deletion
Data obtain the mount point number of two endpoints of the road of the specific grade of each deletion, and determine therefrom that the mesh that needs are recalled
Mark road.
Referring to the drawing electronic map method shown in Fig. 6, comprising the following steps:
Step 301, drawing electronic map device shows target in map data base special in the corresponding map datum of level
The road for determining grade is deleted.
Step 302, drawing electronic map device is respectively deleted according to the characteristic of the road of the specific grade of each deletion
The mount point number of two endpoints of the road for the specific grade removed.
Wherein, mount point number is used to characterize the number of the road that intersection is connected, referring to shown in Fig. 7, road
Two endpoints of road C4 are respectively intersection A4 point and B4 point, the road (link) that intersection A4 point is actually connected
Number is 2, therefore the mount point number of intersection A4 point is 2, the road number that intersection B4 point is actually connected
It is 3, therefore the mount point number of intersection B4 point is 3.
Step 303, drawing electronic map device is according to the mount points of two endpoints of the road of the specific grade of each deletion
Number, judges whether the road of the specific grade of each deletion meets the condition of recalling, for the road that any one is deleted, if sentenced
The road satisfaction of the fixed deletion recalls condition, thens follow the steps 304, otherwise, stops the processing to the road of the deletion;Recall item
Part may include that the mount point number of at least one endpoint in two endpoints of road is equal to preset number.
Preferably, preset number 2, for each road (such as JCT or IC), if two endpoints of the road are appointed
The mount point number of meaning one is 2, then determines that the road cannot be deleted, and open circuit otherwise occurs, needs if the road has been deleted
The road is recalled, referring to shown in Fig. 7, the mount point number of intersection A4 point is 2 in two endpoints of road C4,
The mount point number of intersection B4 point is 3, therefore, it is determined that road C4 meets and above-mentioned recalls condition.
It should be noted that being should by statistics when determining the mount point number of any one endpoint of any road
Target that any one endpoint is connected shows the number of the road of specific grade in the corresponding map datum of level to obtain,
In other words, the mount point number of any one endpoint of any road does not count that any one endpoint is connected, is not
Target shows the road of specific grade in the corresponding map datum of level, referring to shown in Fig. 8, as can see from Figure 8, road
Two endpoints of C5 are respectively intersection A5 point and B5 point, and road D5 have passed through A5 point, although at this point, what A5 point was connected
The sum of road is 4, still, due to when target shows level, it is desirable that the road of display includes road C5, E5, F5 and G5, but
It is not show road D5, in this way, even if the sum of the road of the point place A5 connection is greater than 2, still, the target that A5 point is connected
The number for showing the road of specific grade in the corresponding map datum of level is 2, therefore, it is determined that road C5 meets and above-mentioned recalls item
Part, road D5 cannot be deleted.
Step 304, drawing electronic map device determines that the mount point number of two endpoints meets and recalls the road of condition and be
The target road for needing to recall.
Drawing electronic map device divides the mount point number of two endpoints of the road of the specific grade of each deletion
After analysis, when determine include the same endpoint specific grade road be not satisfied it is above-mentioned recall condition when, will include same
Any of the road of the specific grade of endpoint is determined as needing the target road recalled, referring to shown in Fig. 9, highway
It certainly is closure, JCT and IC only play connection function, and JCT/IC is recalled and also only retained necessary JCT/IC, Fig. 9
In, intersection A6 has two JCT, and the mount point number that the mount point number that the mount point number of A6 is 3, B6 is 3, C6 is
3, at this point, road D6, E6 be not satisfied it is above-mentioned recall condition, if but road D6, E6 is all deleted, will lead to road F6
There are open circuit conditions, the embodiment of the present invention can will include the specific grade of the same endpoint (such as A6) when coping with such case
Any of road (such as D6, E6) be determined as the target road for needing to recall, i.e., can be by any one in road D6 and E6
It is determined as the target road for needing to recall, while another is deleted, for example, deletes road D6 and being determined as needing by road E6
The target road recalled, or delete road E6 and road D6 is determined as to the target road for needing to recall.
Step 305, drawing electronic map device recalls target road in map data base, the map number updated
According to library.
Step 306, drawing electronic map device determines that target is corresponded in the map data base updated shows that level is corresponding
Map datum draws the electronic map that target shows level based on identified map datum.
Embodiment three
The present embodiment be based on embodiment one and embodiment two, in the aforementioned embodiment, drawing electronic map device need by
Target shows that the road of specific grade in the corresponding map datum of level is deleted in map data base;
The drawing electronic map method that the present embodiment is recorded can be realized through but not limited to following manner:
Mode 1, drawing electronic map device are based on default treatment conditions and show to target required for electronic map is presented
Level is analyzed, when determining that target shows that level is to meet the level of default treatment conditions, by mesh from map data base
The road of specific grade is deleted in the corresponding map datum of mark display level.
Above-mentioned default treatment conditions indicate preset display level.
Target shows road in the corresponding map datum of level in chart database over the ground for mode 2, drawing electronic map device
Grade analyzed, target is shown that JCT, and/or IC is deleted in the corresponding map datum of level from map data base.
In the aforementioned embodiment, drawing electronic map device is shown it needs to be determined that corresponding to target in the map data base updated
The corresponding map datum of level, and the electronic map that target shows level is drawn based on identified map datum;In this regard, this reality
The drawing electronic map method for applying example record can be realized through but not limited to following manner: drawing electronic map device is according to leading
Navigate operational order, determines that target is corresponded in the map data base updated shows the corresponding map datum of level, based on determined by
Map datum is calculated, and the electronic map that level is shown for the target of navigation is generated.
Referring to the drawing electronic map method shown in Figure 10, comprising the following steps:
Step 401, it is aobvious to target required for electronic map is presented to be based on default treatment conditions for drawing electronic map device
Show that level is analyzed.
Step 402, drawing electronic map device judges that target shows whether level meets default treatment conditions, however, it is determined that mesh
Mark display level is to meet the level of default treatment conditions, thens follow the steps 403, no to then follow the steps 407.
In the present invention, drawing electronic map device judges that target shows whether level meets default treatment conditions, can be with
By the way that target is shown that level is matched with the preset display layer grade that default treatment conditions indicate, if successful match, i.e., really
It sets the goal and shows that level is to meet the level of default treatment conditions, then follow the steps 402, it is no to then follow the steps 406.
The present embodiment is based on default treatment conditions and analyzes target display layer grade required for electronic map is presented, and sentences
Disconnected target shows whether level is the level for meeting default treatment conditions, when judgement target shows that level is to meet default processing item
When the level of part, step 402 is executed, the display effect of electronic map can be improved in this way, when judgement target shows that level is not
When meeting the level of default treatment conditions, step 407 is directly executed, drawing electronic map device can be saved in this way.
Step 403, drawing electronic map device shows target in the corresponding map datum of level from map data base
The road of specific grade is deleted.
Step 404, drawing electronic map device is determined and is needed according to the characteristic of the road of the specific grade of each deletion
The target road recalled.
Step 405, drawing electronic map device recalls target road in map data base, the map number updated
According to library.
Step 406, drawing electronic map device determines in the map data base updated according to navigation operational order and corresponds to mesh
The corresponding map datum of mark display level.
Navigation operational order can come from user equipment, such as (such as map application is led for the application being installed on user equipment
Boat application, car networking map application, open platform map application etc.), user equipment can be smart phone, tablet computer, wear
Wear formula equipment (such as smart glasses, smart watches) or vehicle mobile terminals;Navigation operational order is specifically as follows navigation instruction
(for example including target position), positioning instruction, destination inquiry instruction etc.;It is in when may include navigation in navigation operational order
The required target of existing electronic map shows level.
Step 407, drawing electronic map device is calculated based on identified map datum, generates the mesh for navigation
The electronic map of mark display level.
If determining when executing step 402, target shows that level is not when meeting the level of default treatment conditions, to jump
To step 407, the identified map datum in step 407 refers to that target shows level correspondingly in map data base at this time
Diagram data.
In practice, the target for being used to navigate of generation can also be shown level electronically by drawing electronic map device
Figure, is transferred to user equipment.
Example IV
Corresponding with the record of previous embodiment, the present embodiment also records a kind of drawing electronic map device, electronic map
Drawing apparatus can be set inside user equipment, can also be separately configured, and user equipment may include smart phone, plate electricity
Brain, wearable device (such as smart glasses, smart watches) or vehicle mobile terminals;Referring to Figure 11, drawing electronic map device
Include:
Unit 501 is deleted, for target in map data base to be shown specific grade in the corresponding map datum of level
Road is deleted;
Determination unit 502 determines the mesh for needing to recall for the characteristic according to the road of the specific grade of each deletion
Mark road;
Unit 503 is recalled, for target road to be recalled in map data base, the map data base updated;
Drawing unit 504, for determining that corresponding to target in the map data base updated shows the corresponding map datum of level,
The electronic map that target shows level is drawn based on identified map datum.
In above scheme, target in map data base is shown the corresponding map number of level first by drawing electronic map device
The road of specific grade is deleted in, and the target road for needing to recall then is determined from the road of the specific grade of above-mentioned deletion
And recall in map data base, the map data base updated, target, which is corresponded to, in the map data base based on update shows
The corresponding map datum of level draws the electronic map that target shows level, aobvious due to corresponding to target in the map data base of update
Show that the road of specific grade in the corresponding map datum of level only remains the target road that the needs of above-mentioned determination are recalled, it can
It in the case where avoiding the occurrence of open circuit, simplifies electronic map and shows, reduce the interference information of electronic map, and then can improve
The display effect of electronic map.
On the basis of the above embodiments, unit 501 is deleted, is also used to based on default treatment conditions to presentation electronic map
Required target display layer grade analyzed;When determine target show level be to meet the target tier of default treatment conditions
When, from the road deletion that target is shown to specific grade in the corresponding map datum of level in map data base.
On the basis of the above embodiments, unit 501 is deleted, target in chart database over the ground is also used to and shows that level is corresponding
Map datum in the grade of road analyzed;It is high in the corresponding map datum of level from target is shown in map data base
The road between linking-up road, and/or connection super expressway and other grade roads between fast road is deleted.
On the basis of the above embodiments, determination unit 502 are also used to the spy of the road of the specific grade according to each deletion
Data are levied, the connection relationship between the road of each deletion is obtained;The road for determining that connection relationship meets default Rule of judgment is need
The target road to be recalled.
On the basis of the above embodiments, determination unit 502 are also used to the two of the road of the specific grade according to each deletion
The mount point number of a endpoint determines the target road for needing to recall.
On the basis of the above embodiments, determination unit 502 are also used to the two of the road of the specific grade according to each deletion
The mount point number of a endpoint, judges whether the road of the specific grade of each deletion meets the condition of recalling;The condition of recalling includes:
The mount point number of at least one endpoint is equal to preset number in two endpoints on road;Determine that the mount point number of two endpoints is full
The road that foot recalls condition is the target road for needing to recall.
On the basis of the above embodiments, determination unit 502 are also used to two of the road to the specific grade of each deletion
The mount point number of endpoint is analyzed;When the condition of recalling is not satisfied in the road for determining the specific grade including the same endpoint
When, any of the road of the specific grade including the same endpoint is determined as to the target road for needing to recall.
On the basis of the above embodiments, drawing unit 504 are also used to determine the ground updated according to navigation operational order
Target is corresponded in chart database shows the corresponding map datum of level;It is calculated based on identified map datum, generates and use
The electronic map of level is shown in the target of navigation.
In practical applications, unit 501, determination unit 502 are deleted, recalls unit 503, drawing unit 504, it can be by position
It can in the central processing unit (CPU) of drawing electronic map device, microprocessor (MPU), specific integrated circuit (ASIC) or scene
Gate array (FPGA) etc. is programmed to realize.
Embodiment five
The present embodiment records a kind of computer-readable medium, can for ROM (for example, read-only memory, FLASH memory,
Transfer device etc.), magnetic storage medium (for example, tape, disc driver etc.), optical storage medium is (for example, CD-ROM, DVD-
ROM, paper card, paper tape etc.) and other well-known types program storage;Computer is stored in computer-readable medium to be held
Row instruction (such as binary system executable instruction of the projections such as Tencent's video application), when executing an instruction, causes electronic map to be drawn
It includes operation below that at least one processor of device processed, which executes:
Target in map data base is shown that the road of specific grade in the corresponding map datum of level is deleted;
According to the characteristic of the road of the specific grade of each deletion, the target road for needing to recall is determined;
Target road is recalled in map data base, the map data base updated;
Determine that target is corresponded in the map data base updated shows the corresponding map datum of level, based on identified map
Data draw the electronic map that target shows level.
In conclusion target in map data base is shown spy in the corresponding map datum of level by drawing electronic map device
The road for determining grade is deleted, and is determined from the road of the specific grade of above-mentioned deletion and is needed the target road recalled and recall to ground
In chart database, the map data base updated shows that level is corresponding due to corresponding to target in the map data base of update
The road of specific grade only remains the target road that the needs of above-mentioned determination are recalled, the map number based on update in map datum
Show that the corresponding map datum of level draws the electronic map that target shows level according to target is corresponded in library, it both can be to avoid open circuit
The occurrence of, while the interference information of electronic map is decreased, it simplifies electronic map and shows, and then can improve electronically
The display effect of figure.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention
Formula.Moreover, the present invention, which can be used, can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (14)
1. a kind of drawing electronic map method, which is characterized in that the described method includes:
Target in map data base is shown that the road of specific grade in the corresponding map datum of level is deleted;
According to the characteristic of the road of the specific grade of each deletion, the target road for needing to recall is determined;
The target road is recalled in the map data base, the map data base updated;
Determine that the target is corresponded in the map data base of the update shows the corresponding map datum of level, based on determined by
Map datum draws the electronic map that the target shows level;
The characteristic of the road of the specific grade according to each deletion, the target road for determining that needs are recalled include:
According to the mount point number of two endpoints of the road of the specific grade of each deletion, the target track for needing to recall is determined
Road.
2. the method according to claim 1, wherein described show that level is corresponding for target in map data base
The road of specific grade, which is deleted, in map datum includes:
It is analyzed based on default treatment conditions the target display layer grade required for the electronic map is presented;
It, will from the map data base when determining that the target shows that level is to meet the level of the default treatment conditions
The target shows that the road of specific grade in the corresponding map datum of level is deleted.
3. the method according to claim 1, wherein described show that level is corresponding for target in map data base
The road of specific grade, which is deleted, in map datum includes:
The grade of road in the corresponding map datum of level, which is analyzed, to be shown to target in the map data base;
From the connection road shown the target in the map data base between the corresponding map datum high speed road of level
Road, and/or the road connected between the super expressway and other grade roads are deleted.
4. the method according to claim 1, wherein the road of the specific grade according to each deletion
Characteristic, the target road for determining that needs are recalled include:
According to the characteristic of the road of the specific grade of each deletion, the company between the road of each deletion is obtained
Connect relationship;
The road for determining that connection relationship meets default Rule of judgment is the target road for needing to recall.
5. the method according to claim 1, wherein the road of the specific grade according to each deletion
The mount point number of two endpoints, the target road for determining that needs are recalled include:
According to the mount point number of two endpoints of the road of the specific grade of each deletion, the specific of each deletion is judged
Whether the road of grade meets the condition of recalling;The condition of recalling includes: the extension of at least one endpoint in two endpoints of road
Loading point number is equal to preset number;
Determine that the mount point number of two endpoints recalls the road of condition described in meeting as the target road for needing to recall.
6. according to the method described in claim 5, it is characterized in that, the road of the specific grade according to each deletion
The mount point number of two endpoints, the target road for determining that needs are recalled include:
The mount point number of two endpoints of the road of the specific grade of each deletion is analyzed;
When determine include the specific grade of the same endpoint road be not satisfied it is described recall condition when, will described include same
Any of the road of the specific grade of a endpoint is determined as the target road for needing to recall.
7. the method according to claim 1, wherein corresponding to institute in the map data base of the determination update
It states target and shows the corresponding map datum of level, the target is drawn based on identified map datum and shows level electronically
Figure includes:
According to navigation operational order, determine that the target is corresponded in the map data base of the update shows the corresponding map of level
Data;
It is calculated based on identified map datum, generates the electronic map for showing level for the target of navigation.
8. a kind of drawing electronic map device, which is characterized in that described device includes:
Unit is deleted, for target in map data base to be shown that the road of specific grade in the corresponding map datum of level is deleted
It removes;
Determination unit determines the target for needing to recall for the characteristic according to the road of the specific grade of each deletion
Road;
Unit is recalled, for the target road to be recalled in the map data base, the map data base updated;
Drawing unit corresponds to the target in the map data base for determining the update and shows the corresponding map number of level
According to drawing the electronic map that the target shows level based on identified map datum;
The determination unit is also used to the mount point number of two endpoints of the road of the specific grade according to each deletion,
Determine the target road for needing to recall.
9. device according to claim 8, which is characterized in that
The deletion unit is also used to aobvious to the target required for the electronic map is presented based on default treatment conditions
Show that level is analyzed;When determining that the target shows that level is to meet the level of the default treatment conditions, from describedly
The target is shown that the road of specific grade in the corresponding map datum of level is deleted in chart database.
10. device according to claim 8, which is characterized in that
The deletion unit, be also used to show target in the map data base road in the corresponding map datum of level etc.
Grade is analyzed;The target is shown between the corresponding map datum high speed road of level from the map data base
Linking-up road, and/or the road connected between the super expressway and other grade roads are deleted.
11. device according to claim 8, which is characterized in that
The determination unit is also used to the characteristic of the road of the specific grade according to each deletion, obtains each institute
State the connection relationship between the road of deletion;Determine that the road needs of the default Rule of judgment of connection relationship satisfaction are recalled
Target road.
12. device according to claim 8, which is characterized in that
The determination unit is also used to the mount point number of two endpoints of the road of the specific grade according to each deletion,
Judge whether the road of the specific grade of each deletion meets the condition of recalling;The condition of recalling includes: two ends of road
The mount point number of at least one endpoint is equal to preset number in point;Determine that the mount point number of two endpoints is recalled described in meeting
The road of condition is the target road for needing to recall.
13. device according to claim 12, which is characterized in that
The determination unit, the mount point number for being also used to two endpoints of the road of the specific grade to each deletion carry out
Analysis;When determine include the specific grade of the same endpoint road be not satisfied it is described recall condition when, will described include same
Any of the road of the specific grade of one endpoint is determined as the target road for needing to recall.
14. device according to claim 8, which is characterized in that
The drawing unit is also used to determine according to navigation operational order and correspond to the mesh in the map data base of the update
The corresponding map datum of mark display level;It is calculated based on identified map datum, generates the target for navigation
Show the electronic map of level.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610166139.2A CN107220257B (en) | 2016-03-22 | 2016-03-22 | Drawing electronic map method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610166139.2A CN107220257B (en) | 2016-03-22 | 2016-03-22 | Drawing electronic map method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107220257A CN107220257A (en) | 2017-09-29 |
CN107220257B true CN107220257B (en) | 2019-03-15 |
Family
ID=59927962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610166139.2A Active CN107220257B (en) | 2016-03-22 | 2016-03-22 | Drawing electronic map method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107220257B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107564402B (en) * | 2017-10-31 | 2019-08-06 | 中煤航测遥感集团有限公司 | Drawing electronic map method and device |
CN111221927B (en) * | 2018-11-27 | 2023-10-27 | 中国移动通信集团辽宁有限公司 | Road segment connection method, device, equipment and medium |
CN111435089A (en) * | 2019-01-11 | 2020-07-21 | 阿里巴巴集团控股有限公司 | Map data compiling method, device, medium and server |
CN112201142B (en) * | 2020-09-14 | 2022-11-29 | 汉海信息技术(上海)有限公司 | Method and device for configuring road coding board of electronic map, electronic equipment and medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101634566A (en) * | 2009-07-31 | 2010-01-27 | 深圳市凯立德计算机系统技术有限公司 | Navigation system and method adopted by same for correcting map data |
CN101650191A (en) * | 2009-09-11 | 2010-02-17 | 北京四维图新科技股份有限公司 | Abstract method and device of road network topology |
CN102136219A (en) * | 2011-03-24 | 2011-07-27 | 厦门雅迅网络股份有限公司 | Method for implementing single-line processing on double-line roads of electronic map and device thereof |
CN102538801A (en) * | 2010-12-16 | 2012-07-04 | 上海博泰悦臻电子设备制造有限公司 | Method and device for processing road network data in navigation map |
CN104537031A (en) * | 2014-12-19 | 2015-04-22 | 百度在线网络技术(北京)有限公司 | Method and device for modifying map data |
CN104599324A (en) * | 2015-02-06 | 2015-05-06 | 浪潮集团有限公司 | Map data loading method and map data loading device based on GIS (geographic information system) platform |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120206469A1 (en) * | 2011-02-15 | 2012-08-16 | Tudor Hulubei | Efficient pre-computing of simplified vector data for rendering at multiple zoom levels |
US20130332476A1 (en) * | 2012-06-08 | 2013-12-12 | Apple Inc. | Vector road network simplification |
-
2016
- 2016-03-22 CN CN201610166139.2A patent/CN107220257B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101634566A (en) * | 2009-07-31 | 2010-01-27 | 深圳市凯立德计算机系统技术有限公司 | Navigation system and method adopted by same for correcting map data |
CN101650191A (en) * | 2009-09-11 | 2010-02-17 | 北京四维图新科技股份有限公司 | Abstract method and device of road network topology |
CN102538801A (en) * | 2010-12-16 | 2012-07-04 | 上海博泰悦臻电子设备制造有限公司 | Method and device for processing road network data in navigation map |
CN102136219A (en) * | 2011-03-24 | 2011-07-27 | 厦门雅迅网络股份有限公司 | Method for implementing single-line processing on double-line roads of electronic map and device thereof |
CN104537031A (en) * | 2014-12-19 | 2015-04-22 | 百度在线网络技术(北京)有限公司 | Method and device for modifying map data |
CN104599324A (en) * | 2015-02-06 | 2015-05-06 | 浪潮集团有限公司 | Map data loading method and map data loading device based on GIS (geographic information system) platform |
Also Published As
Publication number | Publication date |
---|---|
CN107220257A (en) | 2017-09-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107220257B (en) | Drawing electronic map method and device | |
CN112101305B (en) | Multi-path image processing method and device and electronic equipment | |
CN109215372A (en) | Road network information update method, device and equipment | |
KR102216749B1 (en) | Method, apparatus and computer program for coloring of a target image | |
CN106201266A (en) | Control method that a kind of virtual role moves and device, electronic equipment | |
CN105893577B (en) | Road net data processing method and processing device | |
CN111967664A (en) | Tour route planning method, device and equipment | |
CN107084740A (en) | A kind of air navigation aid and device | |
KR102171269B1 (en) | Method, apparatus and computer program for coloring of image, Method, apparatus and computer program for learning of artificial neural network | |
CN114971093B (en) | Method, system, equipment and medium for predicting urban road traffic flow attribute | |
CN111401228A (en) | Video target labeling method and device and electronic equipment | |
CN112233428A (en) | Traffic flow prediction method, traffic flow prediction device, storage medium and equipment | |
US11816543B2 (en) | System and method for using knowledge gathered by a vehicle | |
CN110553662A (en) | navigation method and system based on road intersection coding system | |
CN115937352B (en) | Mine scene simulation method, system, electronic equipment and storage medium | |
CN110381391B (en) | Video fast slicing method and device and electronic equipment | |
CN115526069B (en) | Simulated driving scene generation method, device, equipment and computer readable medium | |
CN103000075B (en) | A kind of electronic map device and electronic chart path presentation method | |
CN114396963A (en) | Planning method and device of driving path, vehicle-mounted terminal and storage medium | |
JP7070531B2 (en) | Urban structure design equipment and urban structure design program | |
CN113225586B (en) | Video processing method and device, electronic equipment and storage medium | |
CN107490383B (en) | Service providing method, server and readable medium for path health information in navigation | |
CN111739322B (en) | Data processing method and device | |
CN107423096A (en) | A kind of method and device for realizing software installation | |
US11187554B2 (en) | Method, device and computer storage medium for providing running speed of urban road |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210929 Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd. Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |
|
TR01 | Transfer of patent right |