Esempio n. 1
0
 def testMultiPointFromJTS(self):
     mp = geom.MultiPoint(
         self.gf.createMultiPoint([
             self.gf.createPoint(Coordinate(1, 2)),
             self.gf.createPoint(Coordinate(3, 4))
         ]))
     self.assertEqual('MULTIPOINT ((1 2), (3 4))', str(mp))
Esempio n. 2
0
 def testMultiPoint(self):
     mp = geom.MultiPoint([1, 2], [3, 4])
     self.assertEqual('MULTIPOINT ((1 2), (3 4))', str(mp))