cartopy.io.img_tiles.MapQuestOSM#

class cartopy.io.img_tiles.MapQuestOSM(desired_tile_form='RGB', user_agent='CartoPy/0.24.1', cache=False)[源代码]#
find_images(target_domain, target_z, start_tile=(0, 0, 0))#

目标域是原生坐标中的一个形状优美的多边形。

tile_bbox(x, y, z, y0_at_north_pole=True)#

返回 (x0, x1), (y0, y1) 给定x、y、z磁贴位置的边界框。

参数:
  • x -- Google磁贴编号系统中的x磁贴坐标。

  • y -- Google磁贴编号系统中的y磁贴坐标。

  • z -- Google磁贴编号系统中的z磁贴坐标。

  • y0_at_north_pole (optional) -- 布尔值表示y坐标的编号是否从北极开始(正如Google磁贴的惯例)(在这种情况下,它将从南极开始,正如TMS的惯例)。切换到True。

tileextent(x_y_z)#

返回范围多元组 (x0,x1,y0,y1) 墨卡托坐标。