[Liblas-commits] r1084 - in trunk: src test/data

liblas-commits at liblas.org liblas-commits at liblas.org
Sat Mar 7 14:24:52 EST 2009


Author: hobu
Date: Sat Mar  7 14:24:51 2009
New Revision: 1084
URL: http://liblas.org/changeset/1084

Log:
oops we were dumb with ASCII records

Modified:
   trunk/src/lassrs.cpp
   trunk/test/data/1.0_0.las
   trunk/test/data/1.0_1.las
   trunk/test/data/1.1_0.las
   trunk/test/data/1.1_1.las
   trunk/test/data/1.2_0.las
   trunk/test/data/1.2_1.las
   trunk/test/data/1.2_2.las
   trunk/test/data/1.2_3.las

Modified: trunk/src/lassrs.cpp
==============================================================================
--- trunk/src/lassrs.cpp	(original)
+++ trunk/src/lassrs.cpp	Sat Mar  7 14:24:51 2009
@@ -294,13 +294,6 @@
              uint8_t* v =  reinterpret_cast<uint8_t*>(&avalue);
              
              data.push_back(v[0]);
-             data.push_back(v[1]);
-             data.push_back(v[2]);
-             data.push_back(v[3]);
-             data.push_back(v[4]);
-             data.push_back(v[5]);
-             data.push_back(v[6]);
-             data.push_back(v[7]);
              
          }
          record.SetData(data);
@@ -486,6 +479,7 @@
     }
     
     poSRS->exportToWkt(&poWKT);
+    printf("wkt: %s\n", poWKT);
     delete poSRS;
     
     std::string tmp(poWKT);
@@ -497,7 +491,7 @@
     {
         throw std::invalid_argument("could not set m_gtiff from Proj4");
     }
-
+    GTIFPrint(m_gtiff, 0, 0);
     ret = GTIFWriteKeys(m_gtiff);
     if (!ret) 
     {

Modified: trunk/test/data/1.0_0.las
==============================================================================
Binary files. No diff available.

Modified: trunk/test/data/1.0_1.las
==============================================================================
Binary files. No diff available.

Modified: trunk/test/data/1.1_0.las
==============================================================================
Binary files. No diff available.

Modified: trunk/test/data/1.1_1.las
==============================================================================
Binary files. No diff available.

Modified: trunk/test/data/1.2_0.las
==============================================================================
Binary files. No diff available.

Modified: trunk/test/data/1.2_1.las
==============================================================================
Binary files. No diff available.

Modified: trunk/test/data/1.2_2.las
==============================================================================
Binary files. No diff available.

Modified: trunk/test/data/1.2_3.las
==============================================================================
Binary files. No diff available.


More information about the Liblas-commits mailing list