[Liblas-commits] hg: classifications are ints, not doubles

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Feb 18 11:02:40 EST 2011


details:   http://hg.liblas.orghg/rev/c71f4e0b0e9c
changeset: 2868:c71f4e0b0e9c
user:      Howard Butler <hobu.inc at gmail.com>
date:      Fri Feb 18 10:02:35 2011 -0600
description:
classifications are ints, not doubles

diffstat:

 python/scripts/oci2las.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5bc1a235f1e6 -r c71f4e0b0e9c python/scripts/oci2las.py
--- a/python/scripts/oci2las.py	Fri Feb 18 08:10:20 2011 -0600
+++ b/python/scripts/oci2las.py	Fri Feb 18 10:02:35 2011 -0600
@@ -148,7 +148,7 @@
             x, y, z, time, classification, blk_id, pt_id = d
             p = point.Point()
             p.x = x; p.y = y; p.z = z
-            p.classification = classification
+            p.classification = int(classification)
             p.raw_time = time
 
             if self.first_point:


More information about the Liblas-commits mailing list