[Liblas-commits] hg: add (c) and clean up a bit
liblas-commits at liblas.org
liblas-commits at liblas.org
Tue Jul 20 11:41:45 EDT 2010
changeset 047f7d4e403b in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=047f7d4e403b
summary: add (c) and clean up a bit
diffstat:
apps/lasblock.cpp | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diffs (45 lines):
diff -r 2d95cf229452 -r 047f7d4e403b apps/lasblock.cpp
--- a/apps/lasblock.cpp Mon Jul 19 21:58:10 2010 -0500
+++ b/apps/lasblock.cpp Tue Jul 20 10:41:38 2010 -0500
@@ -1,10 +1,21 @@
+// $Id$
+//
+// lasblock generates block output for las2oci to store lidar data in OPC tables
+//
+//
+// (C) Copyright Howard Butler 2010, hobu.inc at gmail.com
+//
+// Distributed under the BSD License
+// (See accompanying file LICENSE.txt or copy at
+// http://www.opensource.org/licenses/bsd-license.php)
+//
+
#include <liblas/lasreader.hpp>
#include <liblas/lasbounds.hpp>
#include "chipper.hpp"
-
#include <fstream>
#include <vector>
@@ -112,7 +123,6 @@
std::cout << "Blocking " << input<< " to " << output <<std::endl;
- // The following is a simple test of the results.
liblas::uint32_t num_blocks = c.GetBlockCount();
std::cout << "Block count: " << num_blocks << std::endl;
@@ -131,10 +141,8 @@
for ( liblas::uint32_t pi = 0; pi < ids.size(); ++pi )
{
out << ids[pi] << " ";
-
}
- // Test this rectangle against all of the other rectangles.
liblas::Bounds bds(b.GetXmin(), b.GetYmin(), b.GetXmax(), b.GetYmax());
out << std::endl;
More information about the Liblas-commits
mailing list