示例#1
0
 def testTransform(self):
     p = geom.Point(-125, 50)
     rp = proj.transform(p, 'epsg:4326', 'epsg:3005')
     self.assertEqual(1071693, int(rp.x))
     self.assertEqual(554289, int(rp.y))
示例#2
0
 def testTransform(self):
   p = geom.Point(-125,50)
   rp = proj.transform(p,'epsg:4326','epsg:3005')
   assertClose(self, 1071693,int(rp.x))
   assertClose(self, 554289,int(rp.y))
示例#3
0
 def testTransformList(self):
     l = proj.transform([-125, 50], 'epsg:4326', 'epsg:3005')
     self.assertEqual(1071693, int(l[0]))
     self.assertEqual(554289, int(l[1]))
示例#4
0
 def testTransformList(self):
   l = proj.transform([-125,50],'epsg:4326','epsg:3005')
   assertClose(self, 1071693,int(l[0]))
   assertClose(self, 554289,int(l[1]))
示例#5
0
 def testTransform(self):
     p = geom.Point(-125, 50)
     rp = proj.transform(p, 'epsg:4326', 'epsg:3005')
     assertClose(self, 1071693, int(rp.x))
     assertClose(self, 554289, int(rp.y))
示例#6
0
 def testTransformList(self):
     l = proj.transform([-125, 50], 'epsg:4326', 'epsg:3005')
     assertClose(self, 1071693, int(l[0]))
     assertClose(self, 554289, int(l[1]))
示例#7
0
 def testTransform(self):
   p = geom.Point(-125,50)
   rp = proj.transform(p,'epsg:4326','epsg:3005')
   self.assertEqual(1071693,int(rp.x))
   self.assertEqual(554289,int(rp.y))
示例#8
0
 def testTransformList(self):
   l = proj.transform([-125,50],'epsg:4326','epsg:3005')
   self.assertEqual(1071693,int(l[0]))
   self.assertEqual(554289,int(l[1]))