CN105824899A - Offline map downloading method based on tile map technology - Google Patents

Offline map downloading method based on tile map technology Download PDF

Info

Publication number
CN105824899A
CN105824899A CN201610144418.9A CN201610144418A CN105824899A CN 105824899 A CN105824899 A CN 105824899A CN 201610144418 A CN201610144418 A CN 201610144418A CN 105824899 A CN105824899 A CN 105824899A
Authority
CN
China
Prior art keywords
tile
map
track circuit
downloading
technology
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
CN201610144418.9A
Other languages
Chinese (zh)
Other versions
CN105824899B (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.)
Shenzhen 2bulu Information Technology Co Ltd
Original Assignee
Shenzhen 2bulu Information Technology Co 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 Shenzhen 2bulu Information Technology Co Ltd filed Critical Shenzhen 2bulu Information Technology Co Ltd
Priority to CN201610144418.9A priority Critical patent/CN105824899B/en
Publication of CN105824899A publication Critical patent/CN105824899A/en
Application granted granted Critical
Publication of CN105824899B publication Critical patent/CN105824899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Abstract

An offline map downloading method based on the tile map technology relates to the field of mobile phone maps and comprises the following steps: (1) obtaining a circumscribing rectangle entirely including track routes to be used by a going-out user; (2) expanding the circumscribing rectangle according to the specified peripheral range to form a target rectangle; (3) sequentially judging whether tiles in the target rectangular area is within the peripheral specified range of the track routes, making the request of downloading the tiles within the peripheral specified range to a server, and caching all the successfully downloaded tiles in the local terminal for later offline use. According to the method for downloading map tiles according to the trip route, only the map tiles within the specified range (distance) around the trip route, instead of unnecessary map tiles, are downloaded, so that the downloads are reduced, the downloading flow and the terminal memory space are saved, and accordingly, the benefit of saving both flow resources and memory space resources is achieved.

Description

