Exemple #1
0
	def _graph_bounds(self):
		'Vrati hranice grafu ako signed georect.'
		graph_header = self.gfile.read_header()
		bounds = graph_header['bounds']
		sw = gps.signed_position(bounds[0][0], bounds[0][1])
		ne = gps.signed_position(bounds[1][0], bounds[1][1])
		return gps.georect(sw, ne)
Exemple #2
0
	def __init__(self, raw):
		self.position = gps.signed_position(raw[0], raw[1])