本文整理汇总了Python中src.base.Bbox.Bbox.from_lbrt方法的典型用法代码示例。如果您正苦于以下问题:Python Bbox.from_lbrt方法的具体用法?Python Bbox.from_lbrt怎么用?Python Bbox.from_lbrt使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类src.base.Bbox.Bbox
的用法示例。
在下文中一共展示了Bbox.from_lbrt方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: _generate_small_bboxes
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def _generate_small_bboxes(self):
mminx, mminy = self.mercator.LatLonToMeters(self.big_bbox.bottom, self.big_bbox.left)
rows = self._calc_rows()
columns = self._calc_columns()
side = Constants.SMALL_BBOX_SIDE_LENGHT
for x in range(0, columns):
for y in range(0, rows):
bottom, left = self.mercator.MetersToLatLon(mminx + (side * x), mminy + (side * y))
top, right = self.mercator.MetersToLatLon(mminx + (side * (x + 1)), mminy + (side * (y + 1)))
small_bbox = Bbox.from_lbrt(left, bottom, right, top)
self.small_bboxes.append(small_bbox)
示例2: winti1
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def winti1(self):
return Bbox.from_lbrt(8.716155, 47.511909, 8.721038, 47.515722)
示例3: ZurichBellvue
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def ZurichBellvue(self):
return Bbox.from_lbrt(8.54279671719532, 47.366177501999516, 8.547088251618977, 47.36781249586627)
示例4: Lyss
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def Lyss(self):
#Trainset
return Bbox.from_lbrt(7.304337, 47.072818, 7.308200, 47.075229)
示例5: zh_schlieren_test
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def zh_schlieren_test(self):
return Bbox.from_lbrt(8.441207, 47.394649, 8.449643, 47.399710)
示例6: ChurBhfAltstadt
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def ChurBhfAltstadt(self):
#TrainSet
return Bbox.from_lbrt(9.528281, 46.850342, 9.532599, 46.853980)
示例7: BernKoeniz
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def BernKoeniz(self):
return Bbox.from_lbrt(7.406960, 46.920077, 7.415008, 46.924285)
示例8: ag_baden
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def ag_baden(self):
return Bbox.from_lbrt(8.308925, 47.464633, 8.317642, 47.467798)
示例9: ag_baden2
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def ag_baden2(self):
return Bbox.from_lbrt( 8.314834, 47.462698, 8.324612, 47.468880)
示例10: staefa
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def staefa(self):
return Bbox.from_lbrt(8.729157, 47.233379, 8.741170, 47.238049)
示例11: zh_buchs
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def zh_buchs(self):
return Bbox.from_lbrt(8.432206, 47.456906, 8.441375, 47.461262)
示例12: heiligkreuz
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def heiligkreuz(self):
return Bbox.from_lbrt(9.408957, 47.055055, 9.418505, 47.060288)
示例13: thun_innenstadt
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def thun_innenstadt(self):
return Bbox.from_lbrt(7.624835, 46.758937, 7.630741, 46.762592)
示例14: winti_innenstadt
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def winti_innenstadt(self):
return Bbox.from_lbrt(8.723835, 47.497560, 8.733661, 47.501156)
示例15: Luzern
# 需要导入模块: from src.base.Bbox import Bbox [as 别名]
# 或者: from src.base.Bbox.Bbox import from_lbrt [as 别名]
def Luzern(self):
return Bbox.from_lbrt(8.301307, 47.046349, 8.305528, 47.051053)