A kind of method for down loading of off-line map based on tile technology
Technical field
The present invention relates to cell phone map field, the WebGIS(network geographic information system built especially with tile map mode) cell phone map of framework, more specifically, relate to the method for down loading of a kind of off-line map based on tile technology.
Background technology
The most many cell phone maps are all to use based on tile map, especially for open air trip satellite map the most easily, then must use the mode of tile map.The principle of this type of map is that map is set as multiple scale, map is cut in the picture presence server of several little sections by each scale in advance, the little picture directly obtaining needs during terminal request is spliced into map, rather than generated Map the most as required by service end to terminal, greatly reduce the service end access for geodata, improve access speed.Major part cell phone map the most all provides the function that off-line map is downloaded the most at present, in the environment of having network, manual by user in advance or system has downloaded the subregion map that trip may be used automatically, will not have influence on the use of map because of network reason when user goes on a journey.But tile picture is pyramid pattern, the tile number of the most next level is 4 times of a upper level, and level is the biggest, and tile number is the most, so the total size of map file of the most detailed (scale level is the biggest) is the biggest.Comprising the map of the most detailed level (such as 18 grades), even the regional extent of a ten or twenty kilometer, the total size of file goes up G easily.The off-line map downloading mode of this type of tile map is typically to download certain administrative region or certain self-defining rectangular area at present, it there is the problem that if it is intended to use detailed map to be necessary for all tile map in whole region and all download, but wherein overwhelming majority map tile is useless for a user.
Summary of the invention
In sum, the off-line map downloading mode that it is an object of the invention to solve current tile map lacks science, there is the technical deficiency of the wasting of resources, and proposes the method for down loading of a kind of off-line map based on tile technology.
For solving technical problem proposed by the invention, the technical scheme of employing is: the method for down loading of a kind of off-line map based on tile technology, it is characterised in that described method step is as follows:
1) the track circuit that, according to user's trip will use, obtains track circuit complete packet is contained in interior circumscribed rectangle;
2), circumscribed rectangle is extended out into a target rectangle according to designated perimeter scope;
3) in the range of judging the periphery the appointment whether tile in target rectangle region is in track circuit, successively, downloading the tile in the range of periphery is specified to service end request, the tile all downloads completed all is buffered in terminal local for off-line in the future.
The technical scheme limited further as the present invention includes:
The track circuit acquisition pattern that described user's trip will use includes: user is planning acquisition the most voluntarily, or uses the historical track of other people or oneself to obtain.
Described user is user's circuit that manual described point is drawn on map at the track circuit planned the most voluntarily, or obtains the planning circuit from certain starting point to certain terminal from map server request.
The historical track of described use other people or oneself is to be stored in terminal local or be stored in the historical track circuit of oneself or other people in server high in the clouds.
Judge whether the tile in target rectangle region is in the method in the range of the periphery of track circuit is specified and is: by the beeline of the tile central point in comparison object rectangular area to the track circuit whether the most satisfied distance range specified, if meeting, downloading this tile, being unsatisfactory for, not downloading.
Tile central point specifies scope to the beeline of track circuit more than periphery, but track circuit have passed through this tiling area, and this kind of situation is also required to download this tile.
Proportion grades according to the map is mapped to the mode of file path and is saved in the memory space of terminal local by the tile downloaded, whether local map exists this tile in first checking locally stored space when showing map tile, if had, directly display this tile, without passing through network again from server request.
Described circumscribed rectangle is determined by the maximin of the longitude and latitude of all tracing points on track circuit.
The invention have the benefit that the method that the present invention downloads map tile according to travel route, can only download the map tile in travel route periphery along the line specifies scope (distance), do not download unnecessary useless map tile, reduce download as far as possible, save downloading flow and terminal storage space, reach floating resources and the beneficial effect of memory space resource saving.
Accompanying drawing explanation
Fig. 1 is tile map pyramid model structural representation;
Fig. 2 is that the present invention downloads the principle schematic of tile along track circuit.
Detailed description of the invention
Below in conjunction with accompanying drawing and currently preferred specific embodiment, the method for the present invention is further described.
With reference to shown in Fig. 1, existing tile map is pyramid model structure, and the tile number of each level is 22nIndividual, level index n starts counting up from 0, and the 0th grade is 1 tile, may generally be considered as root node, and the 1st grade is 4 tiles, and the 2nd grade is 16 tiles ... by that analogy.This just can be used to describe a regular map scale and the division of display resolution.At one tile of the 0th grade of hypothesis it can be seen that the map in whole region, the 1st grade when, every pictures is only able to display the map in 1/4 region, the 2nd grade when, just can only see the map in 1/16 region.From pyramidal top layer to bottom, map denotation scale is increasing, and resolution is more and more higher, but total body of a map or chart that all tiles of each layer represent is constant.
With reference to shown in Fig. 2, the step of the method for down loading of the off-line map based on tile technology of the present invention is as follows:
1) the track circuit that, according to user's trip will use, obtains being contained in track circuit complete packet interior circumscribed rectangle a;The size and location of described circumscribed rectangle specifically can be determined by the maximin of the longitude and latitude of all tracing points on track circuit;The bottom left vertex latitude and longitude coordinates of the most circumscribed rectangle a is (Min (lon0, lon1 ...), Min (lat0, lat1 ...)), wherein lon0, lon1 ... and lat0, lat1 ... represent the 0th, 1 respectively ... the longitude of individual tracing point and latitude.In like manner, the right vertices latitude and longitude coordinates of circumscribed rectangle a is (Max (lon0, lon1 ...), Max (lat0, lat1 ...)), thus determines circumscribed rectangle a.Wherein, the track circuit acquisition pattern that described user's trip will use includes: user is planning acquisition the most voluntarily, or uses the historical track of other people or oneself to obtain;Described user is user's circuit that manual described point is drawn on map at the track circuit planned the most voluntarily, or obtains the planning circuit from certain starting point to certain terminal from map server request;The planning preference can specified according to user, such as drives, rides, the action modes such as walking, and whether walks the options such as high speed to plan circuit.The historical track of described use other people or oneself is to be stored in terminal local or be stored in the historical track circuit of oneself or other people in server high in the clouds.
2), circumscribed rectangle a is extended out into a target rectangle A according to designated perimeter scope m;The described mode extending out into a target rectangle A is: first according to algorithm, distance m specified is converted into longitude increment Delta lon and latitude increment Delta lat, then the summit latitude and longitude coordinates of circumscribed rectangle a is individually subtracted and increases the increment of correspondence.As the lower-left of circumscribed rectangle a and the latitude and longitude coordinates of upper right are respectively (lonx, and (lony latx), laty), the target rectangle A lower-left then extended out and the latitude and longitude coordinates of upper right are respectively (lonx-Δ lon, latx-Δ lat) and (lony+ Δ lon, laty+ Δ lat).Described distance m specified is converted into longitude increment Delta lon according to algorithm with the method for latitude increment Delta lat it is: owing on equator, the corresponding arc length on the ground of longitude 1 ° is about 111km(equatorial perimeter/360), so longitude increment Delta lon=m/ (111km*cos (lat)), wherein lat can take the latitude lat=(latx+laty)/2 of central point of circumscribed rectangle a.Owing to the gap length of 1 ° of all parts of the world latitude is the most equal, about 111km/1 °.So latitude increment Delta lat=m/111km.Extend out into target rectangle A's so that complete preview track history circuit.
3) judging whether the tile in target rectangle a-quadrant is in periphery appointment scope m of track circuit, successively, download the tile in periphery specifies scope m to service end request, the tile all downloads completed all is buffered in terminal local for off-line in the future.When specifically can download the tile under different level according to tile pyramid model, judge central point minimum range l to track circuit of each tile t in target rectangle A, whether specify scope m less than periphery, satisfied then download this tile t, it is unsatisfactory for, does not downloads.It addition, tile central point specifies scope m to the beeline of track circuit more than periphery, but track circuit have passed through this tiling area, and this kind of situation is also required to download this tile, to ensure the integrity of track circuit figure accordingly.
Tile in the region (dash area) of final trajectory curb line periphery all will be downloaded, and the tile in other regions will not be downloaded.Periphery in scheme specifies scope m can regulate according to practical situation, and periphery specifies scope m the least, and the tile of required download is the fewest, more can save flow and the memory space of download.Proportion grades according to the map is mapped to the mode of file path and is saved in the memory space of terminal local by the tile downloaded, whether local map exists this tile in first checking locally stored space when showing map tile, if had, directly display this tile, without passing through network again from server request.Thus, if the tile of target area is download in advance, so that it may realize local map off-line in target area and use.
The present invention selects to download the function of level when having download, user select required level.The off-line map of the present invention program also provides for the function of name, can freely be named this target area, facilitates user to check and manage.
The off-line map of the present invention program also provide for delete function, if the off-line map of regional aim not in use by, locally stored space can be saved after deletion.

Claims (8)

1. the method for down loading of an off-line map based on tile technology, it is characterised in that described method step is as follows:
1) the track circuit that, according to user's trip will use, obtains track circuit complete packet is contained in interior circumscribed rectangle;
2), circumscribed rectangle is extended out into a target rectangle according to designated perimeter scope;
3) in the range of judging the periphery the appointment whether tile in target rectangle region is in track circuit, successively, downloading the tile in the range of periphery is specified to service end request, the tile all downloads completed all is buffered in terminal local for off-line in the future.
The method for down loading of a kind of off-line map based on tile technology the most according to claim 1; it is characterized in that: the track circuit acquisition pattern that described user's trip will use includes: user is planning acquisition the most voluntarily, or use the historical track of other people or oneself to obtain.
The method for down loading of a kind of off-line map based on tile technology the most according to claim 2, it is characterized in that: described user is user's circuit that manual described point is drawn on map at the track circuit planned the most voluntarily, or obtain the planning circuit from certain starting point to certain terminal from map server request.
The method for down loading of a kind of off-line map based on tile technology the most according to claim 2, it is characterised in that: the historical track of described use other people or oneself is to be stored in terminal local or be stored in the historical track circuit of oneself or other people in server high in the clouds.
The method for down loading of a kind of off-line map based on tile technology the most according to claim 1, it is characterized in that: judge whether the tile in target rectangle region is in the method in the range of the periphery of track circuit is specified and is: by the beeline of the tile central point in comparison object rectangular area to the track circuit whether the most satisfied distance range specified, if meeting, downloading this tile, being unsatisfactory for, not downloading.
The method for down loading of a kind of off-line map based on tile technology the most according to claim 5, it is characterized in that: the beeline of tile central point to track circuit specifies scope more than periphery, but track circuit have passed through this tiling area, this kind of situation is also required to download this tile.
The method for down loading of a kind of off-line map based on tile technology the most according to claim 1, it is characterized in that: proportion grades according to the map is mapped to the mode of file path and is saved in the memory space of terminal local by the tile downloaded, whether local map exists this tile in first checking locally stored space when showing map tile, if had, directly display this tile, without passing through network again from server request.
The method for down loading of a kind of off-line map based on tile technology the most according to claim 1, it is characterised in that: described circumscribed rectangle is determined by the maximin of the longitude and latitude of all tracing points on track circuit.
CN201610144418.9A 2016-03-15 2016-03-15 A kind of method for down loading of the offline map based on tile technology Active CN105824899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610144418.9A CN105824899B (en) 2016-03-15 2016-03-15 A kind of method for down loading of the offline map based on tile technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610144418.9A CN105824899B (en) 2016-03-15 2016-03-15 A kind of method for down loading of the offline map based on tile technology

