query.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:api 作者: opentraffic 项目源码 文件源码
def BottomNeighbor(self, tileid):
    return tileid if (tileid < self.ncolumns) else (tileid - self.ncolumns)

  # Get the list of tiles that lie within the specified bounding box.
  # The method finds the center tile and spirals out by finding neighbors
  # and recursively checking if tile is inside and checking/adding
  # neighboring tiles
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号