[Liblas-commits] r1218 - trunk/apps
liblas-commits at liblas.org
liblas-commits at liblas.org
Thu Apr 16 11:05:13 EDT 2009
Author: hobu
Date: Thu Apr 16 11:05:13 2009
New Revision: 1218
URL: http://liblas.org/changeset/1218
Log:
change return number logic to match what Arttu is actually doing in Terrasolid
Modified:
trunk/apps/ts2las.cpp
Modified: trunk/apps/ts2las.cpp
==============================================================================
--- trunk/apps/ts2las.cpp (original)
+++ trunk/apps/ts2las.cpp Thu Apr 16 11:05:13 2009
@@ -185,13 +185,14 @@
} else if (point->Echo == 1) {
p.SetReturnNumber(1);
} else if (point->Echo == 3) {
- p.SetReturnNumber(5);
- p.SetNumberOfReturns(5);
+ p.SetReturnNumber(2);
+ p.SetNumberOfReturns(2);
} else {
// I don't know what the hell to do here without cumulating
// through all of the points. Why wouldn't you store the return
// number?!
- p.SetReturnNumber(3);
+ p.SetReturnNumber(2);
+ p.SetNumberOfReturns(3);
}
try {
More information about the Liblas-commits
mailing list