[Liblas-commits] hg: make sure to reset ZipPoint when doing a Reset()

liblas-commits at liblas.org liblas-commits at liblas.org
Wed Jun 29 11:03:46 EDT 2011


details:   http://hg.liblas.orghg/rev/0b5b0fcb0ff9
changeset: 3039:0b5b0fcb0ff9
user:      Howard Butler <hobu.inc at gmail.com>
date:      Wed Jun 29 10:03:26 2011 -0500
description:
make sure to reset ZipPoint when doing a Reset()
Subject: hg: update laszip_description string

details:   http://hg.liblas.orghg/rev/b1bb60c9a930
changeset: 3040:b1bb60c9a930
user:      Howard Butler <hobu.inc at gmail.com>
date:      Wed Jun 29 10:03:39 2011 -0500
description:
update laszip_description string

diffstat:

 src/detail/reader/zipreader.cpp |  2 ++
 src/detail/zippoint.cpp         |  2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 62bcd5d0e24e -r b1bb60c9a930 src/detail/reader/zipreader.cpp
--- a/src/detail/reader/zipreader.cpp	Wed Jun 29 08:33:48 2011 -0500
+++ b/src/detail/reader/zipreader.cpp	Wed Jun 29 10:03:39 2011 -0500
@@ -95,6 +95,8 @@
     m_ifs.clear();
     m_ifs.seekg(0);
 
+    m_zipPoint.reset();
+    m_unzipper.reset();
     
     // Reset sizes and set internal cursor to the beginning of file.
     m_current = 0;
diff -r 62bcd5d0e24e -r b1bb60c9a930 src/detail/zippoint.cpp
--- a/src/detail/zippoint.cpp	Wed Jun 29 08:33:48 2011 -0500
+++ b/src/detail/zippoint.cpp	Wed Jun 29 10:03:39 2011 -0500
@@ -58,7 +58,7 @@
 
 static std::string laszip_userid("laszip encoded");
 static boost::uint16_t laszip_recordid = 22204;
-static std::string laszip_description = "encoded for sequential access";
+static std::string laszip_description = "http://laszip.org";
 
 
 ZipPoint::ZipPoint(PointFormatName format, const std::vector<VariableRecord>& vlrs)


More information about the Liblas-commits mailing list