CN106204566A - Outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system - Google Patents

Outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system Download PDF

Info

Publication number
CN106204566A
CN106204566A CN201610524867.6A CN201610524867A CN106204566A CN 106204566 A CN106204566 A CN 106204566A CN 201610524867 A CN201610524867 A CN 201610524867A CN 106204566 A CN106204566 A CN 106204566A
Authority
CN
China
Prior art keywords
map
outdoor scene
scene hand
hand
drawing map
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610524867.6A
Other languages
Chinese (zh)
Other versions
CN106204566B (en
Inventor
丁建雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Sanmao Mdt Infotech Ltd
Original Assignee
Guangzhou Sanmao Mdt Infotech Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Sanmao Mdt Infotech Ltd filed Critical Guangzhou Sanmao Mdt Infotech Ltd
Priority to CN201610524867.6A priority Critical patent/CN106204566B/en
Publication of CN106204566A publication Critical patent/CN106204566A/en
Application granted granted Critical
Publication of CN106204566B publication Critical patent/CN106204566B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B29/00Maps; Plans; Charts; Diagrams, e.g. route diagram
    • G09B29/003Maps
    • G09B29/004Map manufacture or repair; Tear or ink or water resistant maps; Long-life maps
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F27/00Combined visual and audible advertising or displaying, e.g. for public address

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Business, Economics & Management (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • Navigation (AREA)
  • Processing Or Creating Images (AREA)
  • Instructional Devices (AREA)

Abstract

The invention discloses a kind of outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system, this cutting method includes the position first determining outdoor scene hand-drawing map in third party's map, then it is worth the resolution of this outdoor scene hand-drawing map according to the upper left corner of outdoor scene hand-drawing map and the latitude and longitude coordinates in the lower right corner, and then obtain the maximum map grade of this outdoor scene hand-drawing map, then it is saved in respectively under same file folder after point sections such as outdoor scene hand-drawing map according to different map grades.Whole map is carried out cutting by the method, big map is divided into little map and then preserves, and when user uses, the loading efficiency making map in loading procedure is higher.The present invention also compensate for the most a lot of map operators can not provide the defect of the traveled map being suitable for China's overseas trip.

Description

Outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system
Technical field
The present invention relates to image processing method, particularly relate to outdoor scene hand-drawing map cutting method and device, intelligent guide reality Existing method and system.
Background technology
According to statistics, China's overseas trip number has come into " hundred million person-times ", compares 1998 and has been increased to more than 10 times, and Also continuing to increase.Due to increasing Chinese citizen's overseas trip, also bring problems, one be service under line supporting with Not going up, guide's number and quality do not catch up with far away growth paces;Two is the departure free walker user that guide does not leads to those, Because unmanned explanation and language communication cultural difference, it is impossible to understand scenery and showpiece rich culture intension, should stay numerous Foot view and admire, the humanity of fine taste, history Landscape Lamp be the most all have a glance at, anopia, which results in tourist resources Significant wastage.Occuping this situation, a kind of road that can solve the problem that domestic consumer's overseas trip process guides, and scenic spot realistic picture is shown And the technology of guide to visitors and phonetic explaining becomes extremely important.Great majority are all mainly by Google Maps, high moral map now Or Baidu's maps etc. reach location based on GPS positioning chip, and trigger voice broadcast mould according to the mobile route of user Block, reaches to play the purpose that adnexa sight spot, user position explains orally, thus realizes speech guide service.But, for China Scenic spot overseas, continent, due to politics and safety factors, the domestic mobile phone terminal dispatched from the factory eliminates Google's service enlarging, causes nothing Method uses Google Maps map, it is impossible to realize guide to visitors service overseas;And domestic high moral map, Baidu's map and Tengxun ground The main Cartographic Technique providers such as figure are not extended to overseas in business, are not covered with geography information overseas, cannot yet Realize guide to visitors service overseas.It addition, for providing the map at scenic spot overseas, domestic Map Services business is difficult to accomplish, on the other hand It is to be i.e. to use Google Maps, also each scenic spot can not be identified to.Therefore, in the urgent need to providing a scape overseas The map in district facilitates the overseas trip of Chinese citizen.
Summary of the invention
In order to overcome the deficiencies in the prior art, an object of the present invention is to provide a kind of outdoor scene hand-drawing map cutting side Method and device, whole map can carry out cutting by it, so that speed is faster when loading map.
An object of the present invention realizes by the following technical solutions:
The invention provides a kind of outdoor scene hand-drawing map cutting method, including:
S11: determine outdoor scene hand-drawing map position in third party's map area;
S12: according to the upper left corner and the longitude and latitude in the lower right corner of outdoor scene hand-drawing map position in third party's map area Coordinate draws the resolution of outdoor scene hand-drawing map;
S13: draw the maximum map grade of outdoor scene hand-drawing map according to the resolution of described outdoor scene hand-drawing map;
S14: according to each map grade of described outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. size carry out Section;
S15: all of section is saved under same file folder according to described map grade.
Preferably, the computing formula of the resolution of described outdoor scene hand-drawing map is:
S=width*height,
w i d t h = c e i l ( x 1 - x 2 ) h e i g h t = c e i l ( y 1 - y 2 ) ,
Wherein, S is the resolution of outdoor scene hand-drawing map, x1X pixel for point corresponding to the lower right corner of outdoor scene hand-drawing map Sit target value, x2Value for the X pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map;y1The right side for outdoor scene hand-drawing map The value of the Y pixel coordinate of the point that inferior horn is corresponding, y2Value for the Y pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map; Width is the width of outdoor scene hand-drawing map, and height is the length of outdoor scene hand-drawing map;
The value of described X pixel coordinate is to be calculated by below equation:
x = 256 × 2 l e v e l × ( ln g + 180 ) 360 ;
Wherein, x is the value of the X pixel coordinate of corresponding point, and lng is the longitude of corresponding point, and level is maximum map Grade;
The value of described Y pixel coordinate is to be calculated by below equation:
r a d = ( l a t × Π ) 180 y = 256 × 2 l e v e l × ( 1 - log tan ( r a d ) + ( 1 - cos ( r a d ) ) Π 2 ;
Wherein, y is the value of the Y pixel coordinate of corresponding point, and lat is the latitude value of corresponding point, and rad is corresponding point Radian, level is maximum map grade.
Preferably, the computing formula of maximum map grade level of described outdoor scene hand-drawing map is as follows:
Level=18+m;M=min (m1, m2);
M1=floor (r1), m2=floor (r2)/2;
R1=round (width/mapWidth), r2=round (height/mapHeight);
Wherein, min is to represent the minimum number asked in two numbers;Floor represents and seeks the integer closest to it, and its value is less than Or equal to this floating number;Round is mathematical function, represents and rounds up x;Width is the width of outdoor scene hand-drawing map Degree, height is the length of outdoor scene hand-drawing map, and mapWidth is the width in Google Maps region, and mapHeight is The length in Google Maps region;Level is the natural number more than 0 less than or equal to 20.
Preferably, also include between described step S13 and step S14:
S131: when outdoor scene hand-drawing map the latitude and longitude coordinates in the upper left corner and the lower right corner and the upper left corner of third party's map and When the latitude and longitude coordinates in the lower right corner is inconsistent, then Freehandhand-drawing live-action map is modified;
The step of described correction includes the following:
S211: generate a transparent background map, the length and width of described transparent background map is the integral multiple of 256;
The width blankImg1 of described transparent background map is:
BlankImg1=(rbTileX-LtTileX+1) * 256;Wherein, rbTileX is the sheet line number in the upper left corner watt, LtTileX is the tile line number in the lower right corner, and blankImg is the width of transparent background figure;
Length blankImg2 of described transparent background map is:
BlankImg1=(rbTileY-LtTileY+1) * 256;Wherein, rbTileY is the sheet row number in the upper left corner watt, LtTileY is the columns of tiles number in the lower right corner, and blankImg2 is the length of transparent background figure;
The tile line number of described TileX is calculated due to below equation:
p i x e l s 1 = 256 × 2 l e v e l × ( ln g + 180 ) 360 ,
TileX=floor (pixels1/256);Wherein, level is maximum map grade, and lng is the warp of corresponding point Angle value;
The columns of tiles number of described TileY is calculated due to below equation:
r a d = ( l a t × Π ) 180 p i x e l s 2 = 256 × 2 l e v e l × ( 1 - log tan ( r a d ) + ( 1 - cos ( r a d ) ) Π 2 ,
TileY=floor (pixels2/256);Wherein, level is maximum map grade, and lat is the latitude of corresponding point Angle value, rad is the radian of corresponding point;
S212: width and the length of outdoor scene hand-drawing map are scaled blankImg1 and blankImg2 respectively;
S213: obtain new outdoor scene hand-drawing map with described outdoor scene hand-drawing map after being merged by transparent background figure.
Preferably, described to outdoor scene hand-drawing map according to etc. the method cut into slices of size be the length to outdoor scene hand-drawing map Degree and width carry out decile, form several the little pictures being evenly distributed.
Preferably, the resolution sizes of described little picture is 256*256 pixel.
The present invention also provides for a kind of outdoor scene hand-drawing map cutting device corresponding with outdoor scene hand-drawing map, including:
Determine regions module, for determining outdoor scene hand-drawing map position in third party's map area;
Calculating resolution module, for the upper left corner according to outdoor scene hand-drawing map position in third party's map area and The latitude and longitude coordinates in the lower right corner draws the resolution of outdoor scene hand-drawing map;
Calculate map grade module, for showing that outdoor scene hand-drawing map is according to the resolution of described outdoor scene hand-drawing map Big map grade;
Cutting module, for according to each map grade of described outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. Size is cut into slices;
Memory module, for being saved in all of section according to map grade under same file folder.
Preferably, the computing formula of the resolution of described outdoor scene hand-drawing map is:
S=width*height,
w i d t h = c e i l ( x 1 - x 2 ) h e i g h t = c e i l ( y 1 - y 2 ) ,
Wherein, S is the resolution of outdoor scene hand-drawing map, x1X pixel for point corresponding to the lower right corner of outdoor scene hand-drawing map Sit target value, x2Value for the X pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map;y1The right side for outdoor scene hand-drawing map The value of the Y pixel coordinate of the point that inferior horn is corresponding, y2Value for the Y pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map; Width is the width of outdoor scene hand-drawing map, and height is the length of outdoor scene hand-drawing map;
The value of described X pixel coordinate is to be calculated by below equation:
x = 256 × 2 l e v e l × ( ln g + 180 ) 360 ;
Wherein, x is the value of the X pixel coordinate of corresponding point, and lng is the longitude of corresponding point, and level is maximum map Grade;
The value of described Y pixel coordinate is to be calculated by below equation:
r a d = ( l a t × Π ) 180 y = 256 × 2 l e v e l × ( 1 - log tan ( r a d ) + ( 1 - cos ( r a d ) ) Π 2 ;
Wherein, y is the value of the Y pixel coordinate of corresponding point, and lat is the latitude value of corresponding point, and rad is corresponding point Radian, level is maximum map grade.
In order to overcome the deficiencies in the prior art, the two of the purpose of the present invention are provide intelligent guide implementation method and be System, it can solve the problem that in prior art can not provide a good speech guide and explanation for the user of China's overseas trip Scenic spot map.
The two of the purpose of the present invention realize by the following technical solutions:
The invention provides a kind of intelligent guide implementation method, including:
S21: obtain the coordinate of user place map;
S22: call section corresponding in Freehandhand-drawing live-action map according to the coordinate of user place map and be shown to user; Described section is to be obtained by the outdoor scene hand-drawing map cutting method described in any one in claim 1-6;
S23: play corresponding speech sound eeplaining in Freehandhand-drawing live-action map according to the coordinate of user place map;
S24: show corresponding sight spot picture in the Freehandhand-drawing live-action map loaded according to playing speech sound eeplaining.
Present invention also offers a kind of intelligent guide corresponding with described intelligent guide implementation method and realize system, including
Obtain index module, for obtaining the coordinate of user place map;
Call hand-drawing map module, for calling in Freehandhand-drawing live-action map corresponding according to the coordinate of user place map Cut into slices and be shown to user;Described section is by the outdoor scene hand-drawing map cutting side described in any one in claim 1-6 Method obtains;
Voice broadcast module, for playing corresponding language according to the coordinate of user place map in Freehandhand-drawing live-action map Sound is explained;
Picture display module, for showing corresponding sight spot figure according to broadcasting speech sound eeplaining in Freehandhand-drawing live-action map Sheet.
Compared to existing technology, the beneficial effects of the present invention is: the present invention is by manually exploring on the spot and combine map Software for drawing produces the traveled outdoor scene hand-drawing map overseas being suitable for China's overseas trip, and enters this outdoor scene hand-drawing map Row slicing treatment, is embedded into this map in the mapping module of present map operator, it is achieved that the outdoor scene at scenic spot overseas Change, improve the experience of visit.It addition, the loading efficiency making map in loading procedure when that user using on APP Higher.The present invention compensate for map operators a lot of in prior art can not provide the passenger being suitable for China's overseas trip to use The defect of map.
Accompanying drawing explanation
The outdoor scene hand-drawing map cutting method flow chart that Fig. 1 provides for the present invention;
The outdoor scene hand-drawing map cutting device module map that Fig. 2 provides for the present invention;
The intelligent guide implementation method flow chart that Fig. 3 provides for the present invention;
Fig. 4 realizes system module figure for the intelligent guide that the present invention provides.
Detailed description of the invention
Below, in conjunction with accompanying drawing and detailed description of the invention, the present invention is described further:
As it is shown in figure 1, the outdoor scene hand-drawing map cutting method that the invention provides, comprising:
S11: determine outdoor scene hand-drawing map position in third party's map area.
In this step, it is first determined outdoor scene hand-drawing map position in third party's map area, that is to say and mark off one Region loads for Freehandhand-drawing live-action map.Wherein said Freehandhand-drawing live-action map is the map overseas of Freehandhand-drawing outdoor scene, due in general, Domestic map operator cannot provide map overseas, therefore, can be investigated by the artificial map to abroad tourism sight spot And Freehandhand-drawing goes out electronic chart, the electronic chart of the most artificial Freehandhand-drawing is more more detailed than general software map, is relatively suitable for Guidance in tourism.Third party's map employed herein is Google Maps.Owing to Freehandhand-drawing live-action map is artificial acquisition The map at specific sight spot, therefore natively there is the coordinate of its corresponding map in it, therefore by the seat of this outdoor scene hand-drawing map Mark corresponding with the coordinate of third party's map after, it is possible to learn that this outdoor scene hand-drawing map is in the position of third party's map.
S12: according to the upper left corner and the longitude and latitude in the lower right corner of outdoor scene hand-drawing map position in third party's map area Coordinate draws the resolution of outdoor scene hand-drawing map.
After determining outdoor scene hand-drawing map region in third party's map, wherein the most just can learn this outdoor scene Freehandhand-drawing ground The upper left corner of figure and the latitude and longitude coordinates in the lower right corner, therefore can be calculated the resolution of this outdoor scene hand-drawing map, this outdoor scene hands The resolution S computing formula painting map is as follows: S=width*height,
w i d t h = c e i l ( x 1 - x 2 ) h e i g h t = c e i l ( y 1 - y 2 ) ,
Wherein, S is the resolution of outdoor scene hand-drawing map, x1X pixel for point corresponding to the lower right corner of outdoor scene hand-drawing map Sit target value, x2Value for the X pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map;y1The right side for outdoor scene hand-drawing map The value of the Y pixel coordinate of the point that inferior horn is corresponding, y2Value for the Y pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map; Width is the width of outdoor scene hand-drawing map, and height is the length of outdoor scene hand-drawing map;
The value of described X pixel coordinate is to be calculated by below equation:
x = 256 × 2 l e v e l × ( ln g + 180 ) 360 ;
Wherein, x is the value of the X pixel coordinate of corresponding point, and lng is the longitude of corresponding point, and level is maximum map Grade;
The value of described Y pixel coordinate is to be calculated by below equation:
r a d = ( l a t × Π ) 180 y = 256 × 2 l e v e l × ( 1 - log tan ( r a d ) + ( 1 - cos ( r a d ) ) Π 2 ;
Wherein, y is the value of the Y pixel coordinate of corresponding point, and lat is the latitude value of corresponding point, and rad is corresponding point Radian, level is maximum map grade.
S13: draw the maximum map grade of outdoor scene hand-drawing map according to the resolution of described outdoor scene hand-drawing map.
Described map grade refers to the display level of map, and General maps all can have certain rank in electronic software Represent the map grade of the map grade of its magnification level, such as Baidu's map, Google Maps.In other words work as map denotation During different magnification level, on map, display is also the most different, this according to the map grade determine.Therefore this outdoor scene Freehandhand-drawing Map maximum map grade level be calculated by the resolution of this outdoor scene hand-drawing map, its calculate process as follows:
Level=18+m;M=min (m1, m2);
M1=floor (r1), m2=floor (r2)/2;
R1=round (width/mapWidth), r2=round (height/mapHeight);
Wherein, min is to represent the minimum number asked in two numbers;Floor represents and seeks the integer closest to it, and its value is less than Or equal to this floating number;Round is mathematical function, represents and rounds up x;Width is the width of outdoor scene hand-drawing map Degree, height is the length of outdoor scene hand-drawing map, and mapWidth is the width of third party's map area, and mapHeight is the 3rd The length of side's map area;Level is the natural number more than 0 less than or equal to 20.
Described level refers to the greatest level of outdoor scene hand-drawing map, and in other words the map grade of outdoor scene hand-drawing map is 0 Natural number between level.
S14: according to each map grade of described outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. size carry out Section.
Wherein, in order to when loading, it is possible to quickly map is loaded on whole map, therefore whole map is cut into Little picture, when needs load some region of map, it is not necessary to just display for a user after all having been loaded by whole map Go out map, section of therefore outdoor scene hand-drawing map being entered.Further, since different map grades, the picture institute of its map is right The magnification level answered also is different, when therefore cutting into slices outdoor scene hand-drawing map, first has to determine map grade, respectively Map is cut into slices by different map grades.
Described by the section of Freehandhand-drawing live-action map according to etc. the size method that carries out cutting into slices be the length to Freehandhand-drawing live-action map Carry out decile with width, form several the little pictures being evenly distributed.Owing in Google Maps, cutting to map is by ground Figure is cut into the section of 256*256 pixel size, and the little picture being cut into by outdoor scene hand-drawing map being therefore also adopted by the present invention is also It it is the section of 256*256 pixel size.There is also the need to be named section just naming according to ranks number.Such as, wherein One section is positioned at the 5th row the 8th row, then its name just can be with named 5_8.png.Other modes (rule can certainly be taked Then) name, as long as can be made a distinction.
S15: all of little picture is saved under same file folder according to described map grade.
Wherein, owing to map grade is different, then the size of picture is also the most different, is therefore divided the little picture preserved Also the most different.Therefore, carry out preserving by all of little picture time distinguish with map grade, identical map grade is drawn Little picture obtained by point is saved in a file, and the little picture that different map grade classification obtain is saved in different literary compositions In part folder.When deployed, grade file can be found to get the little picture of its corresponding map grade according to the map.
As in figure 2 it is shown, the present invention also provides for the outdoor scene hand-drawing map corresponding with described outdoor scene hand-drawing map cutting method Cutting device, including:
Determine regions module, for determining outdoor scene hand-drawing map position in third party's map area;
Calculating resolution module, for the upper left corner according to outdoor scene hand-drawing map position in third party's map area and The latitude and longitude coordinates in the lower right corner draws the resolution of outdoor scene hand-drawing map;
Calculate map grade module, for showing that outdoor scene hand-drawing map is according to the resolution of described outdoor scene hand-drawing map Big map grade;
Cutting module, for according to each map grade of described outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. Size is cut into slices;
Memory module, for being saved in all of section according to map grade under same file folder.
Preferably, the computing formula of the resolution of described outdoor scene hand-drawing map is:
S=width*height,
w i d t h = c e i l ( x 1 - x 2 ) h e i g h t = c e i l ( y 1 - y 2 ) ,
Wherein, S is the resolution of outdoor scene hand-drawing map, x1X pixel for point corresponding to the lower right corner of outdoor scene hand-drawing map Sit target value, x2Value for the X pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map;y1The right side for outdoor scene hand-drawing map The value of the Y pixel coordinate of the point that inferior horn is corresponding, y2Value for the Y pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map; Width is the width of outdoor scene hand-drawing map, and height is the length of outdoor scene hand-drawing map;
The value of described X pixel coordinate is to be calculated by below equation:
x = 256 × 2 l e v e l × ( ln g + 180 ) 360 ;
Wherein, x is the value of the X pixel coordinate of corresponding point, and lng is the longitude of corresponding point, and level is maximum map Grade;
The value of described Y pixel coordinate is to be calculated by below equation:
r a d = ( l a t × Π ) 180 y = 256 × 2 l e v e l × ( 1 - log tan ( r a d ) + ( 1 - cos ( r a d ) ) Π 2 ;
Wherein, y is the value of the Y pixel coordinate of corresponding point, and lat is the latitude value of corresponding point, and rad is corresponding point Radian, level is maximum map grade.
It addition, also include step S131 after described step S13: when the upper left corner and the warp in the lower right corner of outdoor scene hand-drawing map When latitude coordinate is inconsistent with the latitude and longitude coordinates in the upper left corner of Google Maps and the lower right corner, then Freehandhand-drawing live-action map is carried out Revise;
The step of described correction is as follows:
S211: generate a transparent background map, the length and width of described transparent background map is the integral multiple of 256;
Its width blankImg1 is: blankImg1=(rbTileX-LtTileX+1) * 256,
Wherein, rbTileX is the sheet line number in the upper left corner watt, and LtTileX is the tile line number in the lower right corner, and blankImg is The width of bright Background;
The tile line number of described TileX is calculated due to below equation:
p i x e l s 1 = 256 × 2 l e v e l × ( ln g + 180 ) 360 ,
TileX=floor (pixels1/256);
Wherein, level is maximum map grade, and lng is the longitude of corresponding point;
Its length blankImg2 is: blankImg1=(rbTileY-LtTileY+1) * 256,
Wherein, rbTileY is the sheet line number in the upper left corner watt, and LtTileY is the tile line number in the lower right corner, and blankImg2 is The length of transparent background figure;
The columns of tiles number of described TileY is calculated due to below equation:
r a d = ( l a t × Π ) 180 p i x e l s 2 = 256 × 2 l e v e l × ( 1 - log tan ( r a d ) + ( 1 - cos ( r a d ) ) Π 2 ,
TileY=floor (pixels2/256);
Wherein, level is maximum map grade, and lat is the latitude value of corresponding point, and rad is the radian of corresponding point.
S212: width and the length of outdoor scene hand-drawing map are scaled blankImg1 and blankImg2 respectively;
S213: obtain new outdoor scene hand-drawing map with described outdoor scene hand-drawing map after being merged by transparent background figure.
As it is shown on figure 3, present invention also offers intelligent guide implementation method, including:
S21: obtain the coordinate of user place map;
S22: call section corresponding in Freehandhand-drawing live-action map according to the coordinate of user place map and be shown to user; Described section is to be obtained by described outdoor scene hand-drawing map cutting method;
S23: play corresponding speech sound eeplaining in Freehandhand-drawing live-action map according to the coordinate of user place map;
S24: show corresponding sight spot picture in the Freehandhand-drawing live-action map loaded according to playing speech sound eeplaining.
As shown in Figure 4, present invention also offers the intelligent guide corresponding with described intelligent guide implementation method and realize system System, including
Obtain index module, for obtaining the coordinate of user place map;
Call hand-drawing map module, for calling in Freehandhand-drawing live-action map corresponding according to the coordinate of user place map Cut into slices and be shown to user;Described section is to be obtained by described outdoor scene hand-drawing map cutting method;
Voice broadcast module, for playing corresponding language according to the coordinate of user place map in Freehandhand-drawing live-action map Sound is explained;
Picture display module, for showing corresponding sight spot figure according to broadcasting speech sound eeplaining in Freehandhand-drawing live-action map Sheet.
It will be apparent to those skilled in the art that can technical scheme as described above and design, make other various Corresponding change and deformation, and all these change and deformation all should belong to the protection domain of the claims in the present invention Within.

Claims (10)

1. outdoor scene hand-drawing map cutting method, it is characterised in that including:
S11: determine outdoor scene hand-drawing map position in third party's map area;
S12: according to the upper left corner and the latitude and longitude coordinates in the lower right corner of outdoor scene hand-drawing map position in third party's map area Draw the resolution of outdoor scene hand-drawing map;
S13: draw the maximum map grade of outdoor scene hand-drawing map according to the resolution of described outdoor scene hand-drawing map;
S14: according to each map grade of described outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. size cut into slices;
S15: all of section is saved under same file folder according to described map grade.
2. outdoor scene hand-drawing map cutting method as claimed in claim 1, it is characterised in that the resolution of described outdoor scene hand-drawing map Computing formula be:
S=width*height,
Width=ceil (x1-x2)
Height=ceil (y1-y2),
Wherein, S is the resolution of outdoor scene hand-drawing map, x1X pixel coordinate for point corresponding to the lower right corner of outdoor scene hand-drawing map Value, x2Value for the X pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map;y1The lower right corner pair for outdoor scene hand-drawing map The value of the Y pixel coordinate of the point answered, y2Value for the Y pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map;Width is The width of outdoor scene hand-drawing map, height is the length of outdoor scene hand-drawing map;
The value of described X pixel coordinate is to be calculated by below equation:
x = 256 × 2 l e v e l × ( ln g + 180 ) 360 ;
Wherein, x is the value of the X pixel coordinate of corresponding point, and lng is the longitude of corresponding point, and level is maximum map etc. Level;
The value of described Y pixel coordinate is to be calculated by below equation:
r a d = ( l a t × Π ) 180
y = 256 × 2 l e v e l × ( 1 - log t a n ( r a d ) + ( 1 - c o s ( r a d ) ) Π ) 2 ;
Wherein, y is the value of the Y pixel coordinate of corresponding point, and lat is the latitude value of corresponding point, and rad is the arc of corresponding point Degree, level is maximum map grade.
3. outdoor scene hand-drawing map cutting method as claimed in claim 2, it is characterised in that described outdoor scene hand-drawing map is maximally The computing formula of figure grade level is as follows:
Level=18+m;M=min (m1, m2);
M1=floor (r1), m2=floor (r2)/2;
R1=round (width/mapWidth), r2=round (height/mapHeight);
Wherein, min is to represent the minimum number asked in two numbers;Floor represents and seeks the integer closest to it, its value less than or etc. In this floating number;Round is mathematical function, represents and rounds up x;Width is the width of outdoor scene hand-drawing map, Height is the length of outdoor scene hand-drawing map, and mapWidth is the width in Google Maps region, and mapHeight is Google ground The length of graph region;Level is the natural number more than 0 less than or equal to 20.
4. outdoor scene hand-drawing map cutting method as claimed in claim 2, it is characterised in that between described step S13 and step S14 Also include:
S131: when the latitude and longitude coordinates in the upper left corner and the lower right corner and the upper left corner of third party's map and the bottom right of outdoor scene hand-drawing map When the latitude and longitude coordinates at angle is inconsistent, then Freehandhand-drawing live-action map is modified;
The step of described correction includes the following:
S211: generate a transparent background map, the length and width of described transparent background map is the integral multiple of 256;
The width blankImg1 of described transparent background map is:
BlankImg1=(rbTileX-LtTileX+1) * 256;Wherein, rbTileX is the sheet line number in the upper left corner watt, LtTileX For the tile line number in the lower right corner, blankImg is the width of transparent background figure;
Length blankImg2 of described transparent background map is:
BlankImg1=(rbTileY-LtTileY+1) * 256;Wherein, rbTileY is the sheet row number in the upper left corner watt, LtTileY For the columns of tiles number in the lower right corner, blankImg2 is the length of transparent background figure;
The tile line number of described TileX is calculated due to below equation:
p i x e l s 1 = 256 × 2 l e v e l × ( ln g + 180 ) 360 ,
TileX=floor (pixels1/256);Wherein, level is maximum map grade, and lng is the longitude of corresponding point;
The columns of tiles number of described TileY is calculated due to below equation:
r a d = ( l a t × Π ) 180
p i x e l s 2 = 256 × 2 l e v e l × ( 1 - log t a n ( r a d ) + ( 1 - c o s ( r a d ) ) Π ) 2 ,
TileY=floor (pixels2/256);Wherein, level is maximum map grade, and lat is the latitude value of corresponding point, Rad is the radian of corresponding point;
S212: width and the length of outdoor scene hand-drawing map are scaled blankImg1 and blankImg2 respectively;
S213: obtain new outdoor scene hand-drawing map with described outdoor scene hand-drawing map after being merged by transparent background figure.
5. as claimed in claim 1 outdoor scene hand-drawing map cutting method, it is characterised in that described to outdoor scene hand-drawing map according to etc. The method that size carries out cutting into slices is that the length and width to outdoor scene hand-drawing map carries out decile, forms several that be evenly distributed little Picture.
6. outdoor scene hand-drawing map cutting method as claimed in claim 5, it is characterised in that the resolution sizes of described little picture is 256*256 pixel.
7. outdoor scene hand-drawing map cutting device, it is characterised in that including:
Determine regions module, for determining outdoor scene hand-drawing map position in third party's map area;
Calculating resolution module, for the upper left corner according to outdoor scene hand-drawing map position in third party's map area and bottom right The latitude and longitude coordinates at angle draws the resolution of outdoor scene hand-drawing map;
Calculate map grade module, for drawing outdoor scene hand-drawing map maximally according to the resolution of described outdoor scene hand-drawing map Figure grade;
Cutting module, for according to each map grade of described outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. size Cut into slices;
Memory module, for being saved in all of section according to map grade under same file folder.
8. outdoor scene hand-drawing map cutting device as claimed in claim 7, it is characterised in that the resolution of described outdoor scene hand-drawing map Computing formula be:
S=width*height,
Width=ceil (x1-x2)
Height=ceil (y1-y2),
Wherein, S is the resolution of outdoor scene hand-drawing map, x1X pixel coordinate for point corresponding to the lower right corner of outdoor scene hand-drawing map Value, x2Value for the X pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map;y1The lower right corner pair for outdoor scene hand-drawing map The value of the Y pixel coordinate of the point answered, y2Value for the Y pixel coordinate of point corresponding to the upper left corner of outdoor scene hand-drawing map;Width is The width of outdoor scene hand-drawing map, height is the length of outdoor scene hand-drawing map;
The value of described X pixel coordinate is to be calculated by below equation:
x = 256 × 2 l e v e l × ( ln g + 180 ) 360 ;
Wherein, x is the value of the X pixel coordinate of corresponding point, and lng is the longitude of corresponding point, and level is maximum map etc. Level;
The value of described Y pixel coordinate is to be calculated by below equation:
r a d = ( l a t × Π ) 180
y = 256 × 2 l e v e l × ( 1 - log t a n ( r a d ) + ( 1 - c o s ( r a d ) ) Π ) 2 ;
Wherein, y is the value of the Y pixel coordinate of corresponding point, and lat is the latitude value of corresponding point, and rad is the arc of corresponding point Degree, level is maximum map grade.
9. intelligent guide implementation method, it is characterised in that including:
S21: obtain the coordinate of user place map;
S22: call section corresponding in Freehandhand-drawing live-action map according to the coordinate of user place map and be shown to user;Described Section is to be obtained by the outdoor scene hand-drawing map cutting method described in any one in claim 1-6;
S23: play corresponding speech sound eeplaining in Freehandhand-drawing live-action map according to the coordinate of user place map;
S24: show corresponding sight spot picture in the Freehandhand-drawing live-action map loaded according to playing speech sound eeplaining.
10. intelligent guide realizes system, it is characterised in that include
Obtain index module, for obtaining the coordinate of user place map;
Call hand-drawing map module, for calling section corresponding in Freehandhand-drawing live-action map according to the coordinate of user place map And it is shown to user;Described section is to be obtained by the outdoor scene hand-drawing map cutting method described in any one in claim 1-6 Arrive;
Voice broadcast module, says for playing corresponding voice in Freehandhand-drawing live-action map according to the coordinate of user place map Solve;
Picture display module, for showing corresponding sight spot picture according to broadcasting speech sound eeplaining in Freehandhand-drawing live-action map.
CN201610524867.6A 2016-07-04 2016-07-04 Outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system Active CN106204566B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610524867.6A CN106204566B (en) 2016-07-04 2016-07-04 Outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610524867.6A CN106204566B (en) 2016-07-04 2016-07-04 Outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system

Publications (2)

Publication Number Publication Date
CN106204566A true CN106204566A (en) 2016-12-07
CN106204566B CN106204566B (en) 2019-01-08

Family

ID=57465268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610524867.6A Active CN106204566B (en) 2016-07-04 2016-07-04 Outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system

Country Status (1)

Country Link
CN (1) CN106204566B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106971683A (en) * 2017-04-05 2017-07-21 山东慧行天下文化传媒有限公司 The intelligent guide guide system and method for inverse are just being calculated based on map reference
CN107481195A (en) * 2017-08-24 2017-12-15 山东慧行天下文化传媒有限公司 Method and device based on more sight spot region intelligence sectional drawings generation electronic map
CN108470363A (en) * 2017-02-23 2018-08-31 北京互联云商科技有限公司 A kind of hand-drawing map location method based on geographic reference point and triangulation
CN108763587A (en) * 2018-06-12 2018-11-06 广州市驴迹科技有限责任公司 The method and system that hand-drawing map is overlapped with electronic map
CN112908146A (en) * 2020-12-26 2021-06-04 云景文旅科技有限公司 Hand-drawn map cutting and presenting method and intelligent tour guide and visiting guide system
US11335084B2 (en) * 2019-09-18 2022-05-17 International Business Machines Corporation Image object anomaly detection

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104299541A (en) * 2014-10-27 2015-01-21 南京五一行信息科技有限公司 Intelligent tourist guiding system and method based on mobile Internet platform
EP2584494A3 (en) * 2006-08-03 2015-02-11 Alterface S.A. Method and device for identifying and extracting images of multiple users, and for recognizing user gestures
CN105007320A (en) * 2015-07-16 2015-10-28 山东慧行天下文化传媒有限公司 Mobile intelligent tour guiding and navigating system based on cloud server
CN105025100A (en) * 2015-07-16 2015-11-04 山东慧行天下文化传媒有限公司 IOS system-based hand-drawn map intelligent guide and navigation system
CN105021186A (en) * 2015-07-16 2015-11-04 山东慧行天下文化传媒有限公司 Intelligent tour-guiding and view-guiding system based on hand-drawn map
CN105025101B (en) * 2015-07-16 2016-03-02 山东慧行天下文化传媒有限公司 Based on the intelligent guide guide system of the android system of hand-drawing map

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2584494A3 (en) * 2006-08-03 2015-02-11 Alterface S.A. Method and device for identifying and extracting images of multiple users, and for recognizing user gestures
CN104299541A (en) * 2014-10-27 2015-01-21 南京五一行信息科技有限公司 Intelligent tourist guiding system and method based on mobile Internet platform
CN105007320A (en) * 2015-07-16 2015-10-28 山东慧行天下文化传媒有限公司 Mobile intelligent tour guiding and navigating system based on cloud server
CN105025100A (en) * 2015-07-16 2015-11-04 山东慧行天下文化传媒有限公司 IOS system-based hand-drawn map intelligent guide and navigation system
CN105021186A (en) * 2015-07-16 2015-11-04 山东慧行天下文化传媒有限公司 Intelligent tour-guiding and view-guiding system based on hand-drawn map
CN105025101B (en) * 2015-07-16 2016-03-02 山东慧行天下文化传媒有限公司 Based on the intelligent guide guide system of the android system of hand-drawing map

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李宁: "智能手机导游系统关键技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108470363A (en) * 2017-02-23 2018-08-31 北京互联云商科技有限公司 A kind of hand-drawing map location method based on geographic reference point and triangulation
CN106971683A (en) * 2017-04-05 2017-07-21 山东慧行天下文化传媒有限公司 The intelligent guide guide system and method for inverse are just being calculated based on map reference
CN106971683B (en) * 2017-04-05 2019-06-28 山东慧行天下文化传媒有限公司 The intelligent guide guide system and method for inverse are just being calculated based on map reference
CN107481195A (en) * 2017-08-24 2017-12-15 山东慧行天下文化传媒有限公司 Method and device based on more sight spot region intelligence sectional drawings generation electronic map
CN108763587A (en) * 2018-06-12 2018-11-06 广州市驴迹科技有限责任公司 The method and system that hand-drawing map is overlapped with electronic map
US11335084B2 (en) * 2019-09-18 2022-05-17 International Business Machines Corporation Image object anomaly detection
CN112908146A (en) * 2020-12-26 2021-06-04 云景文旅科技有限公司 Hand-drawn map cutting and presenting method and intelligent tour guide and visiting guide system

Also Published As

Publication number Publication date
CN106204566B (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN106204566A (en) Outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system
US10648819B2 (en) System and method for displaying address information on a map
US9049554B2 (en) Dynamic prioritization of label downloads
US8560228B2 (en) System for displaying points of interest
US8300984B2 (en) Real-time spherical correction of map data
US11187541B2 (en) Predictive downloading of map data
US8718922B2 (en) Variable density depthmap
US8374782B2 (en) Pre-fetching navigation maps
US11815359B2 (en) Method, device and system for processing positioning information
US9279693B2 (en) Navigation system and method for determining a route based on sun position and weather
US20080242283A1 (en) Methods, Systems and Computer Program Products for Enhancing Communications Services
CN102135433A (en) Accurate navigation method and location service equipment
CN107609080B (en) Map data acquisition method and system, electronic equipment and storage medium
CN106651673A (en) Intelligent tour guide method and intelligent tour guide system
JP5176992B2 (en) Portable terminal device, situation estimation method and program
CN104539723A (en) Virtual guide system based on scenic spot feature point positioning
EP2078926B1 (en) System and method for dynamically downloading and displaying map data
CN113607182A (en) Vehicle driving route navigation method and device, storage medium and terminal
CN101620814A (en) Tour guide and navigation method and tour guide and navigation terminal
US20090063034A1 (en) Navigation apparatus using image map and method thereof
CN103487059A (en) Positioning and navigation system, device and method
CN109031354B (en) Scenic spot service system and scenic spot service method
CN103079164A (en) Relation chain establishment method and relation chain establishment system
CN102288184A (en) navigation map processing method and electronic device
CN107682814A (en) A kind of editable intelligent guide system design method of user based on geography fence algorithm

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant