CN103699439A - Device and method for calculating tiles in electronic map visual area - Google Patents
Device and method for calculating tiles in electronic map visual area Download PDFInfo
- Publication number
- CN103699439A CN103699439A CN201310744408.5A CN201310744408A CN103699439A CN 103699439 A CN103699439 A CN 103699439A CN 201310744408 A CN201310744408 A CN 201310744408A CN 103699439 A CN103699439 A CN 103699439A
- Authority
- CN
- China
- Prior art keywords
- map
- level
- visible area
- tile
- pixel
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000000007 visual effect Effects 0.000 title 1
- 238000004458 analytical method Methods 0.000 claims description 18
- 230000036316 preload Effects 0.000 claims description 17
- 238000006243 chemical reaction Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 description 7
- 238000004422 calculation algorithm Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000011218 segmentation Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000004091 panning Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
Images
Landscapes
- Instructional Devices (AREA)
- Processing Or Creating Images (AREA)
Abstract
本发明公开了一种计算电子地图可视区域内的瓦片的装置和方法,该方法包括:根据地图可视区域的中心点的地理位置坐标及地图的当前显示级别,换算得到中心点的像素坐标;根据地图的当前显示级别,得到当前显示级别的单个瓦片的像素尺寸;根据地图可视区域的像素尺寸和中心点的像素坐标,得到地图可视区域的两个相对的顶点的像素坐标;以及根据地图可视区域的两个相对的顶点的像素坐标和当前显示级别的单个瓦片的像素尺寸得到可视区域内的瓦片编号。本发明通过地理位置坐标和显示级别而计算得到可视区域内的瓦片的编号,由此准确地计算可视区域内的瓦片的编号,解决了瓦片获取操作的准确率和操作速度不佳的问题。
The invention discloses a device and method for calculating tiles in the visible area of an electronic map. The method includes: converting and obtaining the pixel of the center point according to the geographic location coordinates of the center point of the map visible area and the current display level of the map Coordinates; according to the current display level of the map, get the pixel size of a single tile at the current display level; get the pixel coordinates of two opposite vertices of the map visible area according to the pixel size of the map visible area and the pixel coordinates of the center point ; and obtain the tile number in the visible area according to the pixel coordinates of two opposite vertices in the visible area of the map and the pixel size of a single tile at the current display level. The present invention calculates the number of tiles in the visible area through geographic location coordinates and display levels, thereby accurately calculating the number of tiles in the visible area, and solves the problem of the accuracy and speed of tile acquisition operations. good question.
Description
技术领域technical field
本发明涉及电子地图技术领域,具体涉及一种计算电子地图可视区域内的瓦片的装置和计算电子地图可视区域内的瓦片的方法。The invention relates to the technical field of electronic maps, in particular to a device for calculating tiles in a visible area of an electronic map and a method for calculating tiles in a visible area of an electronic map.
背景技术Background technique
在目前电子地图的应用中,由服务器端保存瓦片的具体保存形式是将瓦片以像素坐标为索引保存。客户端请求电子地图可视区域内的瓦片的方法是通过使用像素坐标向服务器端发出下载瓦片请求,由服务器端根据像素坐标得到瓦片并将瓦片返回客户端,然而采用这样的方法,不仅服务器的处理量较大,而且瓦片获取操作的准确率和操作速度不佳。In the current application of electronic maps, the specific storage form of storing tiles by the server is to store the tiles with pixel coordinates as indexes. The method for the client to request the tiles in the visible area of the electronic map is to send a download tile request to the server by using the pixel coordinates, and the server gets the tiles according to the pixel coordinates and returns the tiles to the client. However, this method , not only the processing capacity of the server is large, but also the accuracy and operation speed of the tile acquisition operation are not good.
发明内容Contents of the invention
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的计算电子地图可视区域内的瓦片的装置和相应的计算电子地图可视区域内的瓦片的方法。In view of the above problems, the present invention is proposed to provide a device for calculating tiles in the visible area of an electronic map and a corresponding method for calculating tiles in the visible area of an electronic map that overcome the above problems or at least partially solve the above problems .
依据本发明的一个方面,提供了一种计算电子地图可视区域内的瓦片的装置,该装置包括:定点运算单元,适于根据地图可视区域的中心点的地理位置坐标及地图的当前显示级别,换算得到中心点的像素坐标;瓦片分析单元,适于根据地图的当前显示级别,得到当前显示级别的单个瓦片的像素尺寸;顶点分析单元,适于根据地图可视区域的像素尺寸和中心点的像素坐标,得到地图可视区域的两个相对的顶点的像素坐标;瓦片运算单元,适于根据地图可视区域的两个相对的顶点的像素坐标和当前显示级别的单个瓦片的像素尺寸得到可视区域内的瓦片编号。According to one aspect of the present invention, a device for calculating tiles in the visible area of an electronic map is provided, the device includes: a fixed-point arithmetic unit, adapted to calculate the tiles according to the geographic location coordinates of the center point of the visible area of the map and the current map location. Display level, converted to obtain the pixel coordinates of the center point; tile analysis unit, suitable for obtaining the pixel size of a single tile at the current display level according to the current display level of the map; vertex analysis unit, suitable for pixels in the visible area of the map The size and the pixel coordinates of the center point are used to obtain the pixel coordinates of two opposite vertices of the visible area of the map; the tile operation unit is adapted to obtain the pixel coordinates of two opposite vertices of the visible area of the map and the single The pixel dimensions of the tile get the tile number within the viewable area.
可选地,所述顶点分析单元,适于得到两个相对的顶点所在的瓦片的横向索引编号和纵向索引编号;选取位于两个相对的顶点所在的瓦片的横向索引编号之间的横向索引编号以及位于两个相对的顶点所在的瓦片的纵向索引编号之间的纵向索引编号,即得到地图可视区域内的瓦片编号;其中,所述瓦片运算单元,适于对所述顶点分别利用顶点的像素坐标减去地图的原点的像素坐标得到横坐标的差值和纵坐标的差值,利用横坐标的差值除以单个瓦片的像素宽度得到横向索引编号,利用纵坐标的差值除以单个瓦片的像素高度得到纵向索引编号,从而得到两个相对的顶点所在的瓦片的横向索引编号和纵向索引编号。Optionally, the vertex analysis unit is adapted to obtain the horizontal index number and the vertical index number of the tile where the two opposite vertices are located; The index number and the vertical index number between the vertical index numbers of the tiles where the two opposite vertices are located, that is, the tile numbers in the visible area of the map are obtained; wherein, the tile operation unit is suitable for the The vertices use the pixel coordinates of the vertices to subtract the pixel coordinates of the origin of the map to obtain the difference of the abscissa and the difference of the ordinate, divide the difference of the abscissa by the pixel width of a single tile to obtain the horizontal index number, and use the ordinate Divide the difference by the pixel height of a single tile to get the vertical index number, so as to get the horizontal index number and vertical index number of the tile where the two opposite vertices are located.
可选地,该装置还包括:预加载瓦片运算单元,适于根据地图可视区域的中心点的地理位置坐标及预加载级别计算至少一个预加载级别中与可视区域对应的预加载瓦片的编号;或,适于根据预加载级别与当前显示级别之间的级别差将当前显示级别下地图可视区域内的瓦片编号进行除法取整运算或乘法运算,计算至少一个预加载级别中与可视区域内的瓦片对应的预加载瓦片的编号;其中,所述预加载级别,为与当前显示级别的级别差在设置的范围内的至少一个级别。Optionally, the device further includes: a preloading tile computing unit, adapted to calculate the preloading tile corresponding to the visible area in at least one preloading level according to the geographic position coordinates of the center point of the visible area of the map and the preloading level or, suitable for performing division and rounding or multiplication on the tile numbers in the visible area of the map at the current display level according to the level difference between the preload level and the current display level to calculate at least one preload level The numbers of the preloaded tiles corresponding to the tiles in the visible area; wherein, the preloaded level is at least one level whose difference from the current display level is within a set range.
可选地,所述预加载瓦片运算单元适于根据地图可视区域的中心点的地理位置坐标及预加载级别,换算得到中心点的像素坐标;根据地图的预加载级别,得到预加载级别的单个瓦片的像素尺寸;根据地图可视区域的像素尺寸和中心点的像素坐标,得到地图可视区域的两个相对的顶点的像素坐标;以及根据地图可视区域的两个相对的顶点的像素坐标和预加载级别的单个瓦片的像素尺寸得到预加载级别中与可视区域对应的预加载瓦片的编号。Optionally, the preloading tile computing unit is adapted to convert the pixel coordinates of the center point according to the geographic location coordinates and the preloading level of the center point of the visible area of the map; obtain the preloading level according to the preloading level of the map The pixel size of a single tile; according to the pixel size of the visible area of the map and the pixel coordinates of the center point, the pixel coordinates of two opposite vertices of the visible area of the map are obtained; and according to the two opposite vertices of the visible area of the map The pixel coordinates of and the pixel dimensions of a single tile of the preload level get the number of the preload tile corresponding to the viewable area in the preload level.
可选地,若预加载级别高于当前显示级别,则所述预加载瓦片运算单元适于将当前显示级别下地图可视区域内的瓦片的横向索引编号和纵向索引编号分别除以m并取整,其中,m=2k,k为自然数,表示预加载级别和当前显示级别之间的级别差;若预加载级别低于当前显示级别,则所述预加载瓦片运算单元适于将当前显示级别下地图可视区域内的瓦片的横向索引编号和纵向索引编号分别乘p并根据乘法运算结果得到p个相邻的索引编号,其中,p=2q,q为自然数,表示当前显示级别和预加载级别之间的级别差。Optionally, if the preloading level is higher than the current display level, the preloading tile computing unit is adapted to divide the horizontal index number and the vertical index number of the tiles in the visible area of the map at the current display level by m And rounded, wherein, m= 2k , k is a natural number, indicating the level difference between the preloading level and the current display level; if the preloading level is lower than the current display level, then the preloading tile operation unit is suitable for Multiply the horizontal and vertical index numbers of tiles in the visible area of the map at the current display level by p and obtain p adjacent index numbers according to the multiplication results, where p=2 q , q is a natural number, indicating The level difference between the currently displayed level and the preloaded level.
可选地,所述地图可视区域的两个相对的顶点包括:地图可视区域的左上顶点和右下顶点,或,地图可视区域的右上顶点和左下顶点。Optionally, the two opposite vertices of the viewable map area include: an upper left vertex and a lower right vertex of the viewable map area, or, an upper right vertex and a lower left vertex of the viewable map area.
可选地,所述定点运算单元,进一步适于在接收到缩放地图的指令时,根据地图的缩放焦点中心的地理位置坐标及地图缩放之后的目标显示级别,换算得到缩放焦点中心的像素坐标;所述瓦片分析单元,进一步适于根据目标显示级别,得到目标显示级别下的单个瓦片的像素尺寸;所述顶点分析单元,进一步适于根据地图可视区域的像素尺寸和缩放焦点中心的像素坐标,得到地图缩放之后的可视区域的两个相对的顶点的像素坐标;所述瓦片运算单元,进一步适根据地图缩放之后的可视区域的两个相对的顶点的像素坐标和目标显示级别下的单个瓦片的像素尺寸得到地图缩放之后的可视区域内的瓦片的编号。Optionally, the fixed-point arithmetic unit is further adapted to convert to obtain the pixel coordinates of the zoom focus center according to the geographic location coordinates of the zoom focus center of the map and the target display level after the map is zoomed when receiving an instruction to zoom the map; The tile analysis unit is further adapted to obtain the pixel size of a single tile at the target display level according to the target display level; the vertex analysis unit is further adapted to obtain the pixel size of the visible area of the map and the zoom focus center The pixel coordinates obtain the pixel coordinates of two relative vertices of the visible area after the map is zoomed; The pixel dimensions of a single tile at a level get the number of tiles within the viewable area of the map after zooming.
根据本发明的另一方面,提供了一种计算电子地图可视区域内的瓦片的方法,该方法包括:根据地图可视区域的中心点的地理位置坐标及地图的当前显示级别,换算得到中心点的像素坐标;根据地图的当前显示级别,得到当前显示级别的单个瓦片的像素尺寸;根据地图可视区域的像素尺寸和中心点的像素坐标,得到地图可视区域的两个相对的顶点的像素坐标;以及根据地图可视区域的两个相对的顶点的像素坐标和当前显示级别的单个瓦片的像素尺寸得到可视区域内的瓦片编号。According to another aspect of the present invention, there is provided a method for calculating the tiles in the visible area of the electronic map, the method includes: according to the geographical location coordinates of the center point of the visible area of the map and the current display level of the map, the conversion is obtained The pixel coordinates of the center point; according to the current display level of the map, the pixel size of a single tile at the current display level is obtained; according to the pixel size of the visible area of the map and the pixel coordinates of the central point, two relative tiles of the visible area of the map are obtained The pixel coordinates of the vertices; and the tile number in the visible area according to the pixel coordinates of two opposite vertices in the visible area of the map and the pixel size of a single tile at the current display level.
可选地,所述根据地图可视区域的两个相对的顶点的像素坐标和需显示的单个瓦片的像素尺寸得到地图可视区域内的瓦片编号,包括:得到两个相对的顶点所在的瓦片的横向索引编号和纵向索引编号;以及选取位于两个相对的顶点所在的瓦片的横向索引编号之间的横向索引编号以及位于两个相对的顶点所在的瓦片的纵向索引编号之间的纵向索引编号,即得到地图可视区域内的瓦片编号;其中,所述得到两个相对的顶点所在的瓦片的横向索引编号和纵向索引编号,具体包括:对所述顶点分别利用顶点的像素坐标减去地图的原点的像素坐标得到横坐标的差值和纵坐标的差值,利用横坐标的差值除以单个瓦片的像素宽度得到横向索引编号,利用纵坐标的差值除以单个瓦片的像素高度得到纵向索引编号。Optionally, obtaining the tile numbers in the map visible area according to the pixel coordinates of two opposite vertices of the map visible area and the pixel size of a single tile to be displayed includes: obtaining the location of the two opposite vertices The horizontal index number and vertical index number of the tile; and the horizontal index number between the horizontal index numbers of the tiles where the two opposite vertices are located and the vertical index number between the vertical index numbers of the tiles where the two opposite vertices are located The vertical index number between them, that is, to obtain the tile number in the visible area of the map; wherein, the obtaining the horizontal index number and the vertical index number of the tile where the two opposite vertices are located specifically includes: respectively using the The pixel coordinates of the vertex minus the pixel coordinates of the origin of the map get the difference between the abscissa and the ordinate, divide the difference of the abscissa by the pixel width of a single tile to get the horizontal index number, and use the difference of the ordinate Divide by the pixel height of a single tile to get the vertical index number.
可选地,该方法还包括:根据地图可视区域的中心点的地理位置坐标及预加载级别计算至少一个预加载级别中与可视区域对应的预加载瓦片的编号;或根据预加载级别与当前显示级别之间的级别差将当前显示级别下地图可视区域内的瓦片编号进行除法取整运算或乘法运算,计算至少一个预加载级别中与可视区域内的瓦片对应的预加载瓦片的编号;其中,所述预加载级别,为与当前显示级别的级别差在设置的范围内的至少一个级别。Optionally, the method further includes: calculating the number of preloaded tiles corresponding to the visible area in at least one preloading level according to the geographic location coordinates of the central point of the visible area of the map and the preloading level; or according to the preloading level The level difference between the current display level and the tile numbers in the visible area of the map under the current display level are divided and rounded or multiplied, and the preloaded values corresponding to the tiles in the visible area in at least one preloaded level are calculated. The number of the tile to be loaded; wherein, the preloading level is at least one level that is different from the current display level within a set range.
可选地,所述根据地图可视区域的中心点的地理位置坐标及预加载级别计算至少一个预加载级别中与可视区域对应的预加载瓦片的编号,具体包括:根据地图可视区域的中心点的地理位置坐标及预加载级别,换算得到中心点的像素坐标;根据地图的预加载级别,得到预加载级别的单个瓦片的像素尺寸;根据地图可视区域的像素尺寸和中心点的像素坐标,得到地图可视区域的两个相对的顶点的像素坐标;以及根据地图可视区域的两个相对的顶点的像素坐标和预加载级别的单个瓦片的像素尺寸得到预加载级别中与可视区域对应的预加载瓦片的编号。Optionally, the calculating the number of preloaded tiles corresponding to the visible area in at least one preloading level according to the geographic location coordinates of the central point of the map visible area and the preloading level specifically includes: according to the map visible area The geographic location coordinates of the center point of the map and the preloading level are converted to obtain the pixel coordinates of the center point; according to the preloading level of the map, the pixel size of a single tile of the preloading level is obtained; according to the pixel size of the visible area of the map and the center point The pixel coordinates of the two opposite vertices of the visible area of the map are obtained; and the pixel coordinates of the two opposite vertices of the visible area of the map and the pixel size of a single tile of the preloaded level are obtained in the preloaded level The number of the preloaded tile corresponding to the viewable area.
可选地,所述根据预加载级别与当前显示级别之间的级别差将当前显示级别下地图可视区域内的瓦片的编号进行除法取整运算或乘法运算,包括:若预加载级别高于当前显示级别,则将当前显示级别下地图可视区域内的瓦片的横向索引编号和纵向索引编号分别除以m并取整,其中,m=2k,k为自然数,表示预加载级别和当前显示级别之间的级别差;若预加载级别低于当前显示级别,则将当前显示级别下地图可视区域内的瓦片的横向索引编号和纵向索引编号分别乘p并根据乘法运算结果得到p个相邻的索引编号,其中,p=2q,q为自然数,表示当前显示级别和预加载级别之间的级别差。Optionally, according to the level difference between the preloading level and the current display level, the numbers of the tiles in the visible area of the map under the current display level are divided and rounded or multiplied, including: if the preloading level is high At the current display level, divide the horizontal and vertical index numbers of the tiles in the visible area of the map at the current display level by m and round up, where m=2 k , k is a natural number, indicating the preloading level The difference between the level and the current display level; if the preload level is lower than the current display level, multiply the horizontal index number and vertical index number of the tile in the visible area of the map under the current display level by p and calculate the multiplication result Get p adjacent index numbers, where, p=2 q , q is a natural number, indicating the level difference between the current display level and the preloading level.
可选地,所述地图可视区域的两个相对的顶点包括:地图可视区域的左上顶点和右下顶点,或,地图可视区域的右上顶点和左下顶点。Optionally, the two opposite vertices of the viewable map area include: an upper left vertex and a lower right vertex of the viewable map area, or, an upper right vertex and a lower left vertex of the viewable map area.
可选地,该方法还包括:在接收到缩放地图的指令时,根据地图的缩放焦点中心的地理位置坐标及地图缩放之后的目标显示级别,换算得到缩放焦点中心的像素坐标;根据目标显示级别,得到目标显示级别下的单个瓦片的像素尺寸;根据地图可视区域的像素尺寸和缩放焦点中心的像素坐标,得到地图缩放之后的可视区域的两个相对的顶点的像素坐标;以及根据地图缩放之后的可视区域的两个相对的顶点的像素坐标和目标显示级别下的单个瓦片的像素尺寸得到地图缩放之后的可视区域内的瓦片的编号。Optionally, the method further includes: when receiving an instruction to zoom the map, convert to obtain the pixel coordinates of the zoom focus center according to the geographic location coordinates of the zoom focus center of the map and the target display level after the map is zoomed; , to get the pixel size of a single tile at the target display level; according to the pixel size of the visible area of the map and the pixel coordinates of the zoom focus center, to get the pixel coordinates of two opposite vertices of the visible area of the map after zooming; and according to The pixel coordinates of two opposite vertices of the viewable area after the map is zoomed and the pixel size of a single tile at the target display level obtain the number of the tiles in the viewable area after the map is zoomed.
根据本发明的计算电子地图可视区域内的瓦片的装置和计算电子地图可视区域内的瓦片的方法,通过地理位置坐标和显示级别而计算得到可视区域内的瓦片的编号,由此准确地计算可视区域内的瓦片的编号,解决了瓦片获取操作的准确率和操作速度不佳的问题。According to the device for calculating the tiles in the visible area of the electronic map and the method for calculating the tiles in the visible area of the electronic map according to the present invention, the numbers of the tiles in the visible area are calculated through the geographic location coordinates and the display level, In this way, the numbers of the tiles in the visible area are accurately calculated, and the problem of poor accuracy and operation speed of the tile acquisition operation is solved.
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention, it can be implemented according to the contents of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and understandable , the specific embodiments of the present invention are enumerated below.
附图说明Description of drawings
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiment. The drawings are only for the purpose of illustrating a preferred embodiment and are not to be considered as limiting the invention. Also throughout the drawings, the same reference numerals are used to designate the same parts. In the attached picture:
图1示出了根据本发明第一实施例的计算电子地图可视区域内的瓦片的方法的流程图;FIG. 1 shows a flowchart of a method for calculating tiles in a visible area of an electronic map according to a first embodiment of the present invention;
图2示出了图1中步骤S400的详细的流程图;FIG. 2 shows a detailed flowchart of step S400 in FIG. 1;
图3示出了根据本发明第二实施例的计算电子地图可视区域内的瓦片的方法的流程图;FIG. 3 shows a flow chart of a method for calculating tiles in the visible area of an electronic map according to a second embodiment of the present invention;
图4示出了图3中步骤S500’的详细的流程图;Fig. 4 shows the detailed flowchart of step S500' among Fig. 3;
图5示出了根据本发明第三实施例的计算电子地图可视区域内的瓦片的方法的流程图;FIG. 5 shows a flow chart of a method for calculating tiles in the visible area of an electronic map according to a third embodiment of the present invention;
图6示出了根据本发明第一实施例的计算电子地图可视区域内的瓦片的装置的框图;FIG. 6 shows a block diagram of an apparatus for calculating tiles within a visible area of an electronic map according to a first embodiment of the present invention;
图7示出了根据本发明第二实施例的计算电子地图可视区域内的瓦片的方法的框图;以及FIG. 7 shows a block diagram of a method for calculating tiles in the visible area of an electronic map according to a second embodiment of the present invention; and
图8示出了根据本发明而实现的电子地图客户端的示意图。Fig. 8 shows a schematic diagram of an electronic map client implemented according to the present invention.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
需要说明的是,电子地图瓦片,即栅格地图中的图片,这些图片按一定规则,拼接成一个完整的电子地图,将电子地图放大(参阅百度地图、腾讯地图等电子地图网络客户端,点击放大按钮即“+”按钮,可知电子地图技术领域中放大地图表示在相同的电子地图显示范围内显示的地理范围小,地理细节更详细),会显示较低级别的瓦片,本领域中较高级别的单个瓦片所表示的地图范围比较低级别的单个瓦片所表示的地图范围大,例如,相邻级别中较高级别(例如第16级)的一张瓦片相当于较低级别(例如第17级)四张瓦片所表示的地图范围,级别差为2的两个级别中,较高级别(例如第16级)的一张瓦片相当于较低级别(例如第18级)十六张瓦片所表示的地图范围。It should be noted that the electronic map tiles are the pictures in the grid map. These pictures are spliced into a complete electronic map according to certain rules, and the electronic map is enlarged (see Baidu map, Tencent map and other electronic map network clients, Click the zoom-in button, which is the "+" button, it can be seen that in the field of electronic map technology, zooming in on the map means that the geographical range displayed in the same electronic map display range is small, and the geographic details are more detailed), and lower-level tiles will be displayed. The map range represented by a single tile at a higher level is larger than that represented by a single tile at a lower level, for example, a tile at a higher level (such as level 16) in an adjacent level is equivalent to a lower level The map range represented by the four tiles of the level (for example, level 17). Among the two levels with a level difference of 2, one tile of the higher level (for example, level 16) is equivalent to the tile of the lower level (for example, level 18 Level) The map range represented by sixteen tiles.
图1示出了根据本发明第一实施例的计算电子地图可视区域内的瓦片的方法的流程图。该方法包括如下所述的步骤S100至步骤S400:Fig. 1 shows a flowchart of a method for calculating tiles in a visible area of an electronic map according to a first embodiment of the present invention. The method includes steps S100 to S400 as described below:
S100、根据地图可视区域的中心点的地理位置坐标及地图的当前显示级别,换算得到中心点的像素坐标。本实施例中,地图可视区域的中心点的地理位置坐标为经纬度坐标或者是将经纬度坐标经投影算法投影到平面地图上而得到的坐标,通过地理位置坐标及地图的当前显示级别,能够换算得到中心点的像素坐标(例如X-Y坐标)。S100. According to the geographic location coordinates of the center point of the visible area of the map and the current display level of the map, convert to obtain the pixel coordinates of the center point. In this embodiment, the geographic location coordinates of the central point of the visible area of the map are latitude and longitude coordinates or the coordinates obtained by projecting the latitude and longitude coordinates onto the planar map through a projection algorithm, and can be converted through the geographic location coordinates and the current display level of the map Get the pixel coordinates (eg X-Y coordinates) of the center point.
S200、根据地图的当前显示级别,得到当前显示级别的单个瓦片的像素尺寸。S200. Obtain the pixel size of a single tile at the current display level according to the current display level of the map.
较佳地,本实施例中,为了更详细全面地展现地图上的信息,电子地图的保存采用分级瓦片机制,将地图分为多个层级来保存,每个层级下存放相应的栅格地图瓦片,以两相邻显示级别下的瓦片为例,显示级别低的一显示级别下的四个相邻瓦片(即2×2的呈“田”字形的四个相邻瓦片)对应于显示级别高的一显示级别下的一个瓦片;以级别差为2的两层瓦片为例,显示级别低的一显示级别下的十六个相邻瓦片(即4×4的十六个相邻瓦片)对应于显示级别高的一显示级别下的一个瓦片。因此,不同级别下的单个瓦片的像素尺寸不同,根据地图的当前显示级别,能够得到当前显示级别的单个瓦片的像素尺寸,例如像素宽度和像素高度。Preferably, in this embodiment, in order to display the information on the map in more detail and comprehensively, the storage of the electronic map adopts a hierarchical tile mechanism, and the map is divided into multiple levels for storage, and the corresponding grid map is stored under each level Tiles, taking tiles under two adjacent display levels as an example, display four adjacent tiles under the lower display level (that is, four adjacent tiles in the shape of "Tian" in 2×2) Corresponds to a tile under a display level with a high display level; taking a two-layer tile with a level difference of 2 as an example, sixteen adjacent tiles under a display level with a low display level (that is, 4×4 Sixteen adjacent tiles) correspond to a tile under a display level with a higher display level. Therefore, the pixel size of a single tile at different levels is different. According to the current display level of the map, the pixel size of a single tile at the current display level, such as pixel width and pixel height, can be obtained.
S300、根据地图可视区域的像素尺寸和中心点的像素坐标,得到地图可视区域的两个相对的顶点的像素坐标。本实施例中,假设地图可视区域为方形而且像素尺寸是固定的,当然,即使可视区域的像素尺寸是可变的,本领域技术人员也可以检测得到可视区域的像素尺寸。本实施例中,地图可视区域的两个相对的顶点包括地图可视区域的左上顶点和右下顶点,或地图可视区域的右上顶点和左下顶点,通过两个相对的顶点即能够唯一地确定地图可视区域的范围。S300. According to the pixel size of the visible area of the map and the pixel coordinates of the center point, obtain the pixel coordinates of two opposite vertices of the visible area of the map. In this embodiment, it is assumed that the visible area of the map is square and the pixel size is fixed. Of course, even if the pixel size of the visible area is variable, those skilled in the art can detect the pixel size of the visible area. In this embodiment, the two opposite vertices of the map visible area include the upper left vertex and the lower right vertex of the map visible area, or the upper right vertex and the lower left vertex of the map visible area, through which two relative vertices can uniquely Determines the extent of the visible area of the map.
S400、根据地图可视区域的两个相对的顶点的像素坐标和当前显示级别的单个瓦片的像素尺寸得到可视区域内的瓦片编号。S400. Obtain the tile number in the visible area according to the pixel coordinates of two opposite vertices in the visible area of the map and the pixel size of a single tile at the current display level.
根据投影原理,缩放前后的两地图中有重叠的点表示相同的地理位置,本实施例将地图缩放前后所表示的地理位置不变的点定义为缩放焦点中心,根据缩放焦点中心的地理位置坐标(即经纬度坐标)及地图缩放之后的目标显示级别,能够得到缩放焦点中心的像素坐标(例如,X-Y坐标)。本实施例的缩放焦点中心,在接收到使用者通过鼠标滚轮输入的缩放地图指令时能够是鼠标的位置,或者在接收到使用者通过页面按钮(如“+”、“-”号按钮)输入的缩放地图指令时能够是地图的中心。基于缩放焦点中心计算地图缩放之后的可视区域内的瓦片的编号,能够简化计算流程和减小计算量。According to the principle of projection, overlapping points in the two maps before and after zooming represent the same geographic location. In this embodiment, the point whose geographic location remains unchanged before and after the zooming of the map is defined as the zoom focus center. According to the geographic location coordinates of the zoom focus center (that is, longitude and latitude coordinates) and the target display level after the map is zoomed, the pixel coordinates (for example, X-Y coordinates) of the center of the zoom focus can be obtained. The zoom focus center of this embodiment can be the position of the mouse when receiving the zoom map instruction input by the user through the mouse wheel, or when receiving the user input through the page buttons (such as "+" and "-") The zoom map command can be the center of the map. Calculating the numbers of the tiles in the visible area after the map is zoomed based on the zoom focus center can simplify the calculation process and reduce the calculation amount.
因此,本实施例的方法还包括以下步骤,以在接收到使用者输入的缩放地图指令时,计算地图缩放之后的可视区域内的瓦片的编号:在接收到缩放地图的指令时,根据地图的缩放焦点中心的地理位置坐标及地图缩放之后的目标显示级别,换算得到缩放焦点中心的像素坐标;根据目标显示级别,得到目标显示级别下的单个瓦片的像素尺寸;根据地图可视区域的像素尺寸和缩放焦点中心的像素坐标,得到地图缩放之后的可视区域的两个相对的顶点的像素坐标;以及根据地图缩放之后的可视区域的两个相对的顶点的像素坐标和目标显示级别下的单个瓦片的像素尺寸得到地图缩放之后的可视区域内的瓦片的编号。Therefore, the method of this embodiment further includes the following steps, to calculate the number of tiles in the visible area after the map is zoomed when receiving the zoom map instruction input by the user: when receiving the zoom map instruction, according to The geographic location coordinates of the zoom focus center of the map and the target display level after zooming the map are converted to obtain the pixel coordinates of the zoom focus center; according to the target display level, the pixel size of a single tile at the target display level is obtained; according to the visible area of the map The pixel size of the pixel size and the pixel coordinates of the center of the zoom focus to obtain the pixel coordinates of the two opposite vertices of the visible area after the map is zoomed; and the pixel coordinates and target display of the two opposite vertices of the visible area after the map is zoomed The pixel dimensions of a single tile at a level get the number of tiles within the viewable area of the map after zooming.
图2示出了图1中步骤S400的详细的流程图。包括如下所述的步骤S410和步骤S420:FIG. 2 shows a detailed flowchart of step S400 in FIG. 1 . Including steps S410 and S420 as described below:
S410、得到两个相对的顶点所在的瓦片的横向索引编号和纵向索引编号。具体是对所述两个相对的顶点分别利用顶点的像素坐标减去地图的原点的像素坐标,得到横坐标(例如,X-Y坐标系的X坐标)的差值和纵坐标(例如,X-Y坐标系的Y坐标)的差值;进一步地利用横坐标的差值除以单个瓦片的像素宽度得到横向索引编号,利用纵坐标的差值除以单个瓦片的像素高度得到纵向索引编号。S410. Obtain horizontal index numbers and vertical index numbers of tiles where two opposite vertices are located. Specifically, the pixel coordinates of the vertices are used to subtract the pixel coordinates of the origin of the map from the two opposite vertices to obtain the difference between the abscissa (for example, the X coordinate of the X-Y coordinate system) and the ordinate (for example, the X-Y coordinate system The difference between Y coordinates); further divide the difference in abscissa by the pixel width of a single tile to obtain the horizontal index number, and divide the difference in ordinate by the pixel height of a single tile to obtain the vertical index number.
S420、选取位于两个相对的顶点所在的瓦片的横向索引编号之间的横向索引编号(包括两个相对的顶点所在的瓦片的横向索引编号)以及位于两个相对的顶点所在的瓦片的纵向索引编号之间的纵向索引编号(包括两个相对的顶点所在的瓦片的纵向索引编号),即得到地图可视区域内的瓦片编号。通过步骤S420,得到方形可视区域内的瓦片的编号。S420. Select the horizontal index numbers between the horizontal index numbers of the tiles where the two opposing vertices are located (including the horizontal index numbers of the tiles where the two opposing vertices are located) and the tiles where the two opposing vertices are located The vertical index numbers between the vertical index numbers (including the vertical index numbers of the tiles where the two opposite vertices are located), that is, the tile numbers in the visible area of the map. Through step S420, the serial numbers of the tiles in the square viewable area are obtained.
图3示出了根据本发明第二实施例的计算电子地图可视区域内的瓦片的方法的流程图。第二实施例包括步骤S100’至步骤S500’,其中步骤S100’至步骤S400’分别与第一实施例的步骤S100至步骤S400相同,不再赘述。Fig. 3 shows a flowchart of a method for calculating tiles in a visible area of an electronic map according to a second embodiment of the present invention. The second embodiment includes step S100' to step S500', wherein step S100' to step S400' are respectively the same as step S100 to step S400 in the first embodiment, and will not be repeated here.
步骤S500’为:根据地图可视区域的中心点的地理位置坐标及预加载级别计算至少一个预加载级别中与可视区域对应的预加载瓦片的编号。预加载级别为与当前显示级别的级别差在设置的范围内的至少一个级别,例如,假定当前显示级别为第10级,若设置的范围为比当前显示级别高最多3级以及比当前显示级别低最多2级,则预加载级别包括比第10级高的第9级、第8级和第7级以及比第10级低的第11级和第12级。Step S500' is: calculate the number of preloaded tiles corresponding to the visible area in at least one preloaded level according to the geographic location coordinates of the center point of the visible area of the map and the preloaded level. The preload level is at least one level that is different from the current display level within the set range. For example, assuming that the current display level is level 10, if the set range is at most 3 levels higher than the current display level and higher than the current display level 2 levels lower, the preload levels include levels 9, 8, and 7 higher than level 10, and levels 11 and 12 lower than level 10.
图4示出了图3中步骤S500’的详细的流程图。步骤S500’包括如下所述的步骤S510’至步骤S540’:Fig. 4 shows a detailed flowchart of step S500' in Fig. 3 . Step S500' includes steps S510' to S540' as follows:
S510’、根据地图可视区域的中心点的地理位置坐标及预加载级别,换算得到中心点的像素坐标。本实施例中,地图可视区域的中心点的地理位置坐标为经纬度坐标或者是将经纬度坐标经投影算法投影到平面地图上而得到的坐标,通过地理位置坐标及预加载级别,能够换算得到在预加载显示级别下的中心点的像素坐标(例如X-Y坐标)。S510'. According to the geographic location coordinates and the preloading level of the center point of the visible area of the map, convert to obtain the pixel coordinates of the center point. In this embodiment, the geographic location coordinates of the central point of the visible area of the map are latitude and longitude coordinates or the coordinates obtained by projecting the latitude and longitude coordinates onto the planar map through a projection algorithm. Pixel coordinates (e.g. X-Y coordinates) of the center point at the preloaded display level.
S520’、根据地图的预加载级别,得到预加载级别的单个瓦片的像素尺寸。根据地图的预加载级别,能够得到预加载级别的单个瓦片的像素尺寸,例如像素宽度和像素高度。S520'. According to the preloading level of the map, obtain the pixel size of a single tile of the preloading level. According to the preloading level of the map, the pixel size of a single tile at the preloading level can be obtained, such as pixel width and pixel height.
S530’、根据地图可视区域的像素尺寸和中心点的像素坐标,得到地图可视区域的两个相对的顶点的像素坐标。地图可视区域的两个相对的顶点包括地图可视区域的左上顶点和右下顶点,或地图可视区域的右上顶点和左下顶点,通过两个相对的顶点即能够唯一地确定地图可视区域的范围。S530'. According to the pixel size of the map visible area and the pixel coordinates of the center point, obtain the pixel coordinates of two opposite vertices of the map visible area. The two opposite vertices of the visible area of the map include the upper left vertex and the lower right vertex of the visible area of the map, or the upper right vertex and the lower left vertex of the visible area of the map. The visible area of the map can be uniquely determined by two opposite vertices range.
S540’、根据地图可视区域的两个相对的顶点的像素坐标和预加载级别的单个瓦片的像素尺寸得到预加载级别中与可视区域对应的预加载瓦片的编号。实现步骤S540’的具体方法与图2所示的步骤S410、S420类似,不再赘述。S540', according to the pixel coordinates of two opposite vertices of the visible area of the map and the pixel size of a single tile of the preloaded level, obtain the serial number of the preloaded tile corresponding to the visible area in the preloaded level. The specific method for implementing step S540' is similar to steps S410 and S420 shown in FIG. 2 , and will not be repeated here.
进一步地,上述步骤S500’,还包括根据得到的预加载瓦片的编号,得到预加载级别下预加载瓦片周边的瓦片的编号的操作。具体地是将得到的横向索引编号和纵向索引编号进行适当的扩展。Further, the above step S500' also includes the operation of obtaining the numbers of the tiles around the preloaded tiles at the preloaded level according to the obtained numbers of the preloaded tiles. Specifically, the obtained horizontal index numbers and vertical index numbers are appropriately expanded.
图5示出了根据本发明第三实施例的计算电子地图可视区域内的瓦片的方法的流程图。第三实施例包括步骤S100’’至步骤S500’’,其中步骤S100’’至步骤S400’’分别与第一实施例的步骤S100至步骤S400相同,不再赘述。Fig. 5 shows a flowchart of a method for calculating tiles in a visible area of an electronic map according to a third embodiment of the present invention. The third embodiment includes step S100'' to step S500'', wherein step S100'' to step S400'' are respectively the same as step S100 to step S400 in the first embodiment, and will not be repeated here.
步骤S500’’为:根据预加载级别与当前显示级别之间的级别差将当前显示级别下地图可视区域内的瓦片编号进行除法取整运算或乘法运算,计算至少一个预加载级别中与可视区域内的瓦片对应的预加载瓦片的编号。预加载级别为与当前显示级别的级别差在设置的范围内的至少一个级别。Step S500'' is: according to the level difference between the preloading level and the current display level, perform division and rounding or multiplication on the tile numbers in the visible area of the map at the current display level, and calculate the difference between at least one preloading level and The number of the preloaded tile corresponding to the tile in the visible area. The preloading level is at least one level whose level difference from the current display level is within a set range.
具体地,步骤S500’’中的根据预加载级别与当前显示级别之间的级别差将当前显示级别下地图可视区域内的瓦片编号进行除法取整运算或乘法运算包括:若预加载级别高于当前显示级别,则将当前显示级别下地图可视区域内的瓦片的横向索引编号和纵向索引编号分别除以m并取整。本领域技术人员能够了解的是,具体的取整算法,可以根据瓦片切分原点的索引编号而选择,若瓦片切分原点的索引编号为零,则向下取整即可(类似floor函数),否则向上取整(类似ceiling函数)。其中,m=2k,k为自然数,表示预加载级别和当前显示级别之间的级别差。若预加载级别低于当前显示级别,则将当前显示级别下地图可视区域内的瓦片的横向索引编号和纵向索引编号分别乘p并根据乘法运算结果得到p个相邻的索引编号,具体方法是与上述取整算法对应的,其中,p=2q,q为自然数,表示当前显示级别和预加载级别之间的级别差。与第二实施例的步骤S500’相比,第三实施例的步骤S500’’在保证准确率的同时降低运算复杂度。Specifically, in step S500'', according to the level difference between the preloading level and the current display level, the division and rounding or multiplication of the tile numbers in the visible area of the map at the current display level includes: if the preloading level If it is higher than the current display level, divide the horizontal and vertical index numbers of the tiles in the visible area of the map at the current display level by m and round up. Those skilled in the art can understand that the specific rounding algorithm can be selected according to the index number of the origin of tile segmentation. If the index number of the origin of tile segmentation is zero, it can be rounded down (similar to floor function), otherwise it is rounded up (similar to the ceiling function). Wherein, m=2 k , k is a natural number, representing the level difference between the preloading level and the current display level. If the preloading level is lower than the current display level, multiply the horizontal and vertical index numbers of the tiles in the visible area of the map at the current display level by p and obtain p adjacent index numbers according to the multiplication results. The method is corresponding to the above-mentioned rounding algorithm, wherein, p=2 q , and q is a natural number, indicating the level difference between the current display level and the preloading level. Compared with step S500' of the second embodiment, step S500'' of the third embodiment reduces computational complexity while ensuring accuracy.
进一步地,上述步骤S500’’,还包括根据得到的预加载瓦片的编号,得到预加载级别下预加载瓦片周边的瓦片的编号的操作。具体地是将得到的横向索引编号和纵向索引编号进行适当的扩展。Further, the above step S500'' also includes the operation of obtaining the serial numbers of the tiles around the preloaded tiles at the preloaded level according to the obtained serial numbers of the preloaded tiles. Specifically, the obtained horizontal index numbers and vertical index numbers are appropriately expanded.
需要说明的是,若预加载级别高于当前显示级别,则各预加载瓦片所对应的地理面积大于各目标瓦片所对应的地理面积且为各目标瓦片所对应的地理面积的n倍,n=4k,k为自然数,表示预加载显示级别和目标显示级别之间的级别差。若预加载级别低于当前显示级别,则各预加载瓦片所对应的地理面积小于各目标瓦片所对应的地理面积且为各目标瓦片所对应的地理面积的1/r,其中,r=4q,q为自然数,表示当前显示级别和预加载级别之间的级别差。It should be noted that if the preloading level is higher than the current display level, the geographic area corresponding to each preloading tile is larger than the geographic area corresponding to each target tile and is n times the geographic area corresponding to each target tile , n=4 k , k is a natural number, representing the level difference between the preloading display level and the target display level. If the preload level is lower than the current display level, the geographic area corresponding to each preload tile is smaller than the geographic area corresponding to each target tile and is 1/r of the geographic area corresponding to each target tile, where r =4 q , q is a natural number, indicating the level difference between the current display level and the preloaded level.
进一步地,以下结合电子地图加载显示的操作,说明本发明第二实施例的步骤S500’和第三实施例的步骤S500’’通过计算预加载瓦片的编号所实现的技术效果,具体是降低电子地图客户端缩放或平移电子地图时电子显示窗口存在空白的概率的技术效果。Further, in conjunction with the operation of loading and displaying the electronic map, the technical effect achieved by calculating the number of preloaded tiles in step S500' of the second embodiment of the present invention and step S500'' of the third embodiment of the present invention, specifically reducing The technical effect of the probability that the electronic display window is blank when the electronic map client zooms or pans the electronic map.
如果在一段足够长的时间范围上分析电子地图客户端加载瓦片的请求的数量与时间的关系,往往会发现,在一些时间段内加载瓦片的请求数量少(空闲时间段,idle-time partition),而在较短一些时间段内加载瓦片的请求数量多,通过计算预加载瓦片的编号,电子地图客户端能够在空闲时间段内调用空闲线程预加载上述部分或全部预加载瓦片。If you analyze the relationship between the number of requests for loading tiles and the time of the electronic map client in a long enough time range, you will often find that the number of requests for loading tiles in some time periods is small (idle time period, idle-time partition), and there are many requests to load tiles in a relatively short period of time. By calculating the number of preloaded tiles, the electronic map client can call the idle thread to preload some or all of the above preloaded tiles during the idle time period. piece.
进一步地,电子地图客户端在接收到使用者输入的电子地图交互指示并针对交互指示缩放或平移电子地图时,通过计算响应完成(例如完成地图放大操作)后的目标显示级别(若地图平移,目标显示级别为当前显示级别),加载和渲染显示目标显示级别下的目标瓦片。若目标瓦片构成的集合中存在已加载的上述预加载瓦片,则整体响应速度得以提高。Furthermore, when the electronic map client receives the electronic map interaction instruction input by the user and zooms or pans the electronic map according to the interactive instruction, it calculates the target display level after the response is completed (for example, the map zoom-in operation is completed) (if the map is panned, The target display level is the current display level), load and render to display the target tiles under the target display level. If the above-mentioned preloaded tiles already loaded exist in the set of target tiles, the overall response speed is improved.
更进一步地,可以计算比目标显示级别高的模糊级别,选取模糊级别中与目标瓦片对应的模糊瓦片,将模糊瓦片放大地显示得到清晰度较低的地图,获取目标级别瓦片后,加载并显示所述目标级别瓦片以替换对应位置的放大模糊瓦片得到清晰的地图。由于模糊瓦片的整体数量小于所述目标瓦片的整体数量,因此响应速度更快。如果模糊瓦片构成的集合中存在已加载的上述预加载瓦片,则整体响应速度得以进一步提高,本领域技术人员容易了解,在地图放大或平移时,使用上述预加载瓦片的概率较高。因此,本发明第二实施例的步骤S500’和第三实施例的步骤S500’’通过计算预加载瓦片的编号降低电子地图客户端缩放或平移电子地图时电子显示窗口存在空白的概率。Furthermore, it is possible to calculate a blur level higher than the target display level, select the blur tile corresponding to the target tile in the blur level, and enlarge the blur tile to obtain a lower-definition map. After obtaining the target level tile , load and display the target level tiles to replace the enlarged blurry tiles at the corresponding positions to obtain a clear map. Since the overall number of blur tiles is smaller than the overall number of target tiles, the response speed is faster. If there are already loaded preloaded tiles in the set of fuzzy tiles, the overall response speed will be further improved. Those skilled in the art can easily understand that when the map is zoomed in or panned, the probability of using the above preloaded tiles is high . Therefore, step S500' in the second embodiment of the present invention and step S500'' in the third embodiment of the present invention reduce the probability that the electronic display window is blank when the electronic map client zooms or pans the electronic map by calculating the number of preloaded tiles.
图6示出了根据本发明第一实施例的计算电子地图可视区域内的瓦片的装置的框图。该装置包括定点运算单元100、瓦片分析单元200、顶点分析单元400和瓦片运算单元400。Fig. 6 shows a block diagram of an apparatus for calculating tiles in a visible area of an electronic map according to a first embodiment of the present invention. The device includes a fixed
定点运算单元100,适于根据地图可视区域的中心点的地理位置坐标及地图的当前显示级别,换算得到中心点的像素坐标。本实施例中,地图可视区域的中心点的地理位置坐标为经纬度坐标或者是将经纬度坐标经投影算法投影到平面地图上的坐标,定点运算单元100通过地理位置坐标及地图的当前显示级别,能够换算得到中心点的像素坐标(例如X-Y坐标)。The fixed-
瓦片分析单元200,适于根据地图的当前显示级别,得到当前显示级别的单个瓦片的像素尺寸。本实施例中,不同级别下的单个瓦片的像素尺寸不同,瓦片分析单元200根据地图的当前显示级别,能够得到当前显示级别的单个瓦片的像素尺寸,例如像素宽度和像素高度。The
顶点分析单元300,适于根据地图可视区域的像素尺寸和中心点的像素坐标,得到地图可视区域的两个相对的顶点的像素坐标。本实施例的地图可视区域的两个相对的顶点包括:地图可视区域的左上顶点和右下顶点,或,地图可视区域的右上顶点和左下顶点,通过两个相对的顶点即能够唯一地确定地图可视区域的范围。The
瓦片运算单元400,适于根据地图可视区域的两个相对的顶点的像素坐标和当前显示级别的单个瓦片的像素尺寸得到可视区域内的瓦片编号。The
本实施例的顶点分析单元300,适于得到两个相对的顶点所在的瓦片的横向索引编号和纵向索引编号;瓦片运算单元400,适于选取位于两个相对的顶点所在的瓦片的横向索引编号之间的横向索引编号以及位于两个相对的顶点所在的瓦片的纵向索引编号之间的纵向索引编号,即得到地图可视区域内的瓦片编号。The
更具体地,顶点分析单元300,适于对所述顶点分别利用顶点的像素坐标减去地图的原点的像素坐标得到横坐标(例如,X-Y坐标系的X坐标)的差值和纵坐标(例如,X-Y坐标系的Y坐标)的差值,利用横坐标的差值除以单个瓦片的像素宽度得到横向索引编号,利用纵坐标的差值除以单个瓦片的像素高度得到纵向索引编号,从而得到两个相对的顶点所在的瓦片的横向索引编号和纵向索引编号。More specifically, the
根据投影原理,缩放前后的两地图中有重叠的点表示相同的地理位置,本实施例的缩放焦点中心为地图缩放前后所表示的地理位置不变的点,定点运算单元100根据缩放焦点中心的地理位置坐标(即经纬度坐标)及地图缩放之后的目标显示级别,能够得到缩放焦点中心的像素坐标(例如,X-Y坐标)。基于缩放焦点中心计算地图缩放之后的可视区域内的瓦片的编号,能够简化计算流程和减小计算量。According to the principle of projection, overlapping points in the two maps before and after zooming represent the same geographic location. The zoom focus center in this embodiment is a point whose geographic location remains unchanged before and after zooming the map. The geographic location coordinates (that is, latitude and longitude coordinates) and the target display level after the map is zoomed can obtain the pixel coordinates (for example, X-Y coordinates) of the zoom focus center. Calculating the numbers of the tiles in the visible area after the map is zoomed based on the zoom focus center can simplify the calculation process and reduce the calculation amount.
所以本实施例中,定点运算单元100,进一步适于在接收到缩放地图的指令时,根据地图的缩放焦点中心的地理位置坐标及地图缩放之后的目标显示级别,换算得到缩放焦点中心的像素坐标。瓦片分析单元200,进一步适于根据目标显示级别,得到目标显示级别下的单个瓦片的像素尺寸。顶点分析单元300,进一步适于根据地图可视区域的像素尺寸和缩放焦点中心的像素坐标,得到地图缩放之后的可视区域的两个相对的顶点的像素坐标。瓦片运算单元400,进一步适根据地图缩放之后的可视区域的两个相对的顶点的像素坐标和目标显示级别下的单个瓦片的像素尺寸得到地图缩放之后的可视区域内的瓦片的编号。Therefore, in this embodiment, the fixed-point
图7示出了根据本发明第二实施例的计算电子地图可视区域内的瓦片的方法的框图。本发明第二实施例与上述第一实施例大致相同,不同之处在于还包括预加载瓦片计算单元500。Fig. 7 shows a block diagram of a method for calculating tiles in a visible area of an electronic map according to a second embodiment of the present invention. The second embodiment of the present invention is substantially the same as the above-mentioned first embodiment, except that a preloaded tile calculation unit 500 is further included.
预加载瓦片运算单元500,适于计算预加载级别中的预加载瓦片的编号,其中预加载级别,为与当前显示级别的级别差在设置的范围内的至少一个级别。本实施例的预加载瓦片运算单元500存在两种具体实施方式,第一种具体实施方式是根据地图可视区域的中心点的地理位置坐标及预加载级别计算至少一个预加载级别中与地图可视区域对应的预加载瓦片的编号。具体地,预加载瓦片运算单元500根据地图可视区域的中心点的地理位置坐标及预加载级别,换算得到中心点的像素坐标;根据地图的预加载级别,得到预加载级别的单个瓦片的像素尺寸;根据地图可视区域的像素尺寸和中心点的像素坐标,得到地图可视区域的两个相对的顶点的像素坐标;以及根据地图可视区域的两个相对的顶点的像素坐标和预加载级别的单个瓦片的像素尺寸得到预加载级别中与可视区域对应的预加载瓦片的编号。The preloading tile operation unit 500 is adapted to calculate the number of the preloading tile in the preloading level, wherein the preloading level is at least one level whose level difference from the current display level is within a set range. There are two specific implementations of the preloading tile computing unit 500 in this embodiment. The first specific implementation is to calculate at least one preloading level and map The number of the preloaded tile corresponding to the visible area. Specifically, the preloading tile computing unit 500 converts the pixel coordinates of the center point according to the geographic location coordinates and the preloading level of the center point of the visible area of the map; obtains a single tile of the preloading level according to the preloading level of the map The pixel size of the map; according to the pixel size of the visible area of the map and the pixel coordinates of the central point, the pixel coordinates of the two opposite vertices of the visible area of the map are obtained; and according to the pixel coordinates of the two opposite vertices of the visible area of the map and The pixel dimensions of a single tile of a preload level get the number of the preload tile corresponding to the viewable area in the preload level.
所述地图可视区域的两个相对的顶点包括:地图可视区域的左上顶点和右下顶点,或,地图可视区域的右上顶点和左下顶点,通过两个相对的顶点即能够唯一地确定地图可视区域的范围。The two relative vertices of the map visible area include: the upper left vertex and the lower right vertex of the map visible area, or the upper right vertex and the lower left vertex of the map visible area, which can be uniquely determined by the two relative vertices The extent of the visible area of the map.
本实施例的预加载瓦片运算单元500的第二种具体实施方式是根据预加载级别与当前显示级别之间的级别差将当前显示级别下地图可视区域内的瓦片编号进行除法取整运算或乘法运算,计算至少一个预加载级别中与可视区域内的瓦片对应的预加载瓦片的编号。具体地,若预加载级别高于当前显示级别,则预加载瓦片运算单元500适于将当前显示级别下地图可视区域内的瓦片的横向索引编号和纵向索引编号分别除以m并取整,其中,m=2k,k为自然数,表示预加载级别和当前显示级别之间的级别差;若预加载级别低于当前显示级别,则预加载瓦片运算单元500适于将当前显示级别下地图可视区域内的瓦片的横向索引编号和纵向索引编号分别乘p并根据乘法运算结果得到p个相邻的索引编号,其中,p=2q,q为自然数,表示当前显示级别和预加载级别之间的级别差。The second specific implementation of the preloading tile computing unit 500 in this embodiment is to divide and round the tile numbers in the visible area of the map at the current display level according to the level difference between the preloading level and the current display level An operation or a multiplication operation to calculate the number of the preloaded tile corresponding to the tile in the viewable area in at least one preloaded level. Specifically, if the preload level is higher than the current display level, the preload tile computing unit 500 is adapted to divide the horizontal index numbers and vertical index numbers of the tiles in the visible area of the map at the current display level by m and take Integer, wherein, m=2 k , k is a natural number, representing the level difference between the preloading level and the current display level; if the preloading level is lower than the current display level, the preloading tile computing unit 500 is suitable for converting The horizontal and vertical index numbers of the tiles in the visible area of the map under the level are multiplied by p respectively, and p adjacent index numbers are obtained according to the result of the multiplication operation, where, p=2 q , q is a natural number, indicating the current display level and the level difference between the preloaded level.
进一步地,上述预加载瓦片运算单元500,进一步根据得到的预加载瓦片的编号,得到预加载级别下预加载瓦片周边的瓦片的编号。具体地是将得到的横向索引编号和纵向索引编号进行适当的扩展。Further, the above-mentioned preloading tile calculation unit 500 further obtains the numbers of tiles around the preloading tile at the preloading level according to the obtained numbering of the preloading tiles. Specifically, the obtained horizontal index numbers and vertical index numbers are appropriately expanded.
图8示出了根据本发明而实现的电子地图客户端的示意图。通过本发明的计算电子地图可视区域内的瓦片的装置和计算电子地图可视区域内的瓦片的方法,电子地图客户端获取瓦片的准确率更好,获取瓦片的速度更快,对图片进行缩放和平移操作的响应速度更快。Fig. 8 shows a schematic diagram of an electronic map client implemented according to the present invention. Through the device for calculating the tiles in the visible area of the electronic map and the method for calculating the tiles in the visible area of the electronic map of the present invention, the accuracy of the tiles obtained by the electronic map client is better, and the speed of obtaining tiles is faster , zooming and panning the image is more responsive.
需要说明的是:It should be noted:
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other device. Various generic systems can also be used with the teachings based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not specific to any particular programming language. It should be understood that various programming languages can be used to implement the content of the present invention described herein, and the above description of specific languages is for disclosing the best mode of the present invention.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure the understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, in order to streamline this disclosure and to facilitate an understanding of one or more of the various inventive aspects, various features of the invention are sometimes grouped together in a single embodiment, figure, or its description. This method of disclosure, however, is not to be interpreted as reflecting an intention that the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art can understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. Modules or units or components in the embodiments may be combined into one module or unit or component, and furthermore may be divided into a plurality of sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings), as well as any method or method so disclosed, may be used in any combination, except that at least some of such features and/or processes or units are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will understand that although some embodiments described herein include some features included in other embodiments but not others, combinations of features from different embodiments are meant to be within the scope of the invention. and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的计算电子地图可视区域内的瓦片的设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) can be used in practice to implement some or all of the components in the device for calculating tiles in the visible area of an electronic map according to an embodiment of the present invention some or all of the features. The present invention can also be implemented as an apparatus or an apparatus program (for example, a computer program and a computer program product) for performing a part or all of the methods described herein. Such a program for realizing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such a signal may be downloaded from an Internet site, or provided on a carrier signal, or provided in any other form.
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.
Claims (10)
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310744408.5A CN103699439B (en) | 2013-12-30 | 2013-12-30 | A kind of device and method calculating the tile in electronic map visible area |
US15/108,969 US9728167B2 (en) | 2013-12-30 | 2014-09-23 | Device and method for controlling electronic map |
PCT/CN2014/087173 WO2015101070A1 (en) | 2013-12-30 | 2014-09-23 | Device and method for controlling electronic map |
US15/666,245 US9972285B2 (en) | 2013-12-30 | 2017-08-01 | Device and method for controlling electronic map |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310744408.5A CN103699439B (en) | 2013-12-30 | 2013-12-30 | A kind of device and method calculating the tile in electronic map visible area |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103699439A true CN103699439A (en) | 2014-04-02 |
CN103699439B CN103699439B (en) | 2019-03-05 |
Family
ID=50360978
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310744408.5A Active CN103699439B (en) | 2013-12-30 | 2013-12-30 | A kind of device and method calculating the tile in electronic map visible area |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103699439B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015101070A1 (en) * | 2013-12-30 | 2015-07-09 | 北京奇虎科技有限公司 | Device and method for controlling electronic map |
CN105677771A (en) * | 2015-12-30 | 2016-06-15 | 中国地质大学(武汉) | Network map pre-loading method based on spatial calculation domain similarity match |
WO2016131390A1 (en) * | 2015-02-16 | 2016-08-25 | 高德软件有限公司 | Electronic map display method, apparatus and electronic device |
CN107506489A (en) * | 2017-09-22 | 2017-12-22 | 广西灵图信息科技有限公司 | A kind of method that Large Copacity JPG pictures are checked in Android and apple system |
CN107977407A (en) * | 2017-11-20 | 2018-05-01 | 深圳市科比特航空科技有限公司 | tile map storage method, device, storage medium and computer equipment |
WO2019179237A1 (en) * | 2018-03-22 | 2019-09-26 | 杭州海康威视系统技术有限公司 | Satellite-view electronic map acquisition method and device, apparatus, and storage medium |
CN110347769A (en) * | 2019-07-09 | 2019-10-18 | 东方网力科技股份有限公司 | Processing method, device, equipment and the storage medium of multi-layer map tile |
CN111651654A (en) * | 2019-11-12 | 2020-09-11 | 广东融合通信股份有限公司 | Method for capturing satellite map of target area through network |
CN111915488A (en) * | 2020-08-05 | 2020-11-10 | 成都圭目机器人有限公司 | Method for generating high-performance image tile map under big data |
CN111935331A (en) * | 2020-07-30 | 2020-11-13 | 重庆智载科技有限公司 | Network space mapping method, visualization method and system |
CN114061599A (en) * | 2020-07-31 | 2022-02-18 | 华为技术有限公司 | Navigation positioning method, electronic equipment and navigation positioning system |
CN114333097A (en) * | 2021-12-16 | 2022-04-12 | 上海海神机器人科技有限公司 | Linkage type camera shooting security protection warning system and monitoring method |
CN114661839A (en) * | 2022-01-12 | 2022-06-24 | 中国人民解放军32200部队 | Tile-based track map display method, device, medium and equipment |
CN115375868A (en) * | 2022-10-25 | 2022-11-22 | 阿里巴巴(中国)有限公司 | Map display method, remote sensing map display method, computing device and storage medium |
CN117974925A (en) * | 2024-02-29 | 2024-05-03 | 武汉天恒信息技术有限公司 | Method, device, equipment and medium for desensitizing plot coordinate data |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102254312A (en) * | 2011-07-08 | 2011-11-23 | 国电南瑞科技股份有限公司 | Method for splicing geographical tile graphs |
CN102819671A (en) * | 2012-07-25 | 2012-12-12 | 深圳市网信联动技术有限公司 | Method for carrying out data analysis by combining map |
-
2013
- 2013-12-30 CN CN201310744408.5A patent/CN103699439B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102254312A (en) * | 2011-07-08 | 2011-11-23 | 国电南瑞科技股份有限公司 | Method for splicing geographical tile graphs |
CN102819671A (en) * | 2012-07-25 | 2012-12-12 | 深圳市网信联动技术有限公司 | Method for carrying out data analysis by combining map |
Non-Patent Citations (2)
Title |
---|
周沛: "智能交通系统中的瓦片地图技术研究与应用", 《中国优秀硕士学位论文全文数据库》, no. 07, 15 July 2008 (2008-07-15) * |
汪林林等: "基于Flex的RIA WebGIS研究与实现", 《计算机应用》, vol. 28, no. 12, 31 December 2008 (2008-12-31) * |
Cited By (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9728167B2 (en) | 2013-12-30 | 2017-08-08 | Beijing Qihoo Technology Company Limited | Device and method for controlling electronic map |
WO2015101070A1 (en) * | 2013-12-30 | 2015-07-09 | 北京奇虎科技有限公司 | Device and method for controlling electronic map |
US9972285B2 (en) | 2013-12-30 | 2018-05-15 | Beijing Qihoo Technology Company Limited | Device and method for controlling electronic map |
CN105989130B (en) * | 2015-02-16 | 2019-06-14 | 高德软件有限公司 | Electronic map methods of exhibiting, device and electronic equipment |
CN105989130A (en) * | 2015-02-16 | 2016-10-05 | 高德软件有限公司 | Electronic map display method and device and electronic device |
WO2016131390A1 (en) * | 2015-02-16 | 2016-08-25 | 高德软件有限公司 | Electronic map display method, apparatus and electronic device |
CN105677771B (en) * | 2015-12-30 | 2019-02-01 | 中国地质大学(武汉) | Network map pre-add support method based on space computational domain similarity mode |
CN105677771A (en) * | 2015-12-30 | 2016-06-15 | 中国地质大学(武汉) | Network map pre-loading method based on spatial calculation domain similarity match |
CN107506489A (en) * | 2017-09-22 | 2017-12-22 | 广西灵图信息科技有限公司 | A kind of method that Large Copacity JPG pictures are checked in Android and apple system |
CN107977407A (en) * | 2017-11-20 | 2018-05-01 | 深圳市科比特航空科技有限公司 | tile map storage method, device, storage medium and computer equipment |
CN107977407B (en) * | 2017-11-20 | 2020-03-31 | 深圳市科比特航空科技有限公司 | Tile map storage method and device, storage medium and computer equipment |
WO2019179237A1 (en) * | 2018-03-22 | 2019-09-26 | 杭州海康威视系统技术有限公司 | Satellite-view electronic map acquisition method and device, apparatus, and storage medium |
CN110309243A (en) * | 2018-03-22 | 2019-10-08 | 杭州海康威视系统技术有限公司 | Obtain method, apparatus, equipment and the storage medium of outdoor scene electronic map |
CN110347769A (en) * | 2019-07-09 | 2019-10-18 | 东方网力科技股份有限公司 | Processing method, device, equipment and the storage medium of multi-layer map tile |
CN111651654A (en) * | 2019-11-12 | 2020-09-11 | 广东融合通信股份有限公司 | Method for capturing satellite map of target area through network |
CN111935331A (en) * | 2020-07-30 | 2020-11-13 | 重庆智载科技有限公司 | Network space mapping method, visualization method and system |
CN114061599A (en) * | 2020-07-31 | 2022-02-18 | 华为技术有限公司 | Navigation positioning method, electronic equipment and navigation positioning system |
CN114061599B (en) * | 2020-07-31 | 2024-09-17 | 华为技术有限公司 | Navigation positioning method, electronic equipment and navigation positioning system |
CN111915488B (en) * | 2020-08-05 | 2023-11-28 | 成都圭目机器人有限公司 | High-performance image tile graph generation method under big data |
CN111915488A (en) * | 2020-08-05 | 2020-11-10 | 成都圭目机器人有限公司 | Method for generating high-performance image tile map under big data |
CN114333097A (en) * | 2021-12-16 | 2022-04-12 | 上海海神机器人科技有限公司 | Linkage type camera shooting security protection warning system and monitoring method |
CN114661839B (en) * | 2022-01-12 | 2024-02-27 | 中国人民解放军32200部队 | Tile-based track map display method, device, medium and equipment |
CN114661839A (en) * | 2022-01-12 | 2022-06-24 | 中国人民解放军32200部队 | Tile-based track map display method, device, medium and equipment |
CN115375868B (en) * | 2022-10-25 | 2023-02-17 | 阿里巴巴(中国)有限公司 | Map display method, remote sensing map display method, computing device and storage medium |
CN115375868A (en) * | 2022-10-25 | 2022-11-22 | 阿里巴巴(中国)有限公司 | Map display method, remote sensing map display method, computing device and storage medium |
CN117974925A (en) * | 2024-02-29 | 2024-05-03 | 武汉天恒信息技术有限公司 | Method, device, equipment and medium for desensitizing plot coordinate data |
CN117974925B (en) * | 2024-02-29 | 2024-10-15 | 湖北省自然资源厅 | Method, device, equipment and medium for desensitizing plot coordinate data |
Also Published As
Publication number | Publication date |
---|---|
CN103699439B (en) | 2019-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103699439A (en) | Device and method for calculating tiles in electronic map visual area | |
CN103700126B (en) | A kind of device controlling electronic chart scaling and corresponding method | |
CN103700125B (en) | A kind of electronic map controller and electronic map control method | |
JP6546598B2 (en) | System and method for geolocation of images | |
CN104182999B (en) | Animation jump method and system in a kind of panorama | |
US8872848B1 (en) | Rendering vector data as tiles | |
CN103699670B (en) | A kind of electronic chart tile request queue processing means and processing method | |
CN103714164B (en) | A kind of device and corresponding method controlling the translation of electronics map | |
CN106847068A (en) | A kind of map conversion method, device and computing device | |
US10949069B2 (en) | Shake event detection system | |
US20130127852A1 (en) | Methods for providing 3d building information | |
US9245366B1 (en) | Label placement for complex geographic polygons | |
WO2015101070A1 (en) | Device and method for controlling electronic map | |
CN114625983A (en) | House resource information display method and device, electronic equipment and readable storage medium | |
CN103077497B (en) | Image in level of detail model is carried out to the method and apparatus of convergent-divergent | |
US20150310769A1 (en) | Method and apparatus for displaying digital map in client | |
CN103236083B (en) | Real-time three-dimensional measuring method based on stereo image library | |
CN112870714A (en) | Map display method and device | |
CN115797182B (en) | Feature map interpolation method, device, equipment and storage medium | |
CN108074281B (en) | Pyramid panorama model generation method and device, storage medium and electronic device | |
CN116777756A (en) | AR rendering method and device based on Jiugongge | |
US20170083183A1 (en) | Multiple resolution non-linear terrain mapping system | |
CN116091744A (en) | Virtual three-dimensional object display method and head-mounted display device | |
CN116149773A (en) | Oblique photography model display method and device and electronic equipment | |
CN115170715A (en) | Image rendering method and device, electronic equipment and medium |
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 | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220728 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |