[Liblas-commits] hg-main-tree: a few debugging updates for oracle
liblas-commits at liblas.org
liblas-commits at liblas.org
Tue Apr 5 13:00:07 EDT 2011
details: http://hg.libpc.orghg-main-tree/rev/fbd1fc6c4e6e
changeset: 498:fbd1fc6c4e6e
user: Howard Butler <hobu.inc at gmail.com>
date: Tue Apr 05 12:00:00 2011 -0500
description:
a few debugging updates for oracle
diffstat:
apps/pc2pc.cpp | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 92a568af77a7 -r fbd1fc6c4e6e apps/pc2pc.cpp
--- a/apps/pc2pc.cpp Mon Apr 04 15:24:32 2011 -0500
+++ b/apps/pc2pc.cpp Tue Apr 05 12:00:00 2011 -0500
@@ -131,13 +131,15 @@
libpc::drivers::oci::Options options;
boost::property_tree::ptree& tree = options.GetPTree();
- tree.put("capacity", 12);
- tree.put("connection", "lidar/lidar at oracle.hobu.biz/crrel");
+ boost::uint32_t capacity = 10000;
+ tree.put("capacity", capacity);
+ tree.put("connection", "lidar/lidar at 192.168.56.101/orcl");
+ // tree.put("connection", "lidar/lidar at oracle.hobu.biz/crrel");
tree.put("debug", true);
tree.put("verbose", true);
libpc::filters::CacheFilter cache(reader, 1, 1024);
- libpc::filters::Chipper chipper(cache, 12);
+ libpc::filters::Chipper chipper(cache, capacity);
libpc::drivers::oci::Writer writer(chipper, options);
writer.write(numPoints);
@@ -151,7 +153,8 @@
libpc::drivers::oci::Options options;
boost::property_tree::ptree& tree = options.GetPTree();
tree.put("capacity", 12);
- tree.put("connection", "lidar/lidar at oracle.hobu.biz/crrel");
+ tree.put("connection", "lidar/lidar at 192.168.56.101/orcl");
+ // tree.put("connection", "lidar/lidar at oracle.hobu.biz/crrel");
tree.put("debug", true);
tree.put("verbose", true);
tree.put("select_sql", "select * from output");
More information about the Liblas-commits
mailing list