CN106204566B - 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
CN106204566B
CN106204566B CN201610524867.6A CN201610524867A CN106204566B CN 106204566 B CN106204566 B CN 106204566B CN 201610524867 A CN201610524867 A CN 201610524867A CN 106204566 B CN106204566 B CN 106204566B
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.)
Active
Application number
CN201610524867.6A
Other languages
Chinese (zh)
Other versions
CN106204566A (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)
  • Instructional Devices (AREA)
  • Navigation (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of outdoor scene hand-drawing map cutting method and devices, intelligent guide realization method and system, the cutting method includes the position for determining outdoor scene hand-drawing map first in third party's map, then it is worth the resolution ratio of the outdoor scene hand-drawing map according to the latitude and longitude coordinates in the upper left corner of outdoor scene hand-drawing map and the lower right corner, and then the maximum map grade of the outdoor scene hand-drawing map is obtained, then it will be stored in respectively under same file folder after outdoor scene hand-drawing map etc. point slice according to different map grades.Entire map is carried out cutting by this method, and big map is divided into small map and is then saved, as user in use, making the loading efficiency of map higher during loading.The present invention, which also compensates for nowadays many map operators, can not provide the defect for being suitble to the traveled map of Chinese 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 more particularly to outdoor scene hand-drawing map cutting methods and device, intelligent guide reality Existing method and system.
Background technique
According to statistics, Chinese overseas trip number has come into " hundred million person-times ", has been increased to 10 times or more compared to 1998, and Also continuing to increase.Due to more and more Chinese citizen's overseas trips, also bring problems, first is that serviced under line it is mating with On not, tour guide's number and quality do not catch up with growth paces much;Second is that those departure free walker users that tour guide does not lead, Because unmanned explanation and language communication cultural difference, can not understand scenery and showpiece rich culture intension, should stay to numerous The humanity of ornamental, the fine taste of foot, history Landscape Lamp are all often to have a glance at, turn a blind eye to, and which results in tourist resources Significant wastage.Such case, a kind of road guide being able to solve ordinary user's overseas trip process are occupy, scenic spot realistic picture is shown And the technology of guide to visitors and phonetic explaining becomes extremely important.Now most of is all mainly by Google Maps, Amap Or Baidu map etc. reaches positioning based on GPS positioning chip, and voice broadcast mould is triggered according to the movement routine of user Block achievees the purpose that playing user position attachment sight spot explains, to realize speech guide service.But for China The scenic spot of continent overseas, due to politics and safety factor, the mobile phone terminal of country's factory eliminates Google's service enlarging, leads to nothing Method uses Google Maps map, cannot achieve guide to visitors service overseas;And domestic Amap, Baidu map and Tencent The main Cartographic Technique providers such as figure are not extended to the geography information being overseas not covered with overseas in business, can not yet The guide to visitors service overseas of realization.In addition, for the map at scenic spot overseas is provided, domestic Map Services quotient is difficult to accomplish, on the other hand It is to be using Google Maps, each scenic spot can not be also identified to.Therefore, there is an urgent need to provide a scape overseas The map in area facilitates the overseas trip of Chinese citizen.
Summary of the invention
For overcome the deficiencies in the prior art, one of the objects of the present invention is to provide a kind of outdoor scene hand-drawing map cutting sides Entire map can be carried out cutting, so that speed is faster when loading map by method and device.
An object of the present invention is implemented with the following technical solutions:
The present invention provides a kind of outdoor scene hand-drawing map cutting methods, comprising:
S11: position of the outdoor scene hand-drawing map in third party's map area is determined;
S12: according to the longitude and latitude in the upper left corner of position of the outdoor scene hand-drawing map in third party's map area and the lower right corner Coordinate obtains the resolution ratio of outdoor scene hand-drawing map;
S13: the maximum map grade of outdoor scene hand-drawing map is obtained according to the resolution ratio of the outdoor scene hand-drawing map;
S14: according to each map grade of the outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. sizes carry out Slice;
S15: all slices are stored under same file folder according to the map grade.
Preferably, the calculation formula of the resolution ratio of the outdoor scene hand-drawing map are as follows:
S=width*height,
Wherein, S is the resolution ratio of outdoor scene hand-drawing map, x1For the X pixel of the corresponding point in the lower right corner of outdoor scene hand-drawing map Sit target value, x2For the value of the X pixel coordinate of the corresponding point in the upper left corner of outdoor scene hand-drawing map;y1For the right side of outdoor scene hand-drawing map The value of the Y pixel coordinate of the corresponding point of inferior horn, y2For the value of the Y pixel coordinate of the corresponding point in 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 the X pixel coordinate is calculated by following formula:
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 the Y pixel coordinate is calculated by following formula:
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 are maximum map grade.
Preferably, the calculation formula of the maximum map grade level of the 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 indicate to seek the minimum number in two numbers;The integer closest to it is sought in floor expression, its value is less than Or it is equal to this floating number;Round is mathematical function, and expression rounds up to 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 for being less than or equal to 20 greater than 0.
Preferably, between the step S13 and step S14 further include:
S131: when outdoor scene hand-drawing map the upper left corner and the lower right corner latitude and longitude coordinates and third party's map the upper left corner and When the latitude and longitude coordinates in the lower right corner are inconsistent, then Freehandhand-drawing live-action map is modified;
The step of amendment includes the following:
S211: a transparent background map is generated, the length and width of the transparent background map is 256 integral multiple;
The width blankImg1 of the transparent background map are as follows:
BlankImg1=(rbTileX-LtTileX+1) * 256;Wherein, rbTileX is the piece 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;
The length blankImg2 of the transparent background map are as follows:
BlankImg1=(rbTileY-LtTileY+1) * 256;Wherein, rbTileY is the piece row number in the upper left corner watt, LtTileY is the tile row number in the lower right corner, and blankImg2 is the length of transparent background figure;
The tile line number of the TileX is calculated due to following formula:
TileX=floor (pixels1/256);Wherein, level is maximum map grade, and lng is the warp of corresponding point Angle value;
The tile row number of the TileY is calculated due to following formula:
TileY=floor (pixels2/256);Wherein, level is maximum map grade, and lat is the latitude of corresponding point Angle value, rad are the radian of corresponding point;
S212: the width of outdoor scene hand-drawing map and length are scaled blankImg1 and blankImg2 respectively;
S213: new outdoor scene hand-drawing map is obtained after transparent background figure is merged with the outdoor scene hand-drawing map.
Preferably, it is described to outdoor scene hand-drawing map according to etc. the method that is sliced of sizes be length to outdoor scene hand-drawing map Degree and width carry out equal part, form several the small pictures being evenly distributed.
Preferably, the resolution sizes of the small picture are 256*256 pixel.
The present invention also provides a kind of outdoor scene hand-drawing map cutting devices corresponding with outdoor scene hand-drawing map, comprising:
Regions module is determined, for determining position of the outdoor scene hand-drawing map in third party's map area;
Calculating resolution module, for the position according to outdoor scene hand-drawing map in third party's map area the upper left corner and The latitude and longitude coordinates in the lower right corner obtain the resolution ratio of outdoor scene hand-drawing map;
Map grade module is calculated, for obtaining outdoor scene hand-drawing map most according to the resolution ratio of the outdoor scene hand-drawing map Big map grade;
Cutting module, for according to each map grade of the outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. Size is sliced;
Memory module, for all slices to be stored under same file folder according to map grade.
Preferably, the calculation formula of the resolution ratio of the outdoor scene hand-drawing map are as follows:
S=width*height,
Wherein, S is the resolution ratio of outdoor scene hand-drawing map, x1For the X pixel of the corresponding point in the lower right corner of outdoor scene hand-drawing map Sit target value, x2For the value of the X pixel coordinate of the corresponding point in the upper left corner of outdoor scene hand-drawing map;y1For the right side of outdoor scene hand-drawing map The value of the Y pixel coordinate of the corresponding point of inferior horn, y2For the value of the Y pixel coordinate of the corresponding point in 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 the X pixel coordinate is calculated by following formula:
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 the Y pixel coordinate is calculated by following formula:
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 are maximum map grade.
For overcome the deficiencies in the prior art, the second object of the present invention is to provide intelligent guide implementation method and is System, a good speech guide and explanation can not be provided in the prior art for the user of China's overseas trip by being able to solve Scenic spot map.
The second object of the present invention is implemented with the following technical solutions:
The present invention provides a kind of intelligent guide implementation methods, comprising:
S21: the coordinate of map where obtaining user;
S22: corresponding slice in Freehandhand-drawing live-action map is called according to the coordinate of map where user and is shown to user; The slice is that the outdoor scene hand-drawing map cutting method as described in any one in claim 1-6 obtains;
S23: corresponding speech sound eeplaining is played in Freehandhand-drawing live-action map according to the coordinate of map where user;
S24: corresponding sight spot picture is shown in the Freehandhand-drawing live-action map of load according to speech sound eeplaining is played.
The present invention also provides a kind of intelligent guide realization systems corresponding with the intelligent guide implementation method, including
Index module is obtained, the coordinate for map where obtaining user;
Hand-drawing map module is called, is called for the coordinate according to map where user corresponding in Freehandhand-drawing live-action map It is sliced and is shown to user;The slice is the outdoor scene hand-drawing map cutting side as described in any one in claim 1-6 Method obtains;
Voice broadcast module, for playing corresponding language in Freehandhand-drawing live-action map according to the coordinate of map where user Sound explanation;
Picture display module, for showing corresponding sight spot figure in Freehandhand-drawing live-action map according to broadcasting speech sound eeplaining Piece.
Compared with prior art, the beneficial effects of the present invention are: the present invention explores on the spot by artificial and combines map Software for drawing produces the traveled outdoor scene hand-drawing map overseas for being suitble to Chinese overseas trip, and to the outdoor scene hand-drawing map into The map is embedded into the mapping module of present map operator, realizes the outdoor scene at scenic spot overseas by row slicing treatment Change, improves the experience of visit.In addition, the loading efficiency that makes map of user when being used on APP in loading procedure It is higher.The present invention, which compensates for map operators many in the prior art and can not provide, is suitble to the passenger of Chinese overseas trip to use Map defect.
Detailed description of the invention
Fig. 1 is outdoor scene hand-drawing map cutting method flow chart provided by the invention;
Fig. 2 is outdoor scene hand-drawing map cutting device module map provided by the invention;
Fig. 3 is intelligent guide implementation method flow chart provided by the invention;
Fig. 4 is that intelligent guide provided by the invention realizes system module figure.
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention:
As shown in Figure 1, the present invention provides outdoor scene hand-drawing map cutting method comprising:
S11: position of the outdoor scene hand-drawing map in third party's map area is determined.
In this step, it is first determined position of the outdoor scene hand-drawing map in third party's map area that is to say and mark off one Region is loaded for Freehandhand-drawing live-action map.Wherein the Freehandhand-drawing live-action map is the map overseas of Freehandhand-drawing outdoor scene, due in general, Domestic map operator can not provide map overseas, therefore, can be investigated by the map manually to abroad tourism sight spot And Freehandhand-drawing goes out electronic map, while the electronic map of artificial Freehandhand-drawing is more more detailed than general software map, is relatively suitble to In the guidance of tourism.Third party's map employed herein is Google Maps.Since Freehandhand-drawing live-action map manually obtains The map at specific sight spot, therefore its coordinate that natively there is its corresponding map, therefore by the seat of the outdoor scene hand-drawing map After mark is corresponding with the coordinate of third party's map, the outdoor scene hand-drawing map can be learnt in the position of third party's map.
S12: according to the longitude and latitude in the upper left corner of position of the outdoor scene hand-drawing map in third party's map area and the lower right corner Coordinate obtains the resolution ratio of outdoor scene hand-drawing map.
Wherein after determining region of the outdoor scene hand-drawing map in third party's map with can also learning the outdoor scene Freehandhand-drawing The upper left corner of figure and the latitude and longitude coordinates in the lower right corner, therefore the resolution ratio of the outdoor scene hand-drawing map can be calculated, the outdoor scene hand The resolution ratio S calculation formula for drawing map is as follows: S=width*height,
Wherein, S is the resolution ratio of outdoor scene hand-drawing map, x1For the X pixel of the corresponding point in the lower right corner of outdoor scene hand-drawing map Sit target value, x2For the value of the X pixel coordinate of the corresponding point in the upper left corner of outdoor scene hand-drawing map;y1For the right side of outdoor scene hand-drawing map The value of the Y pixel coordinate of the corresponding point of inferior horn, y2For the value of the Y pixel coordinate of the corresponding point in 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 the X pixel coordinate is calculated by following formula:
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 the Y pixel coordinate is calculated by following formula:
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 are maximum map grade.
S13: the maximum map grade of outdoor scene hand-drawing map is obtained according to the resolution ratio of the outdoor scene hand-drawing map.
The map grade refers to that the display level of map, General maps can all have certain rank in electronic software Indicate its magnification level, such as map grade, the map grade of Google Maps of Baidu map.In other words work as map denotation When different magnification level, what is shown on map is also just different, and grade determines according to the map for this.Therefore the outdoor scene Freehandhand-drawing The maximum map grade level of map is calculated by the resolution ratio of the outdoor scene hand-drawing map, and calculating process 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 indicate to seek the minimum number in two numbers;The integer closest to it is sought in floor expression, its value is less than Or it is equal to this floating number;Round is mathematical function, and expression rounds up to 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 third The length of square map area;Level is the natural number for being less than or equal to 20 greater than 0.
The 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 To the natural number between level.
S14: according to each map grade of the outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. sizes carry out Slice.
Wherein, in order to load when, quickly map can be loaded on entire map, therefore entire map is cut into Small picture does not need just to display for a user after the completion of entire map all load when needing to load some region of map Map out, therefore will enter to be sliced to outdoor scene hand-drawing map.In addition, the picture institute of map is right due to different map grades The magnification level answered is also different, therefore when being sliced to outdoor scene hand-drawing map, first has to determine map grade, respectively Different map grade to maps is sliced.
It is described by Freehandhand-drawing live-action map slice according to etc. the method that is sliced of sizes be length to Freehandhand-drawing live-action map Equal part is carried out with width, forms several the small pictures being evenly distributed.Since the cutting of to map in Google Maps is by ground Figure is cut into the slice of 256*256 pixel size, therefore the small picture for being cut into outdoor scene hand-drawing map also used in the present invention It is the slice of 256*256 pixel size.There is also the need to be named just to name according to ranks number to slice.For example, wherein One slice is located at the 5th row the 8th and arranges, then its name can be named as 5_8.png.Other modes (rule can certainly be taken It then) names, as long as can be distinguished.
S15: all small pictures are stored under same file folder according to the map grade.
Wherein, since map grade is different, then the size of picture is also just different, therefore divides the small picture preserved Also just different.Therefore, by all small pictures save when distinguished with map grade, identical map grade is drawn Obtained small picture is divided to be stored in a file, the small picture that different map grade classifications obtain is stored in different texts In part folder.When in use, grade can find file according to the map and get the small picture of its corresponding map grade.
As shown in Fig. 2, the present invention also provides outdoor scene hand-drawing maps corresponding with the outdoor scene hand-drawing map cutting method Cutting device, comprising:
Regions module is determined, for determining position of the outdoor scene hand-drawing map in third party's map area;
Calculating resolution module, for the position according to outdoor scene hand-drawing map in third party's map area the upper left corner and The latitude and longitude coordinates in the lower right corner obtain the resolution ratio of outdoor scene hand-drawing map;
Map grade module is calculated, for obtaining outdoor scene hand-drawing map most according to the resolution ratio of the outdoor scene hand-drawing map Big map grade;
Cutting module, for according to each map grade of the outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. Size is sliced;
Memory module, for all slices to be stored under same file folder according to map grade.
Preferably, the calculation formula of the resolution ratio of the outdoor scene hand-drawing map are as follows:
S=width*height,
Wherein, S is the resolution ratio of outdoor scene hand-drawing map, x1For the X pixel of the corresponding point in the lower right corner of outdoor scene hand-drawing map Sit target value, x2For the value of the X pixel coordinate of the corresponding point in the upper left corner of outdoor scene hand-drawing map;y1For the right side of outdoor scene hand-drawing map The value of the Y pixel coordinate of the corresponding point of inferior horn, y2For the value of the Y pixel coordinate of the corresponding point in 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 the X pixel coordinate is calculated by following formula:
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 the Y pixel coordinate is calculated by following formula:
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 are maximum map grade.
In addition, further including step S131 after the step S13: when the upper left corner of outdoor scene hand-drawing map and the warp in the lower right corner When the latitude and longitude coordinates in the upper left corner and the lower right corner of latitude coordinate and Google Maps are inconsistent, then Freehandhand-drawing live-action map is carried out Amendment;
It is described that modified steps are as follows:
S211: a transparent background map is generated, the length and width of the transparent background map is 256 integral multiple;
Its width blankImg1 are as follows: blankImg1=(rbTileX-LtTileX+1) * 256,
Wherein, rbTileX is the piece 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 the TileX is calculated due to following formula:
TileX=floor (pixels1/256);
Wherein, level is maximum map grade, and lng is the longitude of corresponding point;
Its length blankImg2 are as follows: blankImg1=(rbTileY-LtTileY+1) * 256,
Wherein, rbTileY is the piece 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 tile row number of the TileY is calculated due to following formula:
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: the width of outdoor scene hand-drawing map and length are scaled blankImg1 and blankImg2 respectively;
S213: new outdoor scene hand-drawing map is obtained after transparent background figure is merged with the outdoor scene hand-drawing map.
As shown in figure 3, the present invention also provides intelligent guide implementation methods, comprising:
S21: the coordinate of map where obtaining user;
S22: corresponding slice in Freehandhand-drawing live-action map is called according to the coordinate of map where user and is shown to user; The slice is obtained by the outdoor scene hand-drawing map cutting method;
S23: corresponding speech sound eeplaining is played in Freehandhand-drawing live-action map according to the coordinate of map where user;
S24: corresponding sight spot picture is shown in the Freehandhand-drawing live-action map of load according to speech sound eeplaining is played.
As shown in figure 4, the present invention also provides intelligent guides corresponding with the intelligent guide implementation method to realize system System, including
Index module is obtained, the coordinate for map where obtaining user;
Hand-drawing map module is called, is called for the coordinate according to map where user corresponding in Freehandhand-drawing live-action map It is sliced and is shown to user;The slice is obtained by the outdoor scene hand-drawing map cutting method;
Voice broadcast module, for playing corresponding language in Freehandhand-drawing live-action map according to the coordinate of map where user Sound explanation;
Picture display module, for showing corresponding sight spot figure in Freehandhand-drawing live-action map according to broadcasting speech sound eeplaining Piece.
It will be apparent to those skilled in the art that can make various other according to the above description of the technical scheme and ideas Corresponding change and deformation, and all these changes and deformation all should belong to the protection scope of the claims in the present invention Within.

Claims (8)

1. outdoor scene hand-drawing map cutting method characterized by comprising
S11: position of the outdoor scene hand-drawing map in third party's map area is determined;
S12: according to the latitude and longitude coordinates in the upper left corner of position of the outdoor scene hand-drawing map in third party's map area and the lower right corner Obtain the resolution ratio of outdoor scene hand-drawing map;
S13: the maximum map grade of outdoor scene hand-drawing map is obtained according to the resolution ratio of the outdoor scene hand-drawing map;
S14: according to each map grade of the outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. sizes be sliced;
S15: all slices are stored under same file folder according to the map grade;
The calculation formula of the resolution ratio of the outdoor scene hand-drawing map are as follows:
S=width*height,
Wherein, S is the resolution ratio of outdoor scene hand-drawing map, x1For the X pixel coordinate of the corresponding point in the lower right corner of outdoor scene hand-drawing map Value, x2For the value of the X pixel coordinate of the corresponding point in the upper left corner of outdoor scene hand-drawing map;y1For the lower right corner pair of outdoor scene hand-drawing map The value of the Y pixel coordinate for the point answered, y2For the value of the Y pixel coordinate of the corresponding point in the upper left corner of outdoor scene hand-drawing map;Width is The width of outdoor scene hand-drawing map, height are the length of outdoor scene hand-drawing map;
The value of the X pixel coordinate is calculated by following formula:
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. Grade;
The value of the Y pixel coordinate is calculated by following formula:
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 are maximum map grade.
2. outdoor scene hand-drawing map cutting method as described in claim 1, which is characterized in that the outdoor scene hand-drawing map is maximally The calculation 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 indicate to seek the minimum number in two numbers;The integer closest to it is sought in floor expression, its value is less than or waits In this floating number;Round is mathematical function, and expression rounds up to x;Width is the width of outdoor scene hand-drawing map, Height is the length of outdoor scene hand-drawing map, mapWidth is the width in Google Maps region, and mapHeight is Google The length of graph region;Level is the natural number for being less than or equal to 20 greater than 0.
3. outdoor scene hand-drawing map cutting method as described in claim 1, which is characterized in that between the step S13 and step S14 Further include:
S131: when the upper left corner and bottom right in the upper left corner of outdoor scene hand-drawing map and the latitude and longitude coordinates in the lower right corner and third party's map When the latitude and longitude coordinates at angle are inconsistent, then Freehandhand-drawing live-action map is modified;
The step of amendment includes the following:
S211: a transparent background map is generated, the length and width of the transparent background map is 256 integral multiple;
The width blankImg1 of the transparent background map are as follows:
BlankImg1=(rbTileX-LtTileX+1) * 256;Wherein, rbTileX is the tile line number in the upper left corner, LtTileX is the tile line number in the lower right corner, and blankImg is the width of transparent background figure;
The length blankImg2 of the transparent background map are as follows:
BlankImg1=(rbTileY-LtTileY+1) * 256;Wherein, rbTileY is the tile row number in the upper left corner, LtTileY is the tile row number in the lower right corner, and blankImg2 is the length of transparent background figure;
The tile line number of the TileX is calculated by following formula:
TileX=floor (pixels1/256);Wherein, level is maximum map grade, and lng is the longitude of corresponding point;
The tile row number of the TileY is calculated by following formula:
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: the width of outdoor scene hand-drawing map and length are scaled blankImg1 and blankImg2 respectively;
S213: new outdoor scene hand-drawing map is obtained after transparent background figure is merged with the outdoor scene hand-drawing map.
4. outdoor scene hand-drawing map cutting method as described in claim 1, which is characterized in that it is described to outdoor scene hand-drawing map according to etc. The method that size is sliced is to carry out equal part to the length and width of outdoor scene hand-drawing map, and it is small to form several that be evenly distributed Picture.
5. outdoor scene hand-drawing map cutting method as claimed in claim 4, which is characterized in that the resolution sizes of the small picture are 256*256 pixel.
6. outdoor scene hand-drawing map cutting device characterized by comprising
Regions module is determined, for determining position of the outdoor scene hand-drawing map in third party's map area;
Calculating resolution module, the upper left corner and bottom right for the position according to outdoor scene hand-drawing map in third party's map area The latitude and longitude coordinates at angle obtain the resolution ratio of outdoor scene hand-drawing map;
Map grade module is calculated, for obtaining outdoor scene hand-drawing map maximally according to the resolution ratio of the outdoor scene hand-drawing map Figure grade;
Cutting module, for according to each map grade of the outdoor scene hand-drawing map to outdoor scene hand-drawing map according to etc. sizes It is sliced;
Memory module, for all slices to be stored under same file folder according to map grade;
The calculation formula of the resolution ratio of the outdoor scene hand-drawing map are as follows:
S=width*height,
Wherein, S is the resolution ratio of outdoor scene hand-drawing map, x1For the X pixel coordinate of the corresponding point in the lower right corner of outdoor scene hand-drawing map Value, x2For the value of the X pixel coordinate of the corresponding point in the upper left corner of outdoor scene hand-drawing map;y1For the lower right corner pair of outdoor scene hand-drawing map The value of the Y pixel coordinate for the point answered, y2For the value of the Y pixel coordinate of the corresponding point in the upper left corner of outdoor scene hand-drawing map;Width is The width of outdoor scene hand-drawing map, height are the length of outdoor scene hand-drawing map;
The value of the X pixel coordinate is calculated by following formula:
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. Grade;
The value of the Y pixel coordinate is calculated by following formula:
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 are maximum map grade.
7. intelligent guide implementation method characterized by comprising
S21: the coordinate of map where obtaining user;
S22: corresponding slice in Freehandhand-drawing live-action map is called according to the coordinate of map where user and is shown to user;It is described Slice is that the outdoor scene hand-drawing map cutting method as described in any one in claim 1-5 obtains;
S23: corresponding speech sound eeplaining is played in Freehandhand-drawing live-action map according to the coordinate of map where user;
S24: corresponding sight spot picture is shown in the Freehandhand-drawing live-action map of load according to speech sound eeplaining is played.
8. intelligent guide realizes system, which is characterized in that including
Index module is obtained, the coordinate for map where obtaining user;
Hand-drawing map module is called, for calling corresponding slice in Freehandhand-drawing live-action map according to the coordinate of map where user And it is shown to user;The slice is that the outdoor scene hand-drawing map cutting method as described in any one in claim 1-5 obtains It arrives;
Voice broadcast module is said for playing corresponding voice in Freehandhand-drawing live-action map according to the coordinate of map where user Solution;
Picture display module, for showing corresponding sight spot picture in Freehandhand-drawing live-action map according to broadcasting speech sound eeplaining.
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 CN106204566A (en) 2016-12-07
CN106204566B true 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)

