[Liblas-commits] hg: put the header's ptree in a summary tag like
it should be
liblas-commits at liblas.org
liblas-commits at liblas.org
Thu Jan 13 11:21:04 EST 2011
details: http://hg.liblas.orghg/rev/f21cf1799b09
changeset: 2748:f21cf1799b09
user: Howard Butler <hobu.inc at gmail.com>
date: Thu Jan 13 10:20:53 2011 -0600
description:
put the header's ptree in a summary tag like it should be
diffstat:
apps/lasinfo.cpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (14 lines):
diff -r f8ae92d489ba -r f21cf1799b09 apps/lasinfo.cpp
--- a/apps/lasinfo.cpp Thu Jan 13 08:17:27 2011 -0600
+++ b/apps/lasinfo.cpp Thu Jan 13 10:20:53 2011 -0600
@@ -243,7 +243,9 @@
if (check)
tree = summary.GetPTree();
else
- tree = header.GetPTree();
+ {
+ tree.add_child("summary.header", header.GetPTree());
+ }
liblas::property_tree::write_xml(std::cout, tree);
return 0;
More information about the Liblas-commits
mailing list