[Liblas-commits] hg: make sure we only end up with one Rush VLR as we copy header...

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Jan 14 11:52:33 EST 2011


details:   http://hg.liblas.orghg/rev/3651590b0e75
changeset: 2769:3651590b0e75
user:      Howard Butler <hobu.inc at gmail.com>
date:      Fri Jan 14 10:52:26 2011 -0600
description:
make sure we only end up with one Rush VLR as we copy headers and set georeferencing

diffstat:

 src/detail/writer/header.cpp |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 0ee0e38cea1e -r 3651590b0e75 src/detail/writer/header.cpp
--- a/src/detail/writer/header.cpp	Fri Jan 14 10:05:19 2011 -0600
+++ b/src/detail/writer/header.cpp	Fri Jan 14 10:52:26 2011 -0600
@@ -128,7 +128,9 @@
     } 
     else 
     {
+        
         // Rewrite the georeference VLR entries if they exist
+        m_header.DeleteVLRs("liblas", 2112);
         m_header.SetGeoreference();
 
         // If we have a custom schema, add the VLR and write it into the 


More information about the Liblas-commits mailing list