Publications (2)

Publication Number Publication Date
CN105824899A true CN105824899A (en) 2016-08-03
CN105824899B CN105824899B (en) 2019-05-21

Family

ID=56987832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610144418.9A Active CN105824899B (en) 2016-03-15 2016-03-15 A kind of method for down loading of the offline map based on tile technology

Country Status (1)

Country Link
CN (1) CN105824899B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766436A (en) * 2017-09-20 2018-03-06 广东省建设信息中心 A kind of address correlation data processing method, user terminal and server
CN109388409A (en) * 2018-09-03 2019-02-26 中新网络信息安全股份有限公司 A kind of method that Intranet disposes map tile service and path planning
CN110887499A (en) * 2018-09-11 2020-03-17 高德信息技术有限公司 Method and terminal for processing road data and interest point data in map
CN111127275A (en) * 2019-12-16 2020-05-08 武汉大千信息技术有限公司 Method for obtaining target track complete graph of optimal map hierarchy
CN111143493A (en) * 2019-11-15 2020-05-12 深圳震有科技股份有限公司 Method for manufacturing off-line map, intelligent terminal and storage medium
CN115102948A (en) * 2022-06-24 2022-09-23 阿波罗智联(北京)科技有限公司 Automatic downloading method, device and equipment of map tiles and storage medium
US11492563B2 (en) 2018-04-28 2022-11-08 Beijing Sanju Environmental Protection & New Materials Co., Ltd Conversion process for an inferior oil

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100106403A1 (en) * 2004-07-20 2010-04-29 Navteq North America, Llc Navigation System with Downloadable Map Data
CN102012924A (en) * 2010-11-29 2011-04-13 深圳市融创天下科技发展有限公司 Map display method and system and mobile terminal
CN103968847A (en) * 2014-05-14 2014-08-06 百度在线网络技术(北京)有限公司 Electronic map off-line data organization method and electronic map off-line data organization device
CN104236544A (en) * 2014-10-10 2014-12-24 深圳市凯立德欣软件技术有限公司 Map data downloading method and navigation device
CN105339938A (en) * 2013-05-15 2016-02-17 谷歌公司 Efficient fetching of map tile data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100106403A1 (en) * 2004-07-20 2010-04-29 Navteq North America, Llc Navigation System with Downloadable Map Data
CN102012924A (en) * 2010-11-29 2011-04-13 深圳市融创天下科技发展有限公司 Map display method and system and mobile terminal
CN105339938A (en) * 2013-05-15 2016-02-17 谷歌公司 Efficient fetching of map tile data
CN103968847A (en) * 2014-05-14 2014-08-06 百度在线网络技术(北京)有限公司 Electronic map off-line data organization method and electronic map off-line data organization device
CN104236544A (en) * 2014-10-10 2014-12-24 深圳市凯立德欣软件技术有限公司 Map data downloading method and navigation device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766436A (en) * 2017-09-20 2018-03-06 广东省建设信息中心 A kind of address correlation data processing method, user terminal and server
CN107766436B (en) * 2017-09-20 2021-09-21 广东省建设信息中心 Address associated data processing method, user terminal and server
US11492563B2 (en) 2018-04-28 2022-11-08 Beijing Sanju Environmental Protection & New Materials Co., Ltd Conversion process for an inferior oil
CN109388409A (en) * 2018-09-03 2019-02-26 中新网络信息安全股份有限公司 A kind of method that Intranet disposes map tile service and path planning
CN110887499A (en) * 2018-09-11 2020-03-17 高德信息技术有限公司 Method and terminal for processing road data and interest point data in map
CN110887499B (en) * 2018-09-11 2021-11-02 阿里巴巴(中国)有限公司 Method and terminal for processing road data and interest point data in map
CN111143493A (en) * 2019-11-15 2020-05-12 深圳震有科技股份有限公司 Method for manufacturing off-line map, intelligent terminal and storage medium
CN111143493B (en) * 2019-11-15 2023-08-29 深圳震有科技股份有限公司 Offline map manufacturing method, intelligent terminal and storage medium
CN111127275A (en) * 2019-12-16 2020-05-08 武汉大千信息技术有限公司 Method for obtaining target track complete graph of optimal map hierarchy
CN115102948A (en) * 2022-06-24 2022-09-23 阿波罗智联(北京)科技有限公司 Automatic downloading method, device and equipment of map tiles and storage medium

