[Liblas-commits] hg: use data_format_id for point format, not merely .format

liblas-commits at liblas.org liblas-commits at liblas.org
Mon Feb 21 15:53:24 EST 2011


details:   http://hg.liblas.orghg/rev/04700629bf51
changeset: 2882:04700629bf51
user:      Howard Butler <hobu.inc at gmail.com>
date:      Mon Feb 21 15:50:48 2011 -0500
description:
use data_format_id for point format, not merely .format

diffstat:

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

diffs (12 lines):

diff -r 395e5c0ee347 -r 04700629bf51 python/scripts/oci2las.py
--- a/python/scripts/oci2las.py	Mon Feb 21 15:21:42 2011 -0500
+++ b/python/scripts/oci2las.py	Mon Feb 21 15:50:48 2011 -0500
@@ -209,7 +209,7 @@
         if self.srs:
             self.header.srs = self.srs
             
-        self.header.format = 1
+        self.header.data_format_id = 1
         output = lasfile.File(self.options.output,mode='w',header=self.header)
         return output
     


More information about the Liblas-commits mailing list