Example #1
0
 def from_utfgrid_file(cls, file):
     return cls.from_utfgrid(UTFGrid.from_file(file))
Example #2
0
 def setUp(self):
     self.utfgrid = UTFGrid.from_file(open('europe.json'))
     self.pnggrid = PNGGrid.from_utfgrid_file(open('europe.json'))
Example #3
0
 def setUp(self):
     self.utfgrid = UTFGrid.from_file(open('demo.json'))
Example #4
0
 def from_utfgrid_file(cls, file):
     return cls.from_utfgrid(UTFGrid.from_file(file))