[Liblas-commits] hg-main-tree: fix ups for bounds-based reading for OCI

liblas-commits at liblas.org liblas-commits at liblas.org
Thu Mar 17 11:15:47 EDT 2011


details:   http://hg.libpc.orghg-main-tree/rev/eb8dc891ad8f
changeset: 329:eb8dc891ad8f
user:      Howard Butler <hobu.inc at gmail.com>
date:      Thu Mar 17 10:15:32 2011 -0500
description:
fix ups for bounds-based reading for OCI

diffstat:

 src/drivers/oci/Writer.cpp |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 0ab6915ad1d7 -r eb8dc891ad8f src/drivers/oci/Writer.cpp
--- a/src/drivers/oci/Writer.cpp	Thu Mar 17 11:06:31 2011 -0400
+++ b/src/drivers/oci/Writer.cpp	Thu Mar 17 10:15:32 2011 -0500
@@ -949,7 +949,9 @@
         for (it = ids.begin(); it != ids.end(); it++)
         {
             m_stage.seekToPoint(*it);
-            m_stage.read(buffer);
+            
+            // FIXME: Use a user bounds here instead of reading everything
+            m_stage.read(buffer, libpc::Bounds<double>());
             
             block.copyPointsFast(static_cast<std::size_t>(count), static_cast<std::size_t>(0), buffer, 1); // put single point onto our block
 


More information about the Liblas-commits mailing list