[Liblas-commits] r1195 - trunk/python/liblas

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Apr 9 13:24:25 EDT 2009


Author: hobu
Date: Thu Apr  9 13:24:25 2009
New Revision: 1195
URL: http://liblas.org/changeset/1195

Log:
descale method was incorrect #126

Modified:
   trunk/python/liblas/point.py

Modified: trunk/python/liblas/point.py
==============================================================================
--- trunk/python/liblas/point.py	(original)
+++ trunk/python/liblas/point.py	Thu Apr  9 13:24:25 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