Also Published As

Publication number Publication date
CN105824899B (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN105824899A (en) Offline map downloading method based on tile map technology
CN105973244B (en) Obtain method, air navigation aid and the equipment of cartographic information
EP2555166B1 (en) Space error parameter for 3D buildings and terrain
CN105825666B (en) City sprinkling truck intelligent dispatching method based on pavement humidity detection
CA2665221C (en) Predictive downloading of map data
CN110473422B (en) Outdoor public regional ground parking space navigation head
CN206961119U (en) A kind of distributed memory system of intelligent driving automobile operation system and high-precision map
CN101907465B (en) Local access and wireless downloading combined map navigation method
CN104236544A (en) Map data downloading method and navigation device
CN107806883A (en) A kind of air navigation aid and device
CN102706358A (en) Path planning method, navigation method and terminal for avoiding forbidden road
CN106485429B (en) Unmanned aerial vehicle operation scheduling method and device
CN110111596A (en) Parking stall distribution method and device
CN106323268A (en) Mobile terminal positioning and travelling navigation method and mobile terminal
CN110186473B (en) Image processing method, device, electronic equipment and storage medium
CN108198099A (en) The guidance method and system of augmented reality, device, server and computer readable storage medium
CN110057358A (en) A kind of air navigation aid and system
CN109543994A (en) A kind of unmanned plane dispositions method and device
CN106255126B (en) A kind of method and device of identification base station location area flower arrangement
CN109190940A (en) Consider the common road transport investigation website distribution method of zone boundary control
WO2023040712A1 (en) Map data processing method and apparatus
CN115265504A (en) Three-dimensional terrain surveying and mapping method, system and terminal equipment
CN110375758B (en) Road network data processing method and device, electronic device and storage medium
CN115588086A (en) Map dividing method, map dividing device, computer readable storage medium and processor
CN107976198A (en) The method of the path adaptation lifting inertial navigation performance combined using high in the clouds

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method of downloading offline map based on tile technology

Effective date of registration: 20220422

Granted publication date: 20190521

Pledgee: Bank of Jiangsu Limited by Share Ltd. Shenzhen branch

Pledgor: Shenzhen 2bulu Information Technology Co.,Ltd.

Registration number: Y2022980004643

PE01 Entry into force of the registration of the contract for pledge of patent right