CN105677773A - Route display method and device - Google Patents
Route display method and device Download PDFInfo
- Publication number
- CN105677773A CN105677773A CN201511025234.2A CN201511025234A CN105677773A CN 105677773 A CN105677773 A CN 105677773A CN 201511025234 A CN201511025234 A CN 201511025234A CN 105677773 A CN105677773 A CN 105677773A
- Authority
- CN
- China
- Prior art keywords
- route
- image
- data
- original
- structural data
- 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
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)
- Processing Or Creating Images (AREA)
Abstract
The invention discloses a route display method and device. The route display method comprises that route structural data is obtained, and an image of a corresponding first route is drawn in dependence on the route structural data; the image of the first route and an image of an original route are displayed at the same time; the obtained route structural data at least at least comprises structural data of the original route, and the structural data of the original route is obtained in dependence on the image of the original route. Through the above way, the image of the corresponding route can be drawn in dependence on modified route structural data, and the image of the corresponding route and the image of the original route are displayed at the same time, and the difference between the image of the corresponding route and the image of the original route can be visually reflected in order to discover the modified route information.
Description
Technical field
The present invention relates to technical field of image processing, particularly relate to a kind of route display methods and dressPut.
Background technology
Along with the raising of people's living standard, there is increasing user to make earnest efforts tourism. And, byIn the extensive use of internet, travel agency relies on issue travelling route, internet more and more. LogicalOften, travel agency stores travelling route information in database in textual description mode, when client needsWhen checking line information, recall related content in textual description mode according to user's demandBe presented in the page. But if line information changes, client is difficult to true at short noticeRecognize circuit and adjusted on earth those information, though the content that in descriptor, deliberately mark changes, withText mode embodies to client, is still difficult to the sense organ impression very intuitively to client, thereby has affected visitorFamily is experienced.
Summary of the invention
The technical problem that the present invention mainly solves is to provide a kind of route display methods and device, canEmbody intuitively circuit amendment information, experience to improve user.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: a kind of route is aobviousShow method, described method comprises: obtain route structural data, and according to described route structuringData are drawn the image of corresponding the first route; And the image that simultaneously shows described the first route withAnd the image of original route; Wherein, described in the described route structural data getting at least comprisesThe structural data of original route, the structural data of described original route is according to described original routeImage obtain.
For solving the problems of the technologies described above, another technical solution used in the present invention is: provide a kind ofRoute display unit, described device comprises: Image Rendering module, for obtaining route structuring numberAccording to, and draw corresponding first via line image according to described route structural data; Graphics Processing mouldPiece, for show the image of described the first route and the image of original route simultaneously; Wherein, obtainThe described route structural data of getting at least comprises the structural data of described original route, described inThe structural data of original route obtains according to described original route image.
In above scheme, draw corresponding route map picture according to amended route structural data,And show with original route image, to embody intuitively the difference of the two, repaiied finding. simultaneouslyThe route information changing. By above scheme, user/travel agency issues travelling route information, describes tripPlace and the mileage information of trip circuit process, allow other users can experience intuitively line information.If travelling route is adjusted, can safeguard new travelling route information, and by new and old lineRoad contrast, shows other users with patterned way, experiences intuitively circuit revised context.
Brief description of the drawings
Fig. 1 is the schematic flow sheet of a kind of route display methods in first embodiment of the invention;
Fig. 2 is the use view that route of the present invention shows;
Fig. 3 is the schematic flow sheet of a kind of route display methods in second embodiment of the invention;
Fig. 4 is the structural representation of a kind of route display unit in first embodiment of the invention;
Fig. 5 is the structural representation of a kind of route display unit in second embodiment of the invention.
Detailed description of the invention
By describing technology contents of the present invention, structural feature in detail, being realized object and effect, withUnder the present invention is described in detail in conjunction with the accompanying drawings and embodiments.
Referring to Fig. 1, is the flow process of a kind of route display methods in first embodiment of the inventionSchematic diagram. Method flow shown in this embodiment comprises the following steps:
Step S10, obtains route structural data, and draws phase according to this route structural dataThe first via line image of answering.
Step S11 shows first via line image and original route image simultaneously.
Wherein, the route structural data getting at least comprises the structuring number of this original routeAccording to, the structural data of this original route is to obtain according to the image of this original route.
Particularly, pre-rendered original route image, and obtain the structural data of this original route.In the time receiving modify instruction, respond this modify instruction the structural data of this original route is carried outAmendment forms new structural data. Then, draw out the first via according to this new structural dataLine image, to show original route image and first via line image simultaneously, thus terrain directly perceivedReveal the difference of the two, with the route information of finding to be modified. Wherein, amendment can be to routeThe amendment of structural data and newly-increased structural data.
Further, this route structural data comprises the first minor structure data and the second minor structure numberAccording to, these the first minor structure data are used for preserving objective information, as the title of, objective,Coordinate. These the second minor structure data are used for identifying storage and connect two objectives, to represent twoDirection relations, the range information etc. of objective.
Further, this first via line image and original route image are SVG image.
In step S11, show that this first via line image and original route image are specially simultaneously:Show original route image and first via line image, and in first via line image, indicate amendmentStructural data.
Please refer to Fig. 2, for example, taking html5 as carrier, with the form while of left-right layoutShow two width SVG figure, and taking the image (original route image) on the left side as reference data,The image (first via line image) on the right dynamically marks path difference, node difference, overall lengthDegree difference, makes user can experience very intuitively the difference of new and old circuit amendment.
As mentioned above, draw corresponding route map picture according to amended route structural data, andShow with original route image simultaneously, to embody intuitively the difference of the two, be modified findingRoute information. By above scheme, user/travel agency issues travelling route information, describes tourismThe place of circuit process and mileage information, allow other users can experience intuitively line information. AsFruit travelling route is adjusted, and can safeguard new travelling route information, and by new and old circuitContrast, shows other users with patterned way, experiences intuitively circuit revised context.
Referring to Fig. 3, is the flow process of a kind of route display methods in second embodiment of the inventionSchematic diagram. Method shown in this embodiment is with respect to the method shown in Fig. 1, step S10 itBefore, also comprise the steps:
Step S20, draws the image of this original route.
Step S21, according to the structural data of this original route of image acquisition of this original route.
Step S22, response modification operates so that this structural data is modified.
Wherein, amendment can be the satisfy the need amendment of line structure data and newly-increased structural data.
Other steps in Fig. 3 refer to Fig. 1 and corresponding explanatory note part.
Refer to Fig. 4, for the structure of a kind of route display unit of first embodiment of the invention is shownIntention, the device 30 shown in this embodiment comprises Image Rendering module 31 and Graphics Processing mouldPiece 32.
This Image Rendering module 31 is for obtaining route structural data, and according to this route structureChange data and draw corresponding first via line image.
This Graphics Processing module 32 is for show the image of the first route and original route simultaneouslyImage.
Wherein, the route structural data getting at least comprises the structural data of original route,The structural data of this original route obtains according to this original route image.
Particularly, the pre-rendered original route image of this Image Rendering module 31, and obtain that this is formerThe structural data of beginning route. In the time receiving modify instruction, these device 30 these amendments of response refer toOrder is modified and is formed new structural data the structural data of this original route. Then, shouldImage Rendering module 31 is drawn out first via line image according to this new structural data, this demonstrationProcessing module 32 shows original route image and first via line image simultaneously, thereby can be intuitivelyEmbody the difference of the two, with the route information of finding to be modified. Wherein, amendment can be to satisfy the needThe amendment of line structure data and newly-increased structural data.
Further, this route structural data comprises the first minor structure data and the second minor structure numberAccording to, these the first minor structure data are used for preserving objective information, as the title of, objective,Coordinate. These the second minor structure data are used for identifying storage and connect two objectives, to represent twoDirection relations, the range information etc. of objective.
Further, this first via line image and original route image are SVG image.
Further, this Graphics Processing module 32 is also for showing original route image and the first viaLine image, and in first via line image, indicate the structural data of amendment.
Referring to Fig. 5, is the structure of a kind of route display unit in second embodiment of the inventionSchematic diagram, the device 40 shown in this embodiment also comprises solution with respect to the device 30 shown in Fig. 4Analyse module 43.
The pre-rendered original route image of this Image Rendering module 41, this parsing module 43 is for rootObtain the structural data of this original route according to the image of this original route, and receive amendment refer toWhile order, responding this modify instruction modifies and forms new knot the structural data of this original routeStructure data. Then, this Image Rendering module 41 draws out according to this new structural dataOne route map picture, this Graphics Processing module 42 shows original route image and first via line chart simultaneouslyPicture, thus can embody intuitively the two difference, with the route information of finding to be modified. ItsIn, amendment can be the satisfy the need amendment of line structure data and newly-increased structural data.
Other modules in Fig. 5 are referring to Fig. 4 and corresponding explanatory note part.
The foregoing is only embodiments of the present invention, not thereby limit patent model of the present inventionEnclose every equivalent structure or change of equivalent flow process that utilizes description of the present invention and accompanying drawing content to doChange, or be directly or indirectly used in other relevant technical fields, be all in like manner included in of the present inventionIn scope of patent protection.
Claims (10)
1. a route display methods, is characterized in that, described method comprises:
Obtain route structural data, and draw corresponding first according to described route structural dataThe image of route; And
Show the image of described the first route and the image of original route simultaneously;
Wherein, the described route structural data getting at least comprises the structure of described original routeChange data, the structural data of described original route obtains according to the image of described original route.
2. route display methods according to claim 1, is characterized in that, described in obtain roadLine structure data, and draw the image of corresponding the first route according to described route structural dataStep before, described method also comprises:
Draw the image of described original route;
According to the structural data of original route described in the image acquisition of described original route;
Response modification operates so that described structural data is modified.
3. route display methods according to claim 2, is characterized in that, described route knotStructure data comprise the first minor structure data and the second minor structure data, described the first minor structure dataBe used for preserving objective information, described the second minor structure data are used for identifying storage and connect two ordersMark place.
4. route display methods according to claim 2, is characterized in that, described simultaneously aobviousThe step of showing the image of described the first route and the image of original route is specially:
Show described original route image; And
Show the image of described the first route, and indicate the institute of amendment at the image of described the first routeState structural data.
5. according to the route display methods described in claim 1-4 any one, it is characterized in that,The image of the image of described original route and described the first route is SVG image.
6. a route display unit, is characterized in that, described device comprises:
Image Rendering module, for obtaining route structural data, and according to described route structuringData are drawn corresponding first via line image;
Graphics Processing module, for show the image of described the first route and original route simultaneouslyImage;
Wherein, the described route structural data getting at least comprises the structure of described original routeChange data, the structural data of described original route obtains according to described original route image.
7. route display unit according to claim 6, is characterized in that, described image is paintedMolding piece is also for drawing described original route image; Described device also comprises parsing module, forAccording to the structural data of original route described in the image acquisition of described original route, and response modificationOperation is modified to described structural data.
8. route display unit according to claim 7, is characterized in that, described route knotStructure data comprise the first minor structure data and the second minor structure data, described the first minor structure dataBe used for preserving objective information, described the second minor structure data are used for identifying storage and connect two ordersMark place.
9. route display unit according to claim 7, is characterized in that, described demonstration placeReason module also for showing described original route image, and show described first via line image andDescribed first via line image indicates the described structural data of amendment.
10. according to the route display unit described in claim 6-9 any one, it is characterized in that,The image of the image of described original route and described the first route is SVG image.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511025234.2A CN105677773A (en) | 2015-12-30 | 2015-12-30 | Route display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201511025234.2A CN105677773A (en) | 2015-12-30 | 2015-12-30 | Route display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105677773A true CN105677773A (en) | 2016-06-15 |
Family
ID=56298169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201511025234.2A Pending CN105677773A (en) | 2015-12-30 | 2015-12-30 | Route display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105677773A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1871499A (en) * | 2003-09-30 | 2006-11-29 | 株式会社建伍 | Guide route search device and guide route search method |
CN101430211A (en) * | 2005-12-07 | 2009-05-13 | 松下电器产业株式会社 | Route information display device and route information display method |
CN102084219A (en) * | 2007-06-15 | 2011-06-01 | 微软公司 | Route modifications |
-
2015
- 2015-12-30 CN CN201511025234.2A patent/CN105677773A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1871499A (en) * | 2003-09-30 | 2006-11-29 | 株式会社建伍 | Guide route search device and guide route search method |
CN101430211A (en) * | 2005-12-07 | 2009-05-13 | 松下电器产业株式会社 | Route information display device and route information display method |
CN102084219A (en) * | 2007-06-15 | 2011-06-01 | 微软公司 | Route modifications |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109815327B (en) | SVG-based big data knowledge graph visualization solution | |
KR102056882B1 (en) | Managing map elements using aggregate feature identifiers | |
US8332763B2 (en) | Aggregating dynamic visual content | |
US20120284664A1 (en) | Caching intermediate data for scroll view rendering | |
US8700616B2 (en) | Systems and methods for cross-street identification | |
KR101494844B1 (en) | System for Transforming Chart Using Metadata and Method thereof | |
CN104933057A (en) | Map service providing method and apparatus | |
CN105808217A (en) | Flow chart drawing method and system based on XML | |
CN111046306B (en) | Method for dynamically displaying employment information analysis result chart by browser | |
CN103970859A (en) | Google user map text labeling method based on SVG | |
CN106528762B (en) | Electronic map processing method and processing system for identifying interest points | |
CN103631578A (en) | Data display method in power distribution network automated system | |
US20110225546A1 (en) | Map spotlights | |
CN110532497A (en) | The method of panorama sketch is generated, the method for three-dimensional page is generated and calculates equipment | |
CN103593483A (en) | Search method for flash courseware knowledge points | |
CN103852080B (en) | The map-indication method of object and system | |
CN104504054A (en) | Location character display method and system based on streetscape attribute information | |
CN117390195A (en) | Knowledge traceability connecting method, system, equipment and medium based on graph editor | |
CN105677773A (en) | Route display method and device | |
CN104809113B (en) | The display methods and device of webpage information | |
KR20170014514A (en) | Device and method of categorizing vector-map data | |
CN104063901A (en) | Showing method and device for electronic map | |
CN101436181A (en) | Method for acquiring and exhibiting general-purpose web medium | |
Nixon et al. | Semantics enhancing augmented reality and making our reality smarter | |
CN106033446B (en) | Webpage content display method and webpage content display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160615 |
|
RJ01 | Rejection of invention patent application after publication |