CN108415936A - A kind of trajectory playback method and device of electronic map - Google Patents
A kind of trajectory playback method and device of electronic map Download PDFInfo
- Publication number
- CN108415936A CN108415936A CN201810068546.9A CN201810068546A CN108415936A CN 108415936 A CN108415936 A CN 108415936A CN 201810068546 A CN201810068546 A CN 201810068546A CN 108415936 A CN108415936 A CN 108415936A
- Authority
- CN
- China
- Prior art keywords
- start position
- target point
- electronic map
- coordinate data
- trace playback
- 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.)
- Pending
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—2D [Two Dimensional] image generation
- G06T11/20—Drawing from basic elements, e.g. lines or circles
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Navigation (AREA)
- Processing Or Creating Images (AREA)
Abstract
The present invention provides a kind of trajectory playback method of electronic map and devices, belong to electronic map field.The method includes:Determine start position and the final position of trace playback;Object track drafting under mobile status from start position, and object occurs once in each target point;When the object is moved to final position from start position, the trace playback in electronic map is completed.The solution of the present invention only provides the position of beginning and end in trace playback, allows object from starting point active track drafting, the track drafting in movement.Meanwhile frequency is drawn to change rate travel, to ensure that object occurs once in each coordinate points by change.Visually the forming process Dynamic Display of track is come out.
Description
Technical field
The present invention relates to electronic map field more particularly to the trajectory playback methods and device of a kind of electronic map.
Background technology
In map development process, there are many application scenarios of trace playback, and the mode that existing map exploitation API is provided is first
Complete track is drawn out, is then moved at a given speed on track with target object.
There are two drawbacks for this method:When track is more complicated, complete track is first drawn out, then move target,
It can give people visual confusion, in addition object is when track moves up dynamic, according to current algorithm, according to the difference of speed, target
One or more intermediate points may be skipped, not being each coordinate points can pass through, and can neither accomplish at the uniform velocity to move, visually
It cannot guarantee that the upper continuous effect of picture.
Invention content
The embodiment of the present invention proposes a kind of trajectory playback method and device of electronic map and is only given in trace playback
The position for going out beginning and end, allows object from starting point active track drafting, and the track drafting in movement visually forms track
Replayed section.
The embodiment of the present invention provides a kind of trajectory playback method of electronic map, the method includes:
Determine start position and the final position of trace playback;
Object track drafting under mobile status from the start position, and the object occurs in each target point
Once;
When the object is moved to the final position from the start position, complete to return in the track of electronic map
It puts.
The embodiment of the present invention additionally provides a kind of trace playback device of electronic map, described device include determination unit and
Trace playback unit;
The determination unit, the start position for determining trace playback and final position;
The trace playback unit, for object from the start position track drafting under mobile status, and it is described
Object occurs in each target point once, when the start position that the object is determined from the determination unit is moved to
When the final position, the trace playback in electronic map is completed.
It has the beneficial effect that:
The solution of the present invention only provides the position of beginning and end in trace playback, and object is allowed actively to be painted from starting point
Track processed, the track drafting in movement.Meanwhile frequency is drawn to change rate travel, to ensure object every by change
A coordinate points occur primary.Visually the forming process Dynamic Display of track is come out.
Description of the drawings
Specific embodiments of the present invention are described below with reference to accompanying drawings, wherein:
Fig. 1 shows the trajectory playback method flow diagram of electronic map in the embodiment of the present invention one;
Fig. 2 shows the initial schematic diagrames of trace playback in the embodiment of the present invention one;
Fig. 3 shows trace playback process schematic in the embodiment of the present invention one;
Fig. 4 shows the trace playback apparatus structure schematic diagram of electronic map in the embodiment of the present invention two;
Fig. 5 shows another structural schematic diagram of the trace playback device of electronic map in the embodiment of the present invention two.
Specific implementation mode
In order to make technical scheme of the present invention and advantage be more clearly understood, below in conjunction with attached drawing to the exemplary of the present invention
Embodiment is described in more detail, it is clear that and the described embodiments are merely a part of the embodiments of the present invention, rather than
The exhaustion of all embodiments.And in the absence of conflict, the feature in the embodiment and embodiment in this explanation can be mutual
It is combined.
Embodiment one
Fig. 1 shows a kind of trajectory playback method of electronic map, the method includes:
Step 101:Determine start position and the final position of trace playback;
In practical application, if starting trace playback, the coordinate data for obtaining object movement, the coordinate data packet are needed
Start position, final position and target point are included, the coordinate points which passes through when referring to object movement.
When getting the coordinate data that object moves in a period of time, judge whether the distance of object movement is more than one
Definite value;
If more than then to coordinate data progress interpolation processing, if being less than, at coordinate data progress merger
Reason.
Step 102:Object track drafting under mobile status from start position, and object occurs in each target point
Once;
Specifically, determining the rate travel of object by determining drafting frequency, it is ensured that object is in each target point
Occur primary.
Wherein, movement speed controls, and the drafting speed of track is improved by improving object travel frequency, it is per second at least
24 times, to ensure that mobile effect visually is continuous.
Step 103:When object is moved to final position from start position, the trace playback in electronic map is completed.
Wherein, object is moved track drafting by this programme with the speed per second for being more than 24 times, is reproduced in real scene
Track generating process from scratch, more meets everybody intuition, visually comes out the forming process Dynamic Display of track.
As shown in Figure 2 and Figure 3, present solution provides a kind of initial schematic diagram of trace playback on the electronic map and playback
Beginning and end and target point are drawn on map by process schematic, elder generation, and object moves track drafting, often from starting point
One point of secondary movement, while the coordinate series of path line increases the coordinate data of a point every time, until terminal.
Scheme provided by the invention only provides the position of beginning and end in trace playback, allows object from starting point master
Dynamic track drafting, the track drafting in movement.
Embodiment two
Referring to Fig. 4, the trace playback device of electronic map provided by the invention, described device includes 201 He of determination unit
Trace playback unit 202;
Determination unit 201, the start position for determining trace playback and final position;
Trace playback unit 202, for object from start position the track drafting under mobile status, and object is every
A target point occurs once, when the start position that object is determined from the determination unit is moved to final position, completes to exist
The trace playback of electronic map.
Referring to Fig. 5, as the specific embodiment of the present invention, the trace playback device of electronic map of the invention is gone back
Including acquiring unit 203, the coordinate data for obtaining object movement, coordinate data include start position, final position and
Target point.Wherein, generally there are multiple target points, the coordinate points passed through when target point refers to object movement.
The object is also judged other than the start position for determining trace playback and final position for determination unit
Whether mobile distance is more than certain value, if more than then interpolation processing being carried out to coordinate data, if being less than, to coordinate data
Carry out merger processing.
Specifically, object occurs once, specifically including in each target point:
The rate travel of the object is determined by determining drafting frequency, it is ensured that the object is in each target point
Occur primary.
In the embodiment of the present invention, draws frequency and be determined as object with the speed movement per second for being more than 24 times.Object with
The speed movement track drafting per second for being more than 24 times, reproduces the track generating process from scratch in real scene, more meets big
The intuition of family.
Scheme provided by the invention only provides the position of beginning and end in trace playback, allows object from starting point master
Dynamic track drafting, the track drafting in movement.In scheme, object moves track drafting with the speed per second for being more than 24 times, then
Track in existing real scene generating process from scratch, more meets everybody intuition.In visual effect, picture is continuous change
Change, bandwagon effect is very good.
For convenience of description, each section of apparatus above is divided into various modules with function or unit describes respectively.Certainly,
Each module or the function of unit can be realized in same or multiple softwares or hardware in carrying out the present invention.
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, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention
Apply the form of example.Moreover, the present invention can be used in one or more wherein include computer usable program code computer
The computer program production implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
The form of product.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Claims (10)
1. a kind of trajectory playback method of electronic map, which is characterized in that the method includes:
Determine start position and the final position of trace playback;
Object track drafting under mobile status from the start position, and the object occurs one in each target point
It is secondary;
When the object is moved to the final position from the start position, the trace playback in electronic map is completed.
2. the method as described in claim 1, which is characterized in that the start position of the determining trace playback and final position it
Before, the method further includes:
The coordinate data of object movement is obtained, the coordinate data includes start position, final position and target point.
3. method as claimed in claim 2, which is characterized in that the method further includes:
Judge whether the distance of the object movement is more than certain value;
If more than then to coordinate data progress interpolation processing, if being less than, to coordinate data progress merger processing.
4. method as described in any one of claims 1-3, which is characterized in that the object occurs once in each target point,
It specifically includes:
The rate travel of the object is determined by determining drafting frequency, it is ensured that the object occurs in each target point
Once.
5. method as claimed in claim 4, which is characterized in that the drafting frequency is determined as object and is more than 24 times with per second
Speed movement.
6. a kind of trace playback device of electronic map, which is characterized in that described device includes:
Determination unit, the start position for determining trace playback and final position;
Trace playback unit, for object from the start position track drafting under mobile status, and the object exists
Each target point occurs once, when the start position that the object is determined from the determination unit is moved to the terminal
When position, the trace playback in electronic map is completed.
7. device as claimed in claim 6, which is characterized in that described device further includes acquiring unit, for obtaining object
Mobile coordinate data, the coordinate data include start position, final position and target point.
8. device as claimed in claim 7, which is characterized in that the determination unit further includes:
Judge whether the distance of object movement is more than certain value, if more than then to the coordinate data at row interpolation
Reason carries out merger processing if being less than to the coordinate data.
9. the device as described in claim 6-8 is any, which is characterized in that the object occurs once in each target point,
It specifically includes:
The rate travel of the object is determined by determining drafting frequency, it is ensured that the object occurs in each target point
Once.
10. device as claimed in claim 9, which is characterized in that the drafting frequency is determined as object and is more than 24 with per second
Secondary speed movement.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810068546.9A CN108415936A (en) | 2018-01-24 | 2018-01-24 | A kind of trajectory playback method and device of electronic map |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810068546.9A CN108415936A (en) | 2018-01-24 | 2018-01-24 | A kind of trajectory playback method and device of electronic map |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108415936A true CN108415936A (en) | 2018-08-17 |
Family
ID=63126385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810068546.9A Pending CN108415936A (en) | 2018-01-24 | 2018-01-24 | A kind of trajectory playback method and device of electronic map |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108415936A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109410737A (en) * | 2018-10-31 | 2019-03-01 | 成都四方伟业软件股份有限公司 | Dynamic trajectory method for drafting and system are put on a kind of map based on Local hydrodynamic unit |
CN109727524A (en) * | 2018-11-30 | 2019-05-07 | 武汉烽火众智智慧之星科技有限公司 | The method and device of play history track in a kind of electronic map |
CN109726248A (en) * | 2019-01-07 | 2019-05-07 | 深圳英飞拓科技股份有限公司 | Vehicle driving track display method, device, system and computer equipment |
CN110888959A (en) * | 2019-11-29 | 2020-03-17 | 慧众行知科技(北京)有限公司 | Display method and system for positioning coordinate point |
CN111694905A (en) * | 2019-03-13 | 2020-09-22 | 杭州海康威视系统技术有限公司 | Track playback method and device |
CN112667497A (en) * | 2020-12-18 | 2021-04-16 | 雄狮汽车科技(南京)有限公司 | Data processing device and method for debugging and verifying trajectory algorithm |
CN114440920A (en) * | 2022-01-27 | 2022-05-06 | 电信科学技术第十研究所有限公司 | Track flow display method and device based on electronic map |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901551A (en) * | 2010-06-29 | 2010-12-01 | 上海英迪信息技术有限公司 | Method for optimizing track playback function in vehicle monitoring system |
CN102446213A (en) * | 2011-09-13 | 2012-05-09 | 西安大唐电信有限公司 | Geographic information system and positioning storage and track display method based on same |
CN105719351A (en) * | 2014-12-04 | 2016-06-29 | 高德软件有限公司 | Method and apparatus for displaying electronic map |
-
2018
- 2018-01-24 CN CN201810068546.9A patent/CN108415936A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101901551A (en) * | 2010-06-29 | 2010-12-01 | 上海英迪信息技术有限公司 | Method for optimizing track playback function in vehicle monitoring system |
CN102446213A (en) * | 2011-09-13 | 2012-05-09 | 西安大唐电信有限公司 | Geographic information system and positioning storage and track display method based on same |
CN105719351A (en) * | 2014-12-04 | 2016-06-29 | 高德软件有限公司 | Method and apparatus for displaying electronic map |
Non-Patent Citations (1)
Title |
---|
袁芳: "车载GPS监控调度管理系统", 《中国优秀硕士学位论文全文数据库,工程科技II辑》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109410737A (en) * | 2018-10-31 | 2019-03-01 | 成都四方伟业软件股份有限公司 | Dynamic trajectory method for drafting and system are put on a kind of map based on Local hydrodynamic unit |
CN109727524A (en) * | 2018-11-30 | 2019-05-07 | 武汉烽火众智智慧之星科技有限公司 | The method and device of play history track in a kind of electronic map |
CN109726248A (en) * | 2019-01-07 | 2019-05-07 | 深圳英飞拓科技股份有限公司 | Vehicle driving track display method, device, system and computer equipment |
CN111694905A (en) * | 2019-03-13 | 2020-09-22 | 杭州海康威视系统技术有限公司 | Track playback method and device |
CN111694905B (en) * | 2019-03-13 | 2024-01-23 | 杭州海康威视系统技术有限公司 | Track playback method and track playback device |
CN110888959A (en) * | 2019-11-29 | 2020-03-17 | 慧众行知科技(北京)有限公司 | Display method and system for positioning coordinate point |
CN112667497A (en) * | 2020-12-18 | 2021-04-16 | 雄狮汽车科技(南京)有限公司 | Data processing device and method for debugging and verifying trajectory algorithm |
CN114440920A (en) * | 2022-01-27 | 2022-05-06 | 电信科学技术第十研究所有限公司 | Track flow display method and device based on electronic map |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108415936A (en) | A kind of trajectory playback method and device of electronic map | |
CN106648391B (en) | Handwriting synchronization method, device and system | |
CN113705520A (en) | Motion capture method and device and server | |
US10338879B2 (en) | Synchronization object determining method, apparatus, and system | |
CN109831659B (en) | VR video caching method and system | |
CN108777832A (en) | A kind of real-time 3D sound fields structure and mixer system based on the video object tracking | |
CN114531553A (en) | Method and device for generating special effect video, electronic equipment and storage medium | |
JP5866481B2 (en) | Method, system and computer storage medium for realizing movement synchronization by remote control | |
CN111638791A (en) | Virtual character generation method and device, electronic equipment and storage medium | |
CN115278107A (en) | Video processing method and device, electronic equipment and storage medium | |
CN111652675A (en) | Display method and device and electronic equipment | |
CN114881901A (en) | Video synthesis method, device, equipment, medium and product | |
CN114529690B (en) | Augmented reality scene presentation method, device, terminal equipment and storage medium | |
CN112258647B (en) | Map reconstruction method and device, computer readable medium and electronic equipment | |
CN111857482B (en) | Interaction method, device, equipment and readable medium | |
CN104866282B (en) | A kind of method and electronic equipment of control electronics | |
CN110189364B (en) | Method and device for generating information, and target tracking method and device | |
CN113009908A (en) | Motion control method, device, equipment and storage medium for unmanned equipment | |
US12041374B2 (en) | Segmentation-based video capturing method, apparatus, device and storage medium | |
CN106303153B (en) | A kind of image processing method and device | |
CN112199885A (en) | Distributed model training system and application method | |
CN102129426B (en) | The method of display character relation and device | |
CN109816791B (en) | Method and apparatus for generating information | |
CN115953504A (en) | Special effect processing method and device, electronic equipment and storage medium | |
CN116188954A (en) | Online evaluation method and system for target detection algorithm, electronic equipment and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180817 |
|
RJ01 | Rejection of invention patent application after publication |