WO2016131390A1 - 电子地图展示方法、装置及电子设备 - Google Patents

电子地图展示方法、装置及电子设备 Download PDF

Info

Publication number
WO2016131390A1
WO2016131390A1 PCT/CN2016/073490 CN2016073490W WO2016131390A1 WO 2016131390 A1 WO2016131390 A1 WO 2016131390A1 CN 2016073490 W CN2016073490 W CN 2016073490W WO 2016131390 A1 WO2016131390 A1 WO 2016131390A1
Authority
WO
WIPO (PCT)
Prior art keywords
tile
electronic map
resolution level
current
map display
Prior art date
Application number
PCT/CN2016/073490
Other languages
English (en)
French (fr)
Inventor
张深圳
Original Assignee
高德软件有限公司
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 高德软件有限公司 filed Critical 高德软件有限公司
Publication of WO2016131390A1 publication Critical patent/WO2016131390A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to the field of electronic map technology, and more particularly to an electronic map display method, device and electronic device.
  • tile technology cut the electronic map into small pictures of the same size through certain rules, and each small picture is called a tile.
  • corresponding tiles are pre-stored, and the tiles corresponding to each scale belong to different resolution levels. If the scale is higher, the corresponding resolution level of the corresponding tiles belongs to the corresponding level. The more tiles there are.
  • the scales are arranged in descending order, and the corresponding number of tiles is pyramid. For example, the scales are arranged in descending order of z0, z1, z2, and z3, and each tile corresponding to z0 is equally divided into 4 tiles to obtain tiles corresponding to z1, and each of z1 is corresponding.
  • One tile is divided into 4 tiles on average to obtain tiles corresponding to z2, and each tile corresponding to z2 is equally divided into 4 tiles to obtain tiles corresponding to z3.
  • the map client When the map client receives an operation instruction (such as an instruction to enlarge the map, an instruction to zoom out the map, an instruction to pan the map, etc.), the map client requests the map server to download the electronic map tile, and the downloaded map tile on the client side Show after rendering.
  • an operation instruction such as an instruction to enlarge the map, an instruction to zoom out the map, an instruction to pan the map, etc.
  • the object of the present invention is to provide an electronic map display method, device and electronic device to improve the display speed of the map.
  • the present invention provides the following technical solutions:
  • An electronic map display method includes:
  • the tile to be loaded that covers the electronic map display area is determined from the tiles corresponding to the target resolution level according to the first tile and the electronic map display area, and specifically includes:
  • the tile included in the to-be-determined area is determined as a tile to be loaded that covers the electronic map display area;
  • the tile to be expanded is selected from the tiles adjacent to the to-be-determined area in the tile corresponding to the target resolution level, and the pending area and the selected new pending area formed by the tile to be expanded are determined. Whether to cover the electronic map display area; if yes, determining the tile included in the new pending area as a tile to be loaded covering the electronic map display area; if not, based on the new pending area, The step of selecting the tile to be expanded from the tiles adjacent to the to-be-determined region among the tiles corresponding to the target resolution level is repeated until the to-be-determined region covering the electronic map display region is obtained.
  • the tile to be expanded is selected from the tiles adjacent to the first tile among the tiles corresponding to the target resolution level, which are: Centering the first tile, selecting all tiles in the tile corresponding to the target resolution level that are adjacent to the first tile as the tile to be expanded;
  • the tile to be expanded selecting, from the tiles corresponding to the to-be-determined area among the tiles corresponding to the target resolution level, the tile to be expanded, where the tile corresponding to the target resolution level is associated with the to-be-determined area All tiles of the neighbor are selected as tiles to be expanded;
  • the tile to be expanded is selected from the tiles adjacent to the first tile among the tiles corresponding to the target resolution level, specifically: the first tile
  • Each boundary of the slice is determined whether there is a blank area between the boundary and a border of the electronic map display area that is closest to the boundary and parallel to the boundary, and if so, the tile corresponding to the target resolution level is A tile adjacent to the boundary of a tile is selected as a tile to be expanded, and if not, no processing is performed;
  • the tile to be expanded specifically: determining, for each boundary of the to-be-determined area, the boundary and the Whether there is a blank area between the borders of the electronic map display area that is closest to the boundary and parallel to the boundary, and if so, the tiles adjacent to the boundary of the pending area in the tile corresponding to the target resolution level are selected If the tile is to be expanded, if not, it will not be processed.
  • determining, according to a current resolution level of the current electronic map, the target resolution level, and the first image pixel coordinates, a second image pixel coordinate of the trigger point in the target electronic map specifically including :
  • K is the ratio of the size of the pixel of the low resolution level in the adjacent two resolution levels to the pixel of the high resolution level
  • ⁇ P is the difference between the target resolution level and the current resolution level a value
  • (X 1 , Y 1 ) is a first image pixel coordinate
  • (X 2 , Y 2 ) is a second image pixel coordinate
  • K is the ratio of the size of the pixel of the low resolution level in the adjacent two resolution levels to the pixel of the high resolution level
  • ⁇ P is the difference between the current resolution level and the target resolution level
  • (X 1 , Y 1 ) is the first image pixel coordinate
  • (X 2 , Y 2 ) is the second image pixel coordinate.
  • the first image pixel coordinates of the trigger point in the current electronic map are determined, specifically:
  • the first image pixel coordinates (X 0 , Y 0 ) are determined according to the screen coordinates (x, y) of the trigger point according to the following formula:
  • n is the row index number of the upper left corner tile in the current resolution level in the image corresponding to the current electronic map
  • M is the number of pixel columns included in one tile of the current resolution level
  • N is the number of pixel rows included in one tile of the current resolution level
  • (x 1 , y 1 ) is the central coordinate of the display area of the electronic map
  • (x 2 , y 2 ) is the center coordinate of the image corresponding to the current electronic map.
  • the determining the size ratio k of the image corresponding to the current electronic map in the electronic map display area includes:
  • a ratio in which the ratio of the wide ratio value and the high ratio value is small is determined as the k.
  • An electronic map display device comprising:
  • a first determining module configured to determine, according to the operation instruction, a target resolution level of the target electronic map when detecting that the electronic map display operation instruction is triggered in the current electronic map
  • a second determining module configured to determine, according to screen coordinates of a trigger point that triggers the operation instruction, a first image pixel coordinate of the trigger point in the current electronic map
  • a third determining module configured to determine, according to a current resolution level of the current electronic map, the target resolution level, and the first image pixel coordinate, a second image pixel coordinate of the trigger point in the target electronic map;
  • a fourth determining module configured to determine, according to the second image pixel coordinate of the trigger point, a first tile where the trigger point is located from a tile corresponding to the target resolution level
  • a fifth determining module configured to determine, according to the first tile and the electronic map display area, a tile to be loaded that covers the electronic map display area from the tiles corresponding to the target resolution level;
  • a display module configured to download the to-be-loaded tile, and render the to-be-loaded tile to obtain the target electronic map and display.
  • the fifth determining module includes:
  • a selecting unit configured to select a tile to be expanded from a tile adjacent to the first tile among tiles corresponding to the target resolution level, centering on the first tile;
  • a determining unit configured to determine whether the to-be-determined area formed by the first tile and the selected tile to be expanded covers the electronic map display area, and if so, triggering the first processing unit, if otherwise, triggering the second processing unit;
  • a first processing unit configured to determine a tile included in the to-be-determined area as a tile to be loaded that covers the electronic map display area
  • a second processing unit configured to select a tile to be expanded from a tile adjacent to the to-be-determined region among tiles corresponding to the target resolution level, and determine a new component of the to-be-expanded tile and the selected tile to be expanded Whether the pending area covers the electronic map display area; if yes, determining the tile included in the new pending area as a tile to be loaded covering the electronic map display area; if not, based on the new pending area, The step of selecting the tile to be expanded from the tiles adjacent to the to-be-determined region among the tiles corresponding to the target resolution level is repeated until the to-be-determined region covering the electronic map display region is obtained.
  • the selecting unit is configured to select, according to the first tile, all tiles in the tile corresponding to the target resolution level that are adjacent to the first tile to be selected as Expanding tiles;
  • a second processing unit for selecting a tile to be expanded from a tile adjacent to the to-be-determined region in a tile corresponding to the target resolution level, specifically for using a tile corresponding to the target resolution level All tiles adjacent to the to-be-determined area are selected as tiles to be expanded;
  • the selecting unit is configured to determine, for each boundary of the first tile, whether there is a blank area between the boundary and a border of the electronic map display area that is closest to the boundary and parallel to the boundary, if And selecting, in the tile corresponding to the target resolution level, a tile adjacent to the boundary of the first tile as the tile to be expanded, and if not, processing is not performed;
  • a second processing unit for selecting a tile to be expanded from the tiles adjacent to the to-be-determined region in the tile corresponding to the target resolution level, specifically for determining, for each boundary of the to-be-determined region, determining Whether there is a blank area between the boundary and a border of the electronic map display area that is closest to the boundary and parallel to the boundary, and if yes, the boundary of the tile corresponding to the target resolution level is related to the boundary of the to-be-determined area
  • the neighboring tile is selected as the tile to be expanded, and if not, no processing is performed.
  • the third determining module includes:
  • a first determining unit configured to determine the first image pixel coordinate as the second image pixel coordinate if the current resolution level is equal to the target resolution level
  • a second determining unit configured to determine a second image pixel coordinate according to the following formula if the current resolution level is lower than the target resolution level:
  • K is the ratio of the size of the pixel of the low resolution level in the adjacent two resolution levels to the pixel of the high resolution level
  • ⁇ P is the difference between the target resolution level and the current resolution level a value
  • (X 1 , Y 1 ) is a first image pixel coordinate
  • (X 2 , Y 2 ) is a second image pixel coordinate
  • a third determining unit configured to determine a second image pixel coordinate according to the following formula if the current resolution level is higher than the target resolution level:
  • K is the ratio of the size of the pixel of the low resolution level in the adjacent two resolution levels to the pixel of the high resolution level
  • ⁇ P is the difference between the current resolution level and the target resolution level
  • (X 1 , Y 1 ) is the first image pixel coordinate
  • (X 2 , Y 2 ) is the second image pixel coordinate.
  • the second determining module comprises:
  • a fourth determining unit configured to determine a size ratio k of an image corresponding to the current electronic map in the electronic map display area
  • a fifth determining unit configured to determine, according to a screen coordinate (x, y) of the trigger point, that the first image pixel coordinate (X 0 , Y 0 ) is:
  • n is the row index number of the upper left corner tile in the current resolution level in the image corresponding to the current electronic map
  • M is the number of pixel columns included in one tile of the current resolution level
  • N is the number of pixel rows included in one tile of the current resolution level
  • (x 1 , y 1 ) is the central coordinate of the display area of the electronic map
  • (x 2 , y 2 ) is the center coordinate of the image corresponding to the current electronic map.
  • the fourth determining unit comprises:
  • a calculating subunit configured to separately calculate a width ratio and a high ratio of the image corresponding to the electronic map display area and the current electronic map;
  • Determining a subunit for determining a ratio in which the ratio of the wide ratio and the high ratio is small is determined as the k.
  • An electronic device comprising the aforementioned electronic map display device.
  • an electronic map display method, apparatus, and electronic device determine a target resolution level of a target electronic map according to an electronic map display operation instruction triggered in a current electronic map, and determine to trigger the operation. Determining the trigger point of the instruction in the first image pixel coordinate in the current electronic map, and then determining the trigger point at the target electron according to a current resolution level of the current electronic map, the target resolution level, and the first image pixel coordinate Second image in the map Pixel coordinates, determining, according to the second image pixel coordinate of the trigger point, a first tile where the trigger point is located from the tile corresponding to the target resolution level, according to the first tile and the electronic map display area, A tile to be loaded that covers the electronic map display area is determined in the tile corresponding to the target resolution level, the tile to be loaded is downloaded, and the tile to be loaded is rendered and displayed.
  • the tile adjacent to the first tile is determined according to the spatial topological relationship between the first tile and the electronic map display region. Determining the to-be-loaded tile covering the electronic map display area in the slice, determining the tile to be loaded covering the electronic map display area from the tiles adjacent to the first tile according to the topological relationship between the first tile and the electronic map display area. The calculation of the slice is simpler, faster, and less computational, thereby improving the calculation speed of determining the tile to be loaded, thereby improving the display speed of the electronic map as a whole.
  • FIG. 1 is a flowchart of an implementation of an electronic map display method according to an embodiment of the present application
  • FIG. 2 is a diagram showing an example of determining a to-be-loaded tile covering an electronic map display area from a tile corresponding to a target resolution level according to a first tile and an electronic map display area according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of another example of determining a tile to be loaded covering an electronic map display area from a tile corresponding to a target resolution level according to a first tile and an electronic map display area according to an embodiment of the present application;
  • FIG. 4 is a schematic diagram of a tile map of a current resolution level according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic map display device according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a fifth determining module according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a third determining module according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a second determining module according to an embodiment of the present application.
  • FIG. 1 is a flowchart of an implementation of an electronic map display method according to an embodiment of the present disclosure, which may include:
  • Step S11 When it is detected that the electronic map display operation instruction is triggered in the current electronic map, determining a target resolution level of the target electronic map according to the operation instruction;
  • the electronic map display operation instruction may be triggered when the user operates the electronic map through the mouse or the touch screen, such as double-clicking or clicking on the electronic map, and the operation instruction may be an electronic map enlargement operation or an electronic Map panning operation or electronic map zooming operation.
  • Step S12 determining, according to the screen coordinates of the trigger point that triggers the operation instruction, the first image pixel coordinates of the trigger point in the current electronic map;
  • the trigger point is a location point where the user operates the current electronic map in the electronic map display area.
  • the first image pixel coordinate of the trigger point in the current electronic map refers to the pixel coordinates of the trigger point in an image (also referred to as a canvas) composed of several tiles constituting the current electronic map.
  • the step of determining the target resolution level of the target electronic map according to the operation instruction and the screen coordinates of the trigger point triggering the operation instruction determine the first image pixel of the trigger point in the current electronic map.
  • the execution order of the steps of the coordinates is not specifically limited, and the step of determining the target resolution level of the target electronic map according to the operation instruction may be performed first, and then the screen coordinates of the trigger point according to the triggering the operation instruction are executed to determine the trigger point.
  • a step of first image pixel coordinates in the current electronic map or, first performing a step of determining a first image pixel coordinate of the trigger point in the current electronic map according to screen coordinates of a trigger point that triggers the operation instruction, and then Performing a step of determining a target resolution level of the target electronic map according to the operation instruction; or determining a target resolution level of the target electronic map according to the operation instruction and a screen coordinate according to a trigger point triggering the operation instruction, Determine the first image of the trigger point in the current electronic map Coordinate steps are performed simultaneously.
  • Step S13 determining, according to a current resolution level of the current electronic map, the target resolution level, and the first image pixel coordinate, a second image pixel coordinate of the trigger point in the target electronic map;
  • the first image pixel coordinates determine second image pixel coordinates corresponding to the first image pixel coordinates in a target resolution level.
  • the second image pixel coordinate is the image pixel coordinate of the trigger point in the target electronic map.
  • Step S14 Determine, according to the second image pixel coordinate of the trigger point, a first tile where the trigger point is located from the tile corresponding to the target resolution level;
  • the second image pixel coordinates After determining the second image pixel coordinates, it may be determined which tile in the target resolution level the second image pixel coordinate belongs to (ie which tile in the target resolution hierarchy), for the convenience of description, the trigger point is here.
  • the tile in which it is located is recorded as the first tile.
  • Step S15 determining, according to the first tile and the electronic map display area, a tile to be loaded that covers the electronic map display area from the tiles corresponding to the target resolution level;
  • the tile to be loaded may be gradually expanded with the first tile as the initial tile to be loaded until the tile to be loaded covers the electronic map display region.
  • the first tile is included in a tile to be loaded that covers the electronic map display area, that is, It is said that the tile to be loaded covering the electronic map display area is composed of several tiles including the first tile.
  • Step S16 Download the to-be-loaded tile, and render the to-be-loaded tile to obtain the target electronic map and display it.
  • step S15 in the foregoing embodiment determining, according to the first tile and the electronic map display area, a tile to be loaded that covers the electronic map display area from the tiles corresponding to the target resolution level.
  • the process can include the following steps:
  • Step S21 The tile to be expanded is selected from the tiles adjacent to the first tile among the tiles corresponding to the target resolution level, centering on the first tile;
  • Step S22 determining whether the first tile and the selected area to be expanded to cover the electronic map display area; if yes, proceeding to step S23; otherwise, performing step S24;
  • Step S23 determining a tile included in the to-be-determined area as a tile to be loaded that covers the electronic map display area;
  • Step S24 selecting a tile to be expanded from among tiles corresponding to the to-be-determined region among tiles corresponding to the target resolution level;
  • Step S25 determining whether the pending area and the selected new pending area formed by the tile to be expanded cover the electronic map display area; if yes, proceeding to step S26; otherwise, performing step S27;
  • Step S26 determining a tile included in the new to-be-determined area as a tile to be loaded covering the electronic map display area;
  • Step S27 repeating, according to the new pending area, the step of selecting the tile to be expanded from the tiles adjacent to the to-be-determined area (ie, the newly determined pending area) in the tile corresponding to the target resolution level, until A pending area covering the electronic map display area is obtained.
  • the tile to be expanded is selected from the tiles adjacent to the current to-be-determined area in the tile corresponding to the target resolution level, and the current to-be-determined area is determined. Whether the new pending area formed with the selected tile to be expanded covers the electronic map display area; if yes, step S26 is performed; otherwise, step S27 is performed.
  • the tile to be expanded is selected from the tiles adjacent to the first tile in the tile corresponding to the target resolution level, which may be :
  • the tile to be expanded is selected from the tiles adjacent to the to-be-determined region in the tile corresponding to the target resolution level, and specifically, the tile corresponding to the target resolution level is All tiles adjacent to the pending area are selected as tiles to be expanded;
  • the tile to be loaded covering the electronic map display area is determined from the tiles corresponding to the target resolution level according to the embodiment of the present application.
  • first tiles adjacent to the first tile are centered on the first tile (in FIG. 2 Characterizing) selected as a tile to be expanded, the 8 tiles and 9 tiles of the first tile constitute a first to-be-determined area; and determining whether the first to-be-determined area covers the electronic map display area;
  • the tile in the first to-be-determined area is determined as the tile to be loaded; obviously, the first to-be-determined area in FIG. 2 does not cover the electronic map display area.
  • the 16 tiles adjacent to the first to-be-determined area are to be Characterizing) selected as a tile to be expanded, the 16 tiles and 9 tiles included in the first to-be-determined area constitute a second to-be-determined area; and determining whether the second to-be-determined area covers the electronic map display area;
  • the tile in the second pending area is determined as the tile to be loaded; obviously, the second pending area in FIG. 2 does not cover the electronic map display area.
  • the second pending area does not cover the electronic map display area, then 24 tiles adjacent to the second pending area (in FIG. 2 Characterizing) selected as a tile to be expanded, the 24 tiles and 25 tiles included in the second to-be-defined area constitute a third to-be-determined area, and determining whether the third to-be-determined area covers the electronic map display area; and so on, The determined area to be covered covers the electronic map display area.
  • the third pending area covers the electronic map display area, and therefore, it is possible to determine that the 49 tiles included in the third pending area are tiles to be loaded.
  • the tile to be expanded is selected from the tiles adjacent to the first tile in the tile corresponding to the target resolution level, with the first tile as the center. And determining, for each boundary of the first tile, the boundary and the boundary in the electronic map display area Whether there is a blank area between the borders of the most recent and parallel to the boundary, and if so, the tiles adjacent to the boundary of the first tile in the tile corresponding to the target resolution level are selected as the tiles to be expanded, if No, it will not be processed;
  • step S24 selecting a tile to be expanded from the tiles adjacent to the to-be-determined region among the tiles corresponding to the target resolution level, specifically: determining, for each boundary of the to-be-determined region, the boundary and Whether there is a blank area between the borders of the electronic map display area that is closest to the boundary and parallel to the boundary, and if so, a tile adjacent to the boundary of the to-be-determined area in the tile corresponding to the target resolution level The slice is selected as the tile to be expanded, and if not, no processing is performed.
  • the tile to be loaded covering the electronic map display area is determined from the tiles corresponding to the target resolution level according to the embodiment of the present application.
  • the dotted line frame in Fig. 3 indicates an electronic map display area.
  • each boundary of the first tile has a blank area between the border of the electronic map display area that is closest to the boundary and parallel to the boundary, it will be adjacent to each boundary of the first tile. All tiles are selected as tiles to be expanded, used in Figure 3. Characterizing; determining whether the fourth pending area formed by the tile to be expanded and the first tile covers the electronic map display area;
  • the fourth pending area does not cover the electronic map display area, because the fourth pending area does not cover the electronic map display area, and each boundary of the fourth pending area is associated with the electronic map display area There is a blank area between the border of the boundary closest to and parallel to the boundary, and therefore, all the tiles adjacent to the respective boundaries of the fourth pending area are selected as the tiles to be expanded, which is used in FIG. Characterizing; determining whether the newly determined tile to be expanded and the fifth pending region formed by the fourth to-be-determined area cover the electronic map display area;
  • the fifth pending area does not cover the electronic map display area, and since the upper boundary and the lower boundary of the fifth pending area are not between the border of the electronic map display area that is closest to the boundary and parallel to the boundary There is a blank area, and both the left and right borders of the fifth pending area have a blank area between the border of the electronic map display area that is closest to the boundary and parallel to the boundary, and therefore, will be associated with the fifth pending area
  • All tiles adjacent to the left and right boundaries are selected as tiles to be expanded, as used in Figure 3. Characterizing; determining whether the newly determined tile to be expanded and the sixth pending area formed by the fifth to-be-determined area cover the electronic map display area;
  • the sixth pending area covers the electronic map display area. Ending according to the first tile And an electronic map display area, wherein a process of covering the to-be-loaded tile of the electronic map display area is determined from the tiles corresponding to the target resolution level. That is to say, the 35 tiles contained in the sixth pending area are the tiles to be loaded.
  • Image pixel coordinates may specifically include:
  • K is the ratio of the size of the low-resolution layer of pixels in the adjacent two resolution levels to the size of the pixels of the high-resolution level, that is, the tile pyramid coefficient (for example, the more commonly used tile pyramid coefficient is 4, That is, the ratio of the size of the pixel of the low resolution level to the pixel of the high resolution level is 4. It should be noted that the scheme is applicable not only to the tile map with a tile pyramid coefficient of 4, but also to other tiles.
  • ⁇ P is a difference between the target resolution level and the current resolution level
  • (X 1 , Y 1 ) is a trigger point
  • the first image pixel coordinate, (X 2 , Y 2 ) is the second image pixel coordinate of the trigger point
  • K is the ratio of the size of the pixel of the low resolution level in the adjacent two resolution levels to the pixel of the high resolution level
  • ⁇ P is the difference between the current resolution level and the target resolution level
  • (X 1 , Y 1 ) is the first image pixel coordinate of the trigger point
  • (X 2 , Y 2 ) is the second image pixel coordinate of the trigger point.
  • the target resolution level may be the resolution level to which the tile in the current electronic map belongs, such as when panning the map; the target resolution level may also be related to the current electronic ground.
  • the tiles in the figure belong to different resolution levels, such as when zooming in on a map or zooming out on a map.
  • step S12 according to the screen coordinates of the trigger point that triggers the operation instruction, the first image pixel coordinate of the trigger point in the current electronic map is determined, which may be:
  • the first image pixel coordinates (X 0 , Y 0 ) are determined according to the screen coordinates (x, y) of the trigger point:
  • n is the row index number of the upper left corner tile in the current resolution level in the image corresponding to the current electronic map
  • M is the number of pixel columns included in one tile of the current resolution level
  • N is the number of pixel rows included in one tile of the current resolution level
  • (x 1 , y 1 ) is the central coordinate of the display area of the electronic map
  • (x 2 , y 2 ) is the center coordinate of the image corresponding to the current electronic map.
  • FIG. 4 is a schematic diagram of a tile map of a current resolution level according to an embodiment of the present invention.
  • the size of each tile is M ⁇ N.
  • the image corresponding to the current electronic map is a shaded portion in FIG. 4 , wherein the shaded portion is an image corresponding to the current electronic map (the image corresponding to the current electronic map refers to an image formed by several tiles constituting the current electronic map), wherein The index of the tile in the upper left corner of the shaded part is (m, n).
  • determining the size ratio k of the image corresponding to the current electronic map in the electronic map display area may be implemented by the following method:
  • An electronic map display method determines a target resolution level of a target electronic map according to an electronic map display operation instruction triggered in a current electronic map, and determines a trigger point that triggers the operation instruction in a current electronic map. First image pixel coordinates, and then determining, according to a current resolution level of the current electronic map, the target resolution level, and the first image pixel coordinates, a second image pixel coordinate of the trigger point in the target electronic map, according to a second image pixel coordinate of the trigger point, determining, from a tile corresponding to the target resolution level, a first tile where the trigger point is located, according to the first tile and the electronic map display region, from the target resolution level A tile to be loaded that covers the electronic map display area is determined in the corresponding tile, the tile to be loaded is downloaded, and the target tile is rendered to obtain a target electronic map for display.
  • the tile to be loaded covering the electronic display area is determined in the adjacent tiles of the slice, and the covered electronic map display area is determined from the tiles adjacent to the first tile according to the topological relationship between the first tile and the electronic map display area.
  • the calculation of the tile to be loaded is simpler, faster, and less computational, thereby improving the calculation speed of determining the tile to be loaded, thereby improving the display speed of the electronic map as a whole.
  • the tile to be loaded is no longer determined, so that the tile to be loaded is made as much as possible on the basis of ensuring that the tile to be loaded covers the electronic map display area.
  • the number is small, which reduces the number of tiles to be loaded and further improves the display speed of the electronic map.
  • the second embodiment of the present application further provides an electronic map display device, as shown in FIG. 5, including:
  • a first determining module 51 a second determining module 52, a third determining module 53, a fourth determining module 54, a fifth determining module 55, and a display module 56;
  • the first determining module 51 is configured to determine, according to the operation instruction, a target resolution level of the target electronic map when detecting that the electronic map display operation instruction is triggered in the current electronic map;
  • a second determining module 52 configured to determine, according to a screen coordinate of a trigger point that triggers the operation instruction Determining a first image pixel coordinate of the trigger point in the current electronic map;
  • the third determining module 53 is configured to determine, according to a current resolution level of the current electronic map, the target resolution level, and the first image pixel coordinate, a second image pixel coordinate of the trigger point in the target electronic map;
  • the fourth determining module 54 is configured to determine, according to the second image pixel coordinate of the trigger point, a first tile where the trigger point is located from the tile corresponding to the target resolution level;
  • a fifth determining module 55 configured to determine, according to the first tile and the electronic map display area, a tile to be loaded that covers the electronic map display area from the tiles corresponding to the target resolution level;
  • the display module 56 is configured to download the to-be-loaded tile, and the to-be-loaded tile is rendered to obtain the target electronic map and displayed.
  • a schematic structural diagram of the fifth determining module 55 is as shown in FIG. 6, and may include:
  • the selecting unit 61 is configured to select, according to the first tile, a tile to be expanded from a tile adjacent to the first tile among tiles corresponding to the target resolution level;
  • the determining unit 62 is configured to determine whether the to-be-determined area formed by the first tile and the selected tile to be expanded covers the electronic map display area, and if so, trigger the first processing unit 63, if otherwise, trigger the second processing unit 64. ;
  • a first processing unit 63 configured to determine a tile included in the to-be-determined area as a tile to be loaded that covers the electronic map display area;
  • a second processing unit 64 configured to select a tile to be expanded from a tile adjacent to the to-be-determined region among tiles corresponding to the target resolution level, and determine the to-be-determined region and the selected tile to be expanded. Whether the new pending area covers the electronic map display area; if yes, determining the tile included in the new pending area as the tile to be loaded covering the electronic map display area; if not, based on the new pending area And repeating the step of selecting the tile to be expanded from the tiles adjacent to the to-be-determined region among the tiles corresponding to the target resolution level, until a to-be-determined region covering the electronic map display region is obtained.
  • the selecting unit 61 is configured to select, according to the first tile, all tiles in the tile corresponding to the target resolution level that are adjacent to the first tile to be expanded.
  • the second processing unit 64 for selecting a tile to be expanded from the tiles adjacent to the to-be-determined region in the tile corresponding to the target resolution level, specifically for using the tile corresponding to the target resolution level All tiles adjacent to the to-be-determined area are selected as tiles to be expanded;
  • the selecting unit 61 is configured to determine, between each boundary of the first tile, whether the boundary is between a border of the electronic map display area that is closest to the boundary and parallel to the boundary. There is a blank area, and if yes, the tile adjacent to the boundary of the first tile in the tile corresponding to the target resolution level is selected as the tile to be expanded, and if not, no processing is performed;
  • a second processing unit 64 for selecting a tile to be expanded from the tiles adjacent to the to-be-determined region among the tiles corresponding to the target resolution level, specifically for each boundary of the to-be-determined region, Determining whether there is a blank area between the boundary and a border of the electronic map display area that is closest to the boundary and parallel to the boundary, and if yes, the boundary between the tile corresponding to the target resolution level and the to-be-determined area Adjacent tiles are selected as tiles to be expanded, and if not, no processing is performed.
  • a schematic structural diagram of the third determining module 53 is as shown in FIG. 7, and may include:
  • a first determining unit 71 configured to determine the first image pixel coordinate as the second image pixel coordinate if the current resolution level is equal to the target resolution level
  • the second determining unit 72 is configured to determine the second image pixel coordinate according to the following formula if the current resolution level is lower than the target resolution level:
  • K is the ratio of the size of the pixel of the low resolution level in the adjacent two resolution levels to the pixel of the high resolution level
  • ⁇ P is the difference between the target resolution level and the current resolution level a value
  • (X 1 , Y 1 ) is a first image pixel coordinate
  • (X 2 , Y 2 ) is a second image pixel coordinate
  • the third determining unit 73 is configured to determine the second image pixel coordinate according to the following formula if the current resolution level is higher than the target resolution level:
  • K is the ratio of the size of the pixel of the low resolution level in the adjacent two resolution levels to the pixel of the high resolution level
  • ⁇ P is the difference between the current resolution level and the target resolution level
  • (X 1 , Y 1 ) is the first image pixel coordinate
  • (X 2 , Y 2 ) is the second image pixel coordinate.
  • a schematic structural diagram of the second determining module 52 is as shown in FIG. 8 , and may include:
  • a fourth determining unit 81 configured to determine a map corresponding to the current electronic map of the electronic map display area
  • the size ratio of the image is k
  • the fifth determining unit 82 is configured to determine, according to the screen coordinate (x, y) of the trigger point, that the first image pixel coordinate (X 0 , Y 0 ) is:
  • n is the row index number of the upper left corner tile in the current resolution level in the image corresponding to the current electronic map
  • M is the number of pixel columns included in one tile of the current resolution level
  • N is the number of pixel rows included in one tile of the current resolution level
  • (x 1 , y 1 ) is the central coordinate of the display area of the electronic map
  • (x 2 , y 2 ) is the center coordinate of the image corresponding to the current electronic map.
  • the fourth determining unit 81 may include:
  • a calculating subunit configured to separately calculate a width ratio and a high ratio of the image corresponding to the electronic map display area and the current electronic map;
  • Determining a subunit for determining a ratio in which the ratio of the wide ratio and the high ratio is small is determined as the k.
  • the embodiment of the present invention further provides an electronic device, including the foregoing electronic map display device, and the specific structure of the device is as described above, and details are not described herein again.
  • An electronic map display device determines a target resolution level of a target electronic map according to an electronic map display operation instruction triggered in a current electronic map, and determines a trigger point that triggers the operation instruction in a current electronic map. First image pixel coordinates, and then determining, according to a current resolution level of the current electronic map, the target resolution level, and the first image pixel coordinates, a second image pixel coordinate of the trigger point in the target electronic map, according to a second image pixel coordinate of the trigger point, determining, from a tile corresponding to the target resolution level, a first tile where the trigger point is located, according to the first tile and the electronic map display region, from the target resolution level A tile to be loaded that covers the electronic map display area is determined in the corresponding tile, the tile to be loaded is downloaded, and the target tile is rendered to obtain a target electronic map for display.
  • the topological relationship with the electronic map display area determines that the tile to be loaded covering the electronic map display area is relatively simple and fast, and the calculation amount is small, thereby improving the determination of the to-be-loaded tile.
  • the calculation speed thus improves the display speed of the electronic map as a whole.
  • the tile to be loaded is no longer determined, so that the tile to be loaded is made as much as possible on the basis of ensuring that the tile to be loaded covers the electronic map display area.
  • the number is small, which reduces the number of tiles to be loaded and further improves the display speed of the electronic map.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. in.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

一种电子地图展示方法、装置及电子设备,当检测到在当前电子地图中触发电子地图展示操作指令时,根据所述操作指令确定目标电子地图的目标分辨率层级(S11);根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标(S12);根据当前电子地图的当前分辨率层级、目标分辨率层级以及第一图像像素坐标,确定触发点在目标电子地图中的第二图像像素坐标(S13);根据触发点的第二图像像素坐标,从目标分辨率层级对应的瓦片中确定出触发点所在的第一瓦片(S14);根据第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖电子地图显示区域的待加载瓦片(S15);下载待加载瓦片,对待加载瓦片进行渲染得到目标电子地图并进行展示(S16)。提高了电子地图的显示速度。

Description

电子地图展示方法、装置及电子设备
本申请要求于2015年02月16日提交中国专利局、申请号为201510084636.3、发明名称为“电子地图展示方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及电子地图技术领域,更具体地说,涉及一种电子地图展示方法、装置及电子设备。
背景技术
现在越来越多的地图服务用到瓦片技术,所谓的瓦片即通过一定规则将电子地图切割成相同尺寸大小的小图片,每一个小图片称为一个瓦片。
目前针对不同比例尺的电子地图,均预先存储有相应的瓦片,每个比例尺对应的瓦片所属的分辨率层级不同,如比例尺越高则对应的瓦片所属的分辨率层级越高,相应的瓦片数量也越多。比例尺按照从大到小的顺序排列,其对应的瓦片数量呈金字塔。例如,比例尺按照从低到高的顺序排列依次为z0、z1、z2、z3,则将z0对应的每一个瓦片平均划分成4个瓦片以得到z1对应的瓦片,将z1对应的每一个瓦片平均划分为4个瓦片以得到z2对应的瓦片,将z2对应的每一个瓦片平均划分为4个瓦片以得到z3对应的瓦片。
当地图客户端接收操作指令(如放大地图的指令、缩小地图的指令、平移地图的指令等)时,地图客户端向地图服务器请求下载电子地图瓦片,在客户端对下载下来的地图瓦片进行渲染后进行展示。
发明人在实现本发明的过程中发现,目前的电子地图处理方法,在接收到放大地图的操作指令后,地图显示速度较慢。
因此,如何提高电子地图的显示速度成为亟待解决的问题。
发明内容
本发明的目的是提供一种电子地图展示方法、装置及电子设备,以提高地图的显示速度。
为实现上述目的,本发明提供了如下技术方案:
一种电子地图展示方法,包括:
当检测到在当前电子地图中触发电子地图展示操作指令时,根据所述操作指令确定目标电子地图的目标分辨率层级;
根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标;
根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标;
根据所述触发点的第二图像像素坐标,从所述目标分辨率层级对应的瓦片中确定出触发点所在的第一瓦片;
根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片;
下载所述待加载瓦片,对待加载瓦片进行渲染得到所述目标电子地图并展示。
上述方法,优选的,根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片,具体包括:
以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片;
判断所述第一瓦片及选取的待扩张瓦片构成的待定区域是否覆盖所述电子地图显示区域;
若是,则:将所述待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;
若否,则:从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,并判断所述待定区域与选取的待扩张瓦片构成的新待定区域是否覆盖所述电子地图显示区域;若是,则将所述新待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;若否,则以新待定区域为基础, 重复前述从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片的步骤,直到得到覆盖所述电子地图显示区域的待定区域。
上述方法,优选的,所述以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片,具体为:以所述第一瓦片为中心,将目标分辨率层级对应的瓦片中与所述第一瓦片相邻的所有瓦片选取为待扩张瓦片;
以及,所述从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,具体为:将目标分辨率层级对应的瓦片中与所述待定区域相邻的所有瓦片选取为待扩张瓦片;
或者,
所述以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片,具体为:针对所述第一瓦片的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与第一瓦片的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理;
以及,所述从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,具体为:针对所述待定区域的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与该待定区域的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理。
上述方法,优选的,根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标,具体包括:
若所述当前分辨率层级等于所述目标分辨率层级,则将所述第一图像像素坐标确定为所述第二图像像素坐标;
若所述当前分辨率层级低于所述目标分辨率层级,则依据如下公式确定第二图像像素坐标:
Figure PCTCN2016073490-appb-000001
其中,K为相邻两个分辨率层级中低分辨率 层级的象元与高分辨率层级的象元的大小之比,△P为所述目标分辨率层级与所述当前分辨率层级的差值,(X1,Y1)为第一图像像素坐标,(X2,Y2)为第二图像像素坐标;
若所述当前分辨率层级高于所述目标分辨率层级,则依据如下公式确定第二图像像素坐标:
Figure PCTCN2016073490-appb-000002
其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,△P为所述当前分辨率层级与所述目标分辨率层级的差值,(X1,Y1)为第一图像像素坐标,(X2,Y2)为第二图像像素坐标。
上述方法,优选的,根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标,具体为:
确定电子地图显示区域与当前电子地图对应的图像的尺寸比k;
按照下式,根据所述触发点的屏幕坐标(x,y)确定所述第一图像像素坐标(X0,Y0)为:
Figure PCTCN2016073490-appb-000003
Figure PCTCN2016073490-appb-000004
其中,m为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的列索引号,n为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的行索引号;M为当前分辨率层级的一张瓦片包含的像素列数,N为当前分辨率层级的一张瓦片包含的像素行数;(x1,y1)为电子地图显示区域的中心坐标;(x2,y2)为所述当前电子地图对应的图像的中心坐标。
上述方法,优选的,所述确定电子地图显示区域与当前电子地图对应的图像的尺寸比k,具体包括:
分别计算所述电子地图显示区域和所述当前电子地图对应的图像的宽比值和高比值;
将宽比值和高比值中取值较小的比值确定为所述k。
一种电子地图展示装置,包括:
第一确定模块,用于当检测到在当前电子地图中触发电子地图展示操作指令时,根据所述操作指令确定目标电子地图的目标分辨率层级;
第二确定模块,用于根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标;
第三确定模块,用于根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标;
第四确定模块,用于根据所述触发点的第二图像像素坐标,从所述目标分辨率层级对应的瓦片中确定出触发点所在的第一瓦片;
第五确定模块,用于根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片;
展示模块,用于下载所述待加载瓦片,对待加载瓦片进行渲染得到所述目标电子地图并展示。
上述装置,优选的,所述第五确定模块包括:
选取单元,用于以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片;
判断单元,用于判断所述第一瓦片及选取的待扩张瓦片构成的待定区域是否覆盖所述电子地图显示区域,若是则触发第一处理单元,若否则触发第二处理单元;
第一处理单元,用于将所述待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;
第二处理单元,用于从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,并判断所述待定区域与选取的待扩张瓦片构成的新待定区域是否覆盖所述电子地图显示区域;若是,则将所述新待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;若否,则以新待定区域为基础,重复前述从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片的步骤,直到得到覆盖所述电子地图显示区域的待定区域。
上述装置,优选的,所述选取单元具体用于,以所述第一瓦片为中心,将目标分辨率层级对应的瓦片中与所述第一瓦片相邻的所有瓦片选取为待扩张瓦片;
以及,用于从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片的第二处理单元具体用于,将目标分辨率层级对应的瓦片中与所述待定区域相邻的所有瓦片选取为待扩张瓦片;
或者,
所述选取单元具体用于,针对所述第一瓦片的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与第一瓦片的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理;
以及,用于从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片的第二处理单元具体用于,针对所述待定区域的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与该待定区域的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理。
上述装置,优选的,所述第三确定模块包括:
第一确定单元,用于若所述当前分辨率层级等于所述目标分辨率层级,则将所述第一图像像素坐标确定为所述第二图像像素坐标;
第二确定单元,用于若所述当前分辨率层级低于所述目标分辨率层级,则依据如下公式确定第二图像像素坐标:
Figure PCTCN2016073490-appb-000005
其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,△P为所述目标分辨率层级与所述当前分辨率层级的差值,(X1,Y1)为第一图像像素坐标,(X2,Y2)为第二图像像素坐标;
第三确定单元,用于若所述当前分辨率层级高于所述目标分辨率层级,则依据如下公式确定第二图像像素坐标:
Figure PCTCN2016073490-appb-000006
其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,△P为所述当前分辨率层级与所述目标分辨率层级的差值,(X1,Y1)为第一图像像素坐标,(X2,Y2)为第二图像像素坐标。
上述装置,优选的,所述第二确定模块包括:
第四确定单元,用于确定电子地图显示区域与当前电子地图对应的图像的尺寸比k;
第五确定单元,用于按照下式,根据所述触发点的屏幕坐标(x,y)确定所述第一图像像素坐标(X0,Y0)为:
Figure PCTCN2016073490-appb-000007
Figure PCTCN2016073490-appb-000008
其中,m为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的列索引号,n为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的行索引号;M为当前分辨率层级的一张瓦片包含的像素列数,N为当前分辨率层级的一张瓦片包含的像素行数;(x1,y1)为电子地图显示区域的中心坐标;(x2,y2)为所述当前电子地图对应的图像的中心坐标。
上述装置,优选的,所述第四确定单元包括:
计算子单元,用于分别计算所述电子地图显示区域和所述当前电子地图对应的图像的宽比值和高比值;
确定子单元,用于将宽比值和高比值中取值较小的比值确定为所述k。
一种电子设备,包括前述电子地图展示装置。
通过以上方案可知,本申请提供的一种电子地图展示方法、装置及电子设备,依据在当前电子地图中触发的电子地图展示操作指令确定目标电子地图的目标分辨率层级,并确定触发所述操作指令的触发点在当前电子地图中的第一图像像素坐标,然后根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像 像素坐标,根据所述触发点的第二图像像素坐标,从所述目标分辨率层级对应的瓦片中确定出触发点所在的第一瓦片,根据第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片,下载所述待加载瓦片,并对待加载瓦片进行渲染后进行展示。本发明实施例中,当确定出触发点在目标分辨率层级对应的第一瓦片时,根据第一瓦片与电子地图显示区域之间的空间拓扑关系,从第一瓦片相邻的瓦片中确定覆盖电子地图显示区域的待加载瓦片,由于根据第一瓦片与电子地图显示区域的拓扑关系从第一瓦片相邻的瓦片中确定出覆盖电子地图显示区域的待加载瓦片计算较为简单、快速,计算量较少,从而提高了确定待加载瓦片的计算速度,从而从整体上提高了电子地图的显示速度。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的电子地图展示方法的一种实现流程图;
图2为本申请实施例提供的根据第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖电子地图显示区域的待加载瓦片的一种示例图;
图3为本申请实施例提供的根据第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖电子地图显示区域的待加载瓦片的另一种示例图;
图4为本申请实施例提供的当前分辨率层级的瓦片地图的示例图;
图5为本申请实施例提供的电子地图展示装置的一种结构示意图;
图6为本申请实施例提供的第五确定模块的一种结构示意图;
图7为本申请实施例提供的第三确定模块的一种结构示意图;
图8为本申请实施例提供的第二确定模块的一种结构示意图。
说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的部分,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示的以外的顺序实施。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
实施例一
请参阅图1,图1为本申请实施例提供的电子地图展示方法的一种实现流程图,可以包括:
步骤S11:当检测到在当前电子地图中触发电子地图展示操作指令时,根据所述操作指令确定目标电子地图的目标分辨率层级;
目前,不管是在以鼠标作为输入设备的电子设备(如台式计算机、笔记本等)中,还是在以触控屏作为输入设备的电子设备(如手机、平板电脑等智能移动终端)中,都可以浏览电子地图,因此,电子地图展示操作指令可以是由用户通过鼠标或者触控屏操作电子地图时触发,如在电子地图中进行双击或单击等操作,操作指令可以是电子地图放大操作、电子地图平移操作或者电子地图缩小操作。
步骤S12:根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标;
本发明实施例中,触发点即为用户在电子地图显示区域内对当前电子地图进行操作的位置点。触发点在当前电子地图中的第一图像像素坐标是指触发点在构成当前电子地图的若干瓦片所组成的图像(也称为画布)中的像素坐标。
需要说明的是,本发明实施例中,当检测到在当前电子地图中触发电子地 图展示操作指令时,根据所述操作指令确定目标电子地图的目标分辨率层级的步骤和根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标的步骤的执行顺序不做具体限定,可以先执行根据所述操作指令确定目标电子地图的目标分辨率层级的步骤,再执行根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标的步骤;或者,先执行根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标的步骤,再执行根据所述操作指令确定目标电子地图的目标分辨率层级的步骤;或者,根据所述操作指令确定目标电子地图的目标分辨率层级的步骤和根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标的步骤同时执行。
步骤S13:根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标;
依据第一图像像素坐标所在瓦片所属的分辨率层级(即当前分辨率层级)、目标分辨率层级,以及相邻两个分辨率层级之间的缩放比(即瓦片金字塔系数),可以由所述第一图像像素坐标确定目标分辨率层级中与所述第一图像像素坐标对应的第二图像像素坐标。
第二图像像素坐标即为触发点在目标电子地图中的图像像素坐标。
步骤S14:根据所述触发点的第二图像像素坐标,从所述目标分辨率层级对应的瓦片中确定出触发点所在的第一瓦片;
在确定第二图像像素坐标后,可以确定第二图像像素坐标属于目标分辨率层级中的哪个瓦片(即触发点在目标分辨率层级中的哪个瓦片),为方便叙述,这里将触发点所在的瓦片记为第一瓦片。
步骤S15:根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片;
可以以第一瓦片为初始待加载瓦片,逐渐扩大待加载瓦片范围,直至待加载瓦片覆盖所述电子地图显示区域。
覆盖所述电子地图显示区域的待加载瓦片中包括所述第一瓦片,也就是 说,覆盖所述电子地图显示区域的待加载瓦片由包括所述第一瓦片的若干瓦片组成。
步骤S16:下载所述待加载瓦片,对待加载瓦片进行渲染得到所述目标电子地图并展示。
可选地,上述实施例中步骤S15中,根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片的过程可以包括如下步骤:
步骤S21:以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片;
步骤S22:判断所述第一瓦片及选取的待扩张瓦片构成的待定区域是否覆盖所述电子地图显示区域;若是,则执行步骤S23;否则,执行步骤S24;
步骤S23:将所述待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;
步骤S24:从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片;
步骤S25:判断所述待定区域与选取的待扩张瓦片构成的新待定区域是否覆盖所述电子地图显示区域;若是,则执行步骤S26;否则,执行步骤S27;
步骤S26:将所述新待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;
步骤S27:以新待定区域为基础,重复前述从目标分辨率层级对应的瓦片中与所述待定区域(即最新确定的待定区域)相邻的瓦片中选取待扩张瓦片的步骤,直到得到覆盖所述电子地图显示区域的待定区域。
也就是说,若新待定区域未覆盖所述电子地图显示区域,则从目标分辨率层级对应的瓦片中与当前待定区域相邻的瓦片中选取待扩张瓦片,判断所述当前待定区域与选择的待扩张瓦片构成的新的待定区域是否覆盖所述电子地图显示区域;若是则执行步骤S26;否则,执行步骤S27。
可选的,步骤S21中,以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片,具体可以为:
以所述第一瓦片为中心,将目标分辨率层级对应的瓦片中与所述第一瓦片 相邻的所有瓦片选取为待扩张瓦片;
以及,步骤S24中,从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,具体可以为:将目标分辨率层级对应的瓦片中与所述待定区域相邻的所有瓦片选取为待扩张瓦片;
如图2所述,为本申请实施例提供的根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片的一种示例图,图2中虚线框表示电子地图显示区域。
首先,以第一瓦片为中心将与第一瓦片相邻的8个瓦片(图2中
Figure PCTCN2016073490-appb-000009
表征)选取为待扩张瓦片,所述8个瓦片与第一瓦片共9个瓦片构成第一待定区域;并判断第一待定区域是否覆盖所述电子地图显示区域;
若第一待定区域覆盖所述电子地图显示区域,则将第一待定区域内的瓦片确定为待加载瓦片;显然,图2中第一待定区域未覆盖所述电子地图显示区域。
若第一待定区域未覆盖所述电子地图显示区域,则将与第一待定区域相邻的16个瓦片(图2中以
Figure PCTCN2016073490-appb-000010
表征)选取为待扩张瓦片,所述16个瓦片与第一待定区域包含的9个瓦片构成第二待定区域;并判断第二待定区域是否覆盖所述电子地图显示区域;
若第二待定区域覆盖所述电子地图显示区域,则将第二待定区域内的瓦片确定为待加载瓦片;显然,图2中第二待定区域未覆盖所述电子地图显示区域。
若第二待定区域未覆盖所述电子地图显示区域,则将与第二待定区域相邻的24个瓦片(图2中以
Figure PCTCN2016073490-appb-000011
表征)选取为待扩张瓦片,所述24个瓦片与第二待定区域包含的25个瓦片构成第三待定区域,并判断第三待定区域是否覆盖所述电子地图显示区域;依次类推,直至所确定的待定区域覆盖所述电子地图显示区域。
图2所示实例中,第三待定区域覆盖所述电子地图显示区域,因此,可以确定第三待定区域中包含的49个瓦片为待加载瓦片。
可选的,前述步骤S21中,以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片,具体可以为:针对所述第一瓦片的每一条边界,判断该边界与所述电子地图显示区域中与该边界 最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与第一瓦片的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理;
以及,步骤S24中,从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,具体为:针对所述待定区域的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与该待定区域的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理。
如图3所述,为本申请实施例提供的根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片的另一种示例图。图3中虚线框表示电子地图显示区域。
首先,由于第一瓦片的每个边界均与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间存在空白区域,因此将与第一瓦片的各个边界相邻的所有瓦片选取为待扩张瓦片,图3中用
Figure PCTCN2016073490-appb-000012
表征;判断待扩张瓦片与第一瓦片构成的第四待定区域是否覆盖所述电子地图显示区域;
显然,第四待定区域未覆盖所述电子地图显示区域,由于第四待定区域未覆盖所述电子地图显示区域,而且所述第四待定区域的每一条边界均与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间存在空白区域,因此,将与第四待定区域的各个边界相邻的所有瓦片选取为待扩张瓦片,图3中用
Figure PCTCN2016073490-appb-000013
表征;判断新确定的待扩张瓦片与第四待定区域构成的第五待定区域是否覆盖所述电子地图显示区域;
显然,第五待定区域未覆盖所述电子地图显示区域,而由于第五待定区域的上边界和下边界均与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间不存在空白区域,而第五待定区域的左边界和右边界均与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间存在空白区域,因此,将与第五待定区域的左边界和右边界相邻的所有瓦片选取为待扩张瓦片,图3中用
Figure PCTCN2016073490-appb-000014
表征;判断新确定的待扩张瓦片与第五待定区域构成的第六待定区域是否覆盖所述电子地图显示区域;
显然,第六待定区域覆盖所述电子地图显示区域。结束根据所述第一瓦片 以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片的流程。也就是说,第六待定区域中包含的35个瓦片为待加载瓦片.
可选地,上述实施例中,步骤S13中根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标,具体可以包括:
若所述当前分辨率层级等于所述目标分辨率层级,则将所述第一图像像素坐标确定为所述第二图像像素坐标;
若所述当前分辨率层级低于所述目标分辨率层级,则依据如下公式(1)确定第二图像像素坐标:
Figure PCTCN2016073490-appb-000015
  式(1)
其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,即瓦片金字塔系数(例如,较常用的瓦片金字塔系数为4,即低分辨率层级的象元与高分辨率层级的象元的大小之比为4。需要说明的是,本方案不仅适用于瓦片金字塔系数为4的瓦片地图,还适用于其它瓦片金字塔系数的瓦片地图,如瓦片金字塔系数为3的瓦片地图);△P为所述目标分辨率层级与所述当前分辨率层级的差值,(X1,Y1)为触发点的第一图像像素坐标,(X2,Y2)为触发点的第二图像像素坐标;
若所述当前分辨率层级高于所述目标分辨率层级,则依据如下公式(2)确定第二图像像素坐标:
Figure PCTCN2016073490-appb-000016
    式(2)
其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,△P为所述当前分辨率层级与所述目标分辨率层级的差值,(X1,Y1)为触发点的第一图像像素坐标,(X2,Y2)为触发点的第二图像像素坐标。
在用户在对地图进行操作时,目标分辨率层级可能就是当前电子地图中的瓦片所属的分辨率层级,如平移地图时;目标分辨率层级也可能与当前电子地 图中的瓦片所属的分辨率层级不同,如放大地图或缩小地图时。
可选地,上述实施例中,步骤S12中根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标,具体可以为:
确定电子地图显示区域与当前电子地图对应的图像的尺寸比k;
按照下式(3),根据所述触发点的屏幕坐标(x,y)确定所述第一图像像素坐标(X0,Y0)为:
Figure PCTCN2016073490-appb-000017
    式(3)
其中,m为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的列索引号,n为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的行索引号;M为当前分辨率层级的一张瓦片包含的像素列数,N为当前分辨率层级的一张瓦片包含的像素行数;(x1,y1)为电子地图显示区域的中心坐标;(x2,y2)为所述当前电子地图对应的图像的中心坐标。
具体如图4所示,图4为本发明实施例提供的当前分辨率层级的瓦片地图的示例图,图4中,每张瓦片的大小为M×N。假设当前电子地图对应的图像为图4中的阴影部分,其中,阴影部分为当前电子地图对应的图像(当前电子地图对应的图像是指构成当前电子地图的若干瓦片所构成的图像),其中,阴影部分左上角瓦片的索引为(m,n)。
可选的,确定电子地图显示区域与当前电子地图对应的图像的尺寸比k可以通过如下方法实现:
分别计算所述电子地图显示区域和所述当前电子地图对应的图像的宽比值和高比值;即:
计算电子地图显示区域的宽与所述当前电子地图对应的图像的宽的比值k1
计算电子地图显示区域的高与所述当前电子地图对应的图像的的高的比值k2
将宽比值k1和高比值k2中取值较小的比值确定为所述k,即,
将k1和k2中的较小值确定为地图显示区域与当前电子地图对应的图像的尺寸比k,即k=min(k1,k2)。
本发明实施例提供的电子地图展示方法,依据在当前电子地图中触发的电子地图展示操作指令确定目标电子地图的目标分辨率层级,并确定触发所述操作指令的触发点在当前电子地图中的第一图像像素坐标,然后根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标,根据所述触发点的第二图像像素坐标,从所述目标分辨率层级对应的瓦片中确定出触发点所在的第一瓦片,根据第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片,下载所述待加载瓦片,并对待加载瓦片进行渲染得到目标电子地图后进行展示。
可见,本发明实施例中,一方面,当确定出触发点在目标分辨率层级对应的第一瓦片时,根据第一瓦片与电子地图显示区域之间的空间拓扑关系,从第一瓦片相邻的瓦片中确定覆盖电子显示区域的待加载瓦片,由于根据第一瓦片与电子地图显示区域的拓扑关系从第一瓦片相邻的瓦片中确定出覆盖电子地图显示区域的待加载瓦片计算较为简单、快速,计算量较少,从而提高了确定待加载瓦片的计算速度,从而从整体上提高了电子地图的显示速度。另一方面,在一旦确定出待加载瓦片覆盖电子地图显示区域时即不再继续确定待加载瓦片,以使得在确保待加载瓦片覆盖电子地图显示区域的基础上尽量使得待加载瓦片数量较少,从而减少了待加载瓦片数量,进一步提升电子地图显示速度。
实施例二
与实施例一所述的方法相对应,本申请实施例二还提供一种电子地图展示装置,如图5所示,包括:
第一确定模块51,第二确定模块52,第三确定模块53,第四确定模块54,第五确定模块55和展示模块56;其中,
第一确定模块51,用于当检测到在当前电子地图中触发电子地图展示操作指令时,根据所述操作指令确定目标电子地图的目标分辨率层级;
第二确定模块52,用于根据触发所述操作指令的触发点的屏幕坐标,确 定出触发点在当前电子地图中的第一图像像素坐标;
第三确定模块53,用于根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标;
第四确定模块54,用于根据所述触发点的第二图像像素坐标,从所述目标分辨率层级对应的瓦片中确定出触发点所在的第一瓦片;
第五确定模块55,用于根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片;
展示模块56,用于下载所述待加载瓦片,对待加载瓦片进行渲染得到所述目标电子地图并展示。
可选的,第五确定模块55的一种结构示意图如图6所示,可以包括:
选取单元61,用于以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片;
判断单元62,用于判断所述第一瓦片及选取的待扩张瓦片构成的待定区域是否覆盖所述电子地图显示区域,若是则触发第一处理单元63,若否则触发第二处理单元64;
第一处理单元63,用于将所述待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;
第二处理单元64,用于从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,并判断所述待定区域与选取的待扩张瓦片构成的新待定区域是否覆盖所述电子地图显示区域;若是,则将所述新待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;若否,则以新待定区域为基础,重复前述从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片的步骤,直到得到覆盖所述电子地图显示区域的待定区域。
可选的,所述选取单元61具体用于,以所述第一瓦片为中心,将目标分辨率层级对应的瓦片中与所述第一瓦片相邻的所有瓦片选取为待扩张瓦片;
以及,用于从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片的第二处理单元64具体用于,将目标分辨率层级对应的瓦片 中与所述待定区域相邻的所有瓦片选取为待扩张瓦片;
可选的,所述选取单元61具体用于,针对所述第一瓦片的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与第一瓦片的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理;
以及,用于从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片的第二处理单元64具体用于,针对所述待定区域的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与该待定区域的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理。
可选的,第三确定模块53的一种结构示意图如图7所示,可以包括:
第一确定单元71,用于若所述当前分辨率层级等于所述目标分辨率层级,则将所述第一图像像素坐标确定为所述第二图像像素坐标;
第二确定单元72,用于若所述当前分辨率层级低于所述目标分辨率层级,则依据如下公式确定第二图像像素坐标:
Figure PCTCN2016073490-appb-000018
其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,△P为所述目标分辨率层级与所述当前分辨率层级的差值,(X1,Y1)为第一图像像素坐标,(X2,Y2)为第二图像像素坐标;
第三确定单元73,用于若所述当前分辨率层级高于所述目标分辨率层级,则依据如下公式确定第二图像像素坐标:
Figure PCTCN2016073490-appb-000019
其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,△P为所述当前分辨率层级与所述目标分辨率层级的差值,(X1,Y1)为第一图像像素坐标,(X2,Y2)为第二图像像素坐标。
可选的,第二确定模块52的一种结构示意图如图8所示,可以包括:
第四确定单元81,用于确定电子地图显示区域与当前电子地图对应的图 像的尺寸比k;
第五确定单元82,用于按照下式,根据所述触发点的屏幕坐标(x,y)确定所述第一图像像素坐标(X0,Y0)为:
Figure PCTCN2016073490-appb-000020
Figure PCTCN2016073490-appb-000021
其中,m为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的列索引号,n为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的行索引号;M为当前分辨率层级的一张瓦片包含的像素列数,N为当前分辨率层级的一张瓦片包含的像素行数;(x1,y1)为电子地图显示区域的中心坐标;(x2,y2)为所述当前电子地图对应的图像的中心坐标。
可选的,第四确定单元81可以包括:
计算子单元,用于分别计算所述电子地图显示区域和所述当前电子地图对应的图像的宽比值和高比值;
确定子单元,用于将宽比值和高比值中取值较小的比值确定为所述k。
本发明实施例还提供一种电子设备,包括前述电子地图展示装置,该装置的具体结构如前所述,在此不再赘述。
本发明实施例提供的电子地图展示装置,依据在当前电子地图中触发的电子地图展示操作指令确定目标电子地图的目标分辨率层级,并确定触发所述操作指令的触发点在当前电子地图中的第一图像像素坐标,然后根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标,根据所述触发点的第二图像像素坐标,从所述目标分辨率层级对应的瓦片中确定出触发点所在的第一瓦片,根据第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片,下载所述待加载瓦片,并对待加载瓦片进行渲染得到目标电子地图后进行展示。
可见,本发明实施例中,一方面,当确定出触发点在目标分辨率层级对应的第一瓦片时,根据第一瓦片与电子地图显示区域之间的空间拓扑关系,从第一瓦片相邻的瓦片中确定覆盖电子显示区域的待加载瓦片,由于根据第一瓦片 与电子地图显示区域的拓扑关系从第一瓦片相邻的瓦片中确定出覆盖电子地图显示区域的待加载瓦片计算较为简单、快速,计算量较少,从而提高了确定待加载瓦片的计算速度,从而从整体上提高了电子地图的显示速度。另一方面,在一旦确定出待加载瓦片覆盖电子地图显示区域时即不再继续确定待加载瓦片,以使得在确保待加载瓦片覆盖电子地图显示区域的基础上尽量使得待加载瓦片数量较少,从而减少了待加载瓦片数量,进一步提升电子地图显示速度。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元 中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本发明。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本发明的精神或范围的情况下,在其它实施例中实现。因此,本发明将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。

Claims (13)

  1. 一种电子地图展示方法,其特征在于,包括:
    当检测到在当前电子地图中触发电子地图展示操作指令时,根据所述操作指令确定目标电子地图的目标分辨率层级;
    根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标;
    根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标;
    根据所述触发点的第二图像像素坐标,从所述目标分辨率层级对应的瓦片中确定出触发点所在的第一瓦片;
    根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片;
    下载所述待加载瓦片,对待加载瓦片进行渲染得到所述目标电子地图并展示。
  2. 根据权利要求1所述的方法,其特征在于,根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片,具体包括:
    以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片;
    判断所述第一瓦片及选取的待扩张瓦片构成的待定区域是否覆盖所述电子地图显示区域;
    若是,则:将所述待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;
    若否,则:从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,并判断所述待定区域与选取的待扩张瓦片构成的新待定区域是否覆盖所述电子地图显示区域;若是,则将所述新待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;若否,则以新待定区域为基础,重复前述从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取 待扩张瓦片的步骤,直到得到覆盖所述电子地图显示区域的待定区域。
  3. 根据权利要求2所述的方法,其特征在于,所述以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片,具体为:以所述第一瓦片为中心,将目标分辨率层级对应的瓦片中与所述第一瓦片相邻的所有瓦片选取为待扩张瓦片;
    以及,所述从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,具体为:将目标分辨率层级对应的瓦片中与所述待定区域相邻的所有瓦片选取为待扩张瓦片;
    或者,
    所述以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片,具体为:针对所述第一瓦片的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与第一瓦片的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理;
    以及,所述从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,具体为:针对所述待定区域的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与该待定区域的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理。
  4. 根据权利要求1~3任一项所述的方法,其特征在于,根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标,具体包括:
    若所述当前分辨率层级等于所述目标分辨率层级,则将所述第一图像像素坐标确定为所述第二图像像素坐标;
    若所述当前分辨率层级低于所述目标分辨率层级,则依据如下公式确定第二图像像素坐标:
    Figure PCTCN2016073490-appb-100001
    其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,△P为所述目标分辨率层级与 所述当前分辨率层级的差值,(X1,Y1)为第一图像像素坐标,(X2,Y2)为第二图像像素坐标;
    若所述当前分辨率层级高于所述目标分辨率层级,则依据如下公式确定第二图像像素坐标:
    Figure PCTCN2016073490-appb-100002
    其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,△P为所述当前分辨率层级与所述目标分辨率层级的差值,(X1,Y1)为第一图像像素坐标,(X2,Y2)为第二图像像素坐标。
  5. 根据权利要求1~3任一项所述的方法,其特征在于,根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标,具体为:
    确定电子地图显示区域与当前电子地图对应的图像的尺寸比k;
    按照下式,根据所述触发点的屏幕坐标(x,y)确定所述第一图像像素坐标(X0,Y0)为:
    Figure PCTCN2016073490-appb-100003
    Figure PCTCN2016073490-appb-100004
    其中,m为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的列索引号,n为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的行索引号;M为当前分辨率层级的一张瓦片包含的像素列数,N为当前分辨率层级的一张瓦片包含的像素行数;(x1,y1)为电子地图显示区域的中心坐标;(x2,y2)为所述当前电子地图对应的图像的中心坐标。
  6. 根据权利要求5所述的方法,其特征在于,所述确定电子地图显示区域与当前电子地图对应的图像的尺寸比k,具体包括:
    分别计算所述电子地图显示区域和所述当前电子地图对应的图像的宽比值和高比值;
    将宽比值和高比值中取值较小的比值确定为所述k。
  7. 一种电子地图展示装置,其特征在于,包括:
    第一确定模块,用于当检测到在当前电子地图中触发电子地图展示操作指令时,根据所述操作指令确定目标电子地图的目标分辨率层级;
    第二确定模块,用于根据触发所述操作指令的触发点的屏幕坐标,确定出触发点在当前电子地图中的第一图像像素坐标;
    第三确定模块,用于根据当前电子地图的当前分辨率层级、所述目标分辨率层级以及第一图像像素坐标,确定所述触发点在所述目标电子地图中的第二图像像素坐标;
    第四确定模块,用于根据所述触发点的第二图像像素坐标,从所述目标分辨率层级对应的瓦片中确定出触发点所在的第一瓦片;
    第五确定模块,用于根据所述第一瓦片以及电子地图显示区域,从目标分辨率层级对应的瓦片中确定出覆盖所述电子地图显示区域的待加载瓦片;
    展示模块,用于下载所述待加载瓦片,对待加载瓦片进行渲染得到所述目标电子地图并展示。
  8. 根据权利要求7所述的装置,其特征在于,所述第五确定模块包括:
    选取单元,用于以所述第一瓦片为中心,从目标分辨率层级对应的瓦片中与所述第一瓦片相邻的瓦片中选取待扩张瓦片;
    判断单元,用于判断所述第一瓦片及选取的待扩张瓦片构成的待定区域是否覆盖所述电子地图显示区域,若是则触发第一处理单元,若否则触发第二处理单元;
    第一处理单元,用于将所述待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;
    第二处理单元,用于从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片,并判断所述待定区域与选取的待扩张瓦片构成的新待定区域是否覆盖所述电子地图显示区域;若是,则将所述新待定区域包含的瓦片确定为覆盖所述电子地图显示区域的待加载瓦片;若否,则以新待定区域为基础,重复前述从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片的步骤,直到得到覆盖所述电子地图显示区域的待定区域。
  9. 根据权利要求8所述的装置,其特征在于,所述选取单元具体用于,以所述第一瓦片为中心,将目标分辨率层级对应的瓦片中与所述第一瓦片相邻的所有瓦片选取为待扩张瓦片;
    以及,用于从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片的第二处理单元具体用于,将目标分辨率层级对应的瓦片中与所述待定区域相邻的所有瓦片选取为待扩张瓦片;
    或者,
    所述选取单元具体用于,针对所述第一瓦片的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与第一瓦片的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理;
    以及,用于从目标分辨率层级对应的瓦片中与所述待定区域相邻的瓦片中选取待扩张瓦片的第二处理单元具体用于,针对所述待定区域的每一条边界,判断该边界与所述电子地图显示区域中与该边界最近且平行于该边界的边框之间是否存在空白区域,若是,则将目标分辨率层级对应的瓦片中与该待定区域的该条边界相邻的瓦片选取为待扩张瓦片,若否,则不做处理。
  10. 根据权利要求7-9任意一项所述的装置,其特征在于,所述第三确定模块包括:
    第一确定单元,用于若所述当前分辨率层级等于所述目标分辨率层级,则将所述第一图像像素坐标确定为所述第二图像像素坐标;
    第二确定单元,用于若所述当前分辨率层级低于所述目标分辨率层级,则依据如下公式确定第二图像像素坐标:
    Figure PCTCN2016073490-appb-100005
    其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,△P为所述目标分辨率层级与所述当前分辨率层级的差值,(X1,Y1)为第一图像像素坐标,(X2,Y2)为第二图像像素坐标;
    第三确定单元,用于若所述当前分辨率层级高于所述目标分辨率层级,则 依据如下公式确定第二图像像素坐标:
    Figure PCTCN2016073490-appb-100006
    其中,K为相邻两个分辨率层级中低分辨率层级的象元与高分辨率层级的象元的大小之比,△P为所述当前分辨率层级与所述目标分辨率层级的差值,(X1,Y1)为第一图像像素坐标,(X2,Y2)为第二图像像素坐标。
  11. 根据权利要求7-9任意一项所述的装置,其特征在于,所述第二确定模块包括:
    第四确定单元,用于确定电子地图显示区域与当前电子地图对应的图像的尺寸比k;
    第五确定单元,用于按照下式,根据所述触发点的屏幕坐标(x,y)确定所述第一图像像素坐标(X0,Y0)为:
    Figure PCTCN2016073490-appb-100007
    Figure PCTCN2016073490-appb-100008
    其中,m为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的列索引号,n为当前电子地图对应的图像中左上角瓦片在当前分辨率层级中的行索引号;M为当前分辨率层级的一张瓦片包含的像素列数,N为当前分辨率层级的一张瓦片包含的像素行数;(x1,y1)为电子地图显示区域的中心坐标;(x2,y2)为所述当前电子地图对应的图像的中心坐标。
  12. 根据权利要求11所述的装置,其特征在于,所述第四确定单元包括:
    计算子单元,用于分别计算所述电子地图显示区域和所述当前电子地图对应的图像的宽比值和高比值;
    确定子单元,用于将宽比值和高比值中取值较小的比值确定为所述k。
  13. 一种电子设备,其特征在于,包括如权利要求7~12任一项所述的电子地图展示装置。
PCT/CN2016/073490 2015-02-16 2016-02-04 电子地图展示方法、装置及电子设备 WO2016131390A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510084636.3A CN105989130B (zh) 2015-02-16 2015-02-16 电子地图展示方法、装置及电子设备
CN201510084636.3 2015-02-16

Publications (1)

Publication Number Publication Date
WO2016131390A1 true WO2016131390A1 (zh) 2016-08-25

Family

ID=56688923

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/073490 WO2016131390A1 (zh) 2015-02-16 2016-02-04 电子地图展示方法、装置及电子设备

Country Status (2)

Country Link
CN (1) CN105989130B (zh)
WO (1) WO2016131390A1 (zh)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110059143A (zh) * 2019-03-04 2019-07-26 中国电子科技集团公司第二十七研究所 一种基于遥感影像瓦片数据的地图绘制方法
CN111121794A (zh) * 2019-12-31 2020-05-08 广州文远知行科技有限公司 地图渲染方法、装置、终端设备及存储介质
CN111190894A (zh) * 2018-11-15 2020-05-22 阿里巴巴集团控股有限公司 一种地图显示的方法、装置及相关存储介质和客户端
CN111857626A (zh) * 2020-07-16 2020-10-30 北京奇虎科技有限公司 基于屏幕坐标的图片显示方法、装置、设备及存储介质
CN112214562A (zh) * 2019-07-12 2021-01-12 杭州海康威视系统技术有限公司 数据处理方法、装置、电子设备及机器可读存储介质
CN113127584A (zh) * 2019-12-31 2021-07-16 深圳云天励飞技术有限公司 一种地图标注方法、装置、电子设备及存储介质
CN113344943A (zh) * 2021-05-26 2021-09-03 北京国信空间信息科技有限公司 一种遥感影像瓦片碎片镶嵌编码方法
CN115344740A (zh) * 2022-10-15 2022-11-15 深圳安德空间技术有限公司 一种基于三维探地雷达数据的全时空检索方法及系统
CN116051764A (zh) * 2022-12-30 2023-05-02 北京华云星地通科技有限公司 一种遥感影像地图绘制方法及系统
CN113127584B (zh) * 2019-12-31 2024-06-07 深圳云天励飞技术有限公司 一种地图标注方法、装置、电子设备及存储介质

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106780319A (zh) * 2016-11-11 2017-05-31 航天恒星科技有限公司 超大图像的处理方法及装置
CN107016924B (zh) * 2016-12-20 2020-04-07 阿里巴巴集团控股有限公司 虚拟地图中的瓦片地图生成方法、更新方法和装置
CN110309243A (zh) * 2018-03-22 2019-10-08 杭州海康威视系统技术有限公司 获取实景电子地图的方法、装置、设备和存储介质
CN110851752B (zh) * 2019-09-25 2023-12-08 视联动力信息技术股份有限公司 一种图像传输方法及装置
CN111881230A (zh) * 2020-06-17 2020-11-03 汉海信息技术(上海)有限公司 一种地图区域的渲染方法、装置及电子设备
CN112201142B (zh) * 2020-09-14 2022-11-29 汉海信息技术(上海)有限公司 电子地图的道路编码牌配置方法、装置、电子设备和介质
CN112561800A (zh) * 2020-12-23 2021-03-26 杭州群核信息技术有限公司 全景图分级加载展示方法、装置、计算机设备和存储介质
CN113282647B (zh) * 2021-07-22 2021-09-28 武大吉奥信息技术有限公司 一种基于瓦片地图数据的区域控制处理方法
CN115063531B (zh) * 2022-05-31 2023-03-24 中建八局第二建设有限公司 一种智慧园区空间数据包轻量化处理和渲染方法
CN115423690B (zh) * 2022-11-04 2023-03-21 之江实验室 基于图像金字塔的高分辨率肝癌病理图像展示方法及系统
CN115984119B (zh) * 2023-03-20 2023-06-20 中科星图维天信(北京)科技有限公司 气象数据处理方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971560A (zh) * 2006-09-28 2007-05-30 江苏天泽信息产业有限公司 栅格电子地图源数据生成、组织及目标数据生成的方法
US20100002012A1 (en) * 2008-07-03 2010-01-07 Sony Ericsson Mobile Communications Ab Methods, electronic devices, and computer program products for providing geographical presence using map tiles
CN102819530A (zh) * 2011-06-10 2012-12-12 中兴通讯股份有限公司 电子地图的显示方法及装置
CN102819671A (zh) * 2012-07-25 2012-12-12 深圳市网信联动技术有限公司 一种结合地图进行数据分析的方法
CN103699439A (zh) * 2013-12-30 2014-04-02 北京奇虎科技有限公司 一种计算电子地图可视区域内的瓦片的装置和方法

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6724382B2 (en) * 2000-12-04 2004-04-20 Wildtangent, Inc. Method and apparatus for distributing and displaying maps electronically
CN104142926A (zh) * 2013-05-06 2014-11-12 北京四维图新科技股份有限公司 一种电子地图的处理方法及装置
CN103744855B (zh) * 2013-11-29 2017-07-28 航天恒星科技有限公司 一种基于聚合文件的瓦片地图存储方法
CN103700126B (zh) * 2013-12-30 2016-08-17 北京奇虎科技有限公司 一种控制电子地图缩放的装置及对应方法
CN103700125B (zh) * 2013-12-30 2016-08-17 奇飞翔艺(北京)软件有限公司 一种电子地图控制装置和电子地图控制方法
CN103955955B (zh) * 2014-04-30 2017-03-29 深圳华强信息产业有限公司 一种电子地图信息处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971560A (zh) * 2006-09-28 2007-05-30 江苏天泽信息产业有限公司 栅格电子地图源数据生成、组织及目标数据生成的方法
US20100002012A1 (en) * 2008-07-03 2010-01-07 Sony Ericsson Mobile Communications Ab Methods, electronic devices, and computer program products for providing geographical presence using map tiles
CN102819530A (zh) * 2011-06-10 2012-12-12 中兴通讯股份有限公司 电子地图的显示方法及装置
CN102819671A (zh) * 2012-07-25 2012-12-12 深圳市网信联动技术有限公司 一种结合地图进行数据分析的方法
CN103699439A (zh) * 2013-12-30 2014-04-02 北京奇虎科技有限公司 一种计算电子地图可视区域内的瓦片的装置和方法

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111190894A (zh) * 2018-11-15 2020-05-22 阿里巴巴集团控股有限公司 一种地图显示的方法、装置及相关存储介质和客户端
CN110059143A (zh) * 2019-03-04 2019-07-26 中国电子科技集团公司第二十七研究所 一种基于遥感影像瓦片数据的地图绘制方法
CN112214562B (zh) * 2019-07-12 2024-02-27 杭州海康威视系统技术有限公司 数据处理方法、装置、电子设备及机器可读存储介质
CN112214562A (zh) * 2019-07-12 2021-01-12 杭州海康威视系统技术有限公司 数据处理方法、装置、电子设备及机器可读存储介质
CN111121794A (zh) * 2019-12-31 2020-05-08 广州文远知行科技有限公司 地图渲染方法、装置、终端设备及存储介质
CN113127584A (zh) * 2019-12-31 2021-07-16 深圳云天励飞技术有限公司 一种地图标注方法、装置、电子设备及存储介质
CN111121794B (zh) * 2019-12-31 2022-01-04 广州文远知行科技有限公司 地图渲染方法、装置、终端设备及存储介质
CN113127584B (zh) * 2019-12-31 2024-06-07 深圳云天励飞技术有限公司 一种地图标注方法、装置、电子设备及存储介质
CN111857626A (zh) * 2020-07-16 2020-10-30 北京奇虎科技有限公司 基于屏幕坐标的图片显示方法、装置、设备及存储介质
CN113344943A (zh) * 2021-05-26 2021-09-03 北京国信空间信息科技有限公司 一种遥感影像瓦片碎片镶嵌编码方法
CN113344943B (zh) * 2021-05-26 2024-05-10 北京国信空间信息科技有限公司 一种遥感影像瓦片碎片镶嵌编码方法
CN115344740B (zh) * 2022-10-15 2023-01-10 深圳安德空间技术有限公司 一种基于三维探地雷达数据的全时空检索方法及系统
CN115344740A (zh) * 2022-10-15 2022-11-15 深圳安德空间技术有限公司 一种基于三维探地雷达数据的全时空检索方法及系统
CN116051764A (zh) * 2022-12-30 2023-05-02 北京华云星地通科技有限公司 一种遥感影像地图绘制方法及系统
CN116051764B (zh) * 2022-12-30 2024-01-30 北京华云星地通科技有限公司 一种遥感影像地图绘制方法及系统

Also Published As

Publication number Publication date
CN105989130A (zh) 2016-10-05
CN105989130B (zh) 2019-06-14

Similar Documents

Publication Publication Date Title
WO2016131390A1 (zh) 电子地图展示方法、装置及电子设备
US10529106B2 (en) Optimizing image cropping
JP6167703B2 (ja) 表示制御装置、プログラム及び記録媒体
US9111364B2 (en) Method of content aware image resizing
US10474895B2 (en) System and methods for semi-automated editing of orthomosaics built from remotely-sensed imagery
JP4696635B2 (ja) 画像領域の高凝縮要約画像を生成する方法、装置およびプログラム
JP5628300B2 (ja) アニメーションに使用するための望ましい物理的特徴を伴うグラフィックオブジェクトを生成する方法、装置及びコンピュータプログラム製品
US20160357415A1 (en) Quick review of captured image data
US9123138B2 (en) Adaptive patch-based image upscaling
WO2017063324A1 (zh) 一种窗口显示方法及移动终端
US9336567B2 (en) Content-aware weighted image manipulations
US9791971B2 (en) Registration of electronic displays
US9224194B2 (en) Joint video deblurring and stabilization
JP7320617B2 (ja) フォーム処理方法、装置、インテリジェント対話型タブレット及び記憶媒体
US20170329502A1 (en) Method and device for processing image
WO2020001222A1 (zh) 图像处理方法、装置、计算机可读介质及电子设备
CN106897321B (zh) 显示地图数据的方法及装置
US20140079341A1 (en) Image processing apparatus and image processing method
KR102317013B1 (ko) 컴퓨팅 장치를 이용한 객체 관리 및 시각화
US20140368509A1 (en) Iterative Patch-Based Image Upscaling
CN107155059A (zh) 一种图像预览方法及终端
US10534505B2 (en) Technique for preventing unnecessary overlap of user interfaces
WO2017088292A1 (zh) 调整图片文字的显示方法及装置
CN109104627B (zh) 安卓电视的焦点背景生成方法、存储介质、设备及系统
KR20230138393A (ko) 프리뷰 영상을 생성하는 방법 및 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16751921

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16751921

Country of ref document: EP

Kind code of ref document: A1