[Liblas-commits] r1069 - in trunk/src: . detail

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Feb 25 00:33:16 EST 2009


Author: hobu
Date: Wed Feb 25 00:33:16 2009
New Revision: 1069
URL: http://liblas.org/changeset/1069

Log:
clean up some warnings, add a FIXME for projecting while writing PointRecord, which needs to be descaled

Modified:
   trunk/src/detail/writer.cpp
   trunk/src/lassrs.cpp

Modified: trunk/src/detail/writer.cpp
==============================================================================
--- trunk/src/detail/writer.cpp	(original)
+++ trunk/src/detail/writer.cpp	Wed Feb 25 00:33:16 2009
@@ -153,6 +153,7 @@
         throw std::runtime_error("could not project point!");
     }
     
+    // FIXME: PointRecords need to be descaled
     point.x = x;
     point.y = y;
     point.z = z;

Modified: trunk/src/lassrs.cpp
==============================================================================
--- trunk/src/lassrs.cpp	(original)
+++ trunk/src/lassrs.cpp	Wed Feb 25 00:33:16 2009
@@ -273,7 +273,7 @@
                                       "Upgrade your libgeotiff to a version greater "
                                       "than r1531 (libgeotiff 1.2.6)");
                      }
-         uint32_t length = acount;
+         uint16_t length = acount;
          record.SetRecordLength(length);
          
          // Copy the data into the data vector


More information about the Liblas-commits mailing list