Beispiel #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))
Beispiel #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))
Beispiel #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]))
Beispiel #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]))
Beispiel #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))
Beispiel #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]))
Beispiel #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))
Beispiel #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]))