Families Citing this family (6)

* 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
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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008014826A1 (en) * 2006-08-03 2008-02-07 Alterface S.A. Method and device for identifying and extracting images of multiple users, and for recognizing user gestures
CN104299541B (en) * 2014-10-27 2018-05-01 中科数景秦皇岛信息技术有限公司 Intelligent guide system and method based on mobile Internet platform
CN105025100B (en) * 2015-07-16 2016-03-02 山东慧行天下文化传媒有限公司 Based on the hand-drawing map intelligent guide guide system of iOS system
CN105021186B (en) * 2015-07-16 2016-08-24 山东慧行天下文化传媒有限公司 Intelligent guide guide system based on hand-drawing map
CN105007320B (en) * 2015-07-16 2016-04-13 山东慧行天下文化传媒有限公司 Based on the intelligent movable tourist guide system of Cloud Server
CN105025101B (en) * 2015-07-16 2016-03-02 山东慧行天下文化传媒有限公司 Based on the intelligent guide guide system of the android system of hand-drawing map

Also Published As

Publication number Publication date
CN106204566A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
CN106204566B (en) Outdoor scene hand-drawing map cutting method and device, intelligent guide realization method and system
US9354068B2 (en) System and method for dynamically downloading and displaying map data
US11423061B2 (en) Tile server
US8300984B2 (en) Real-time spherical correction of map data
AU2011282242B2 (en) 3D layering of map metadata
US9049554B2 (en) Dynamic prioritization of label downloads
CN108337664B (en) Tourist attraction augmented reality interactive navigation system and method based on geographical position
CN108563702B (en) Voice explanation data processing method and device based on exhibit image recognition
CN105026889A (en) Pyramid mapping data structure for indoor navigation
CN109115221A (en) Indoor positioning, air navigation aid and device, computer-readable medium and electronic equipment
CN104539723A (en) Virtual guide system based on scenic spot feature point positioning
CN105677818A (en) Drawing method and system based on mobile positioning and electronic map
CN104506623A (en) Method and device for displaying information of net friends of social network
US20210341307A1 (en) Image processing method and apparatus, electronic device, and storage medium
EP2078926B1 (en) System and method for dynamically downloading and displaying map data
CN102695119A (en) POI display method
CN109168127A (en) Resource recommendation method, device, electronic equipment and computer-readable medium
CN112509453B (en) Electronic navigation method and system for scenic spot live-action navigation map based on mobile equipment
CN106464735B (en) Implementation of third-party services in digital service platform
US20220318297A1 (en) Map representation data processing device, information processing method, and program
US9037156B2 (en) Real-time spherical correction of map data
CN105760163A (en) Interface display method and device
US10331733B2 (en) System and method for presenting condition-specific geographic imagery
KR101217870B1 (en) Method for creating or checking course information using smart phone with gps, wi-fi and smart phone a linear touch coordinates recognition and gis service using thereof
CN117972000A (en) Method, system, device and storage medium for narrative based on location interest points

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