[Liblas-commits] hg: use z's scale for determining precision instead of x's

liblas-commits at liblas.org liblas-commits at liblas.org
Sun Aug 22 23:58:12 EDT 2010


changeset a6eb1a6e8452 in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=a6eb1a6e8452
summary: use z's scale for determining precision instead of x's

diffstat:

 src/lasheader.cpp |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r f8c2bf0bcbfb -r a6eb1a6e8452 src/lasheader.cpp
--- a/src/lasheader.cpp	Sun Aug 22 22:26:57 2010 -0500
+++ b/src/lasheader.cpp	Sun Aug 22 22:58:05 2010 -0500
@@ -880,7 +880,7 @@
     os << "  Number of Points by Return:  " << returns_oss.str() << std::endl;
 
     os.setf(std::ios_base::fixed, std::ios_base::floatfield);
-    double scale = tree.get<double>("scale.x");
+    double scale = tree.get<double>("scale.z");
     
     double frac = 0;
     double integer = 0;


More information about the Liblas-commits mailing list