[Liblas-commits] r1330 - branches/1.2/python/liblas

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Jul 31 22:13:33 EDT 2009


Author: hobu
Date: Fri Jul 31 22:13:33 2009
New Revision: 1330
URL: http://liblas.org/changeset/1330

Log:
descale is wrong

Modified:
   branches/1.2/python/liblas/point.py

Modified: branches/1.2/python/liblas/point.py
==============================================================================
--- branches/1.2/python/liblas/point.py	(original)
+++ branches/1.2/python/liblas/point.py	Fri Jul 31 22:13:33 2009
@@ -224,7 +224,7 @@
     def descale(self, header):
         self.x = (self.x - header.offset[0]) / header.scale[0]
         self.y = (self.y - header.offset[1]) / header.scale[1]
-        self.z = (self.y - header.offset[2]) / header.scale[2]
+        self.z = (self.z - header.offset[2]) / header.scale[2]
     
     def scale(self, header):
         self.x = self.x + header.scale[0] + header.offset[0]


More information about the Liblas-commits mailing list