[Liblas-commits] r1233 - trunk/apps

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Apr 17 11:14:43 EDT 2009


Author: hobu
Date: Fri Apr 17 11:14:42 2009
New Revision: 1233
URL: http://liblas.org/changeset/1233

Log:
commented out code for getting the normalized geotiff stuff -- broken and segufalts for some reason when doing GTIFPrintDefn to the FILE* though

Modified:
   trunk/apps/lascommon.c

Modified: trunk/apps/lascommon.c
==============================================================================
--- trunk/apps/lascommon.c	(original)
+++ trunk/apps/lascommon.c	Fri Apr 17 11:14:42 2009
@@ -2,6 +2,7 @@
 #include <liblas.h>
 #ifdef HAVE_GEOTIFF
 #include <geotiff.h>
+#include <geo_normalize.h>
 #endif
 /* std */
 #include <stdio.h>
@@ -406,8 +407,10 @@
 
 #ifdef HAVE_GEOTIFF
     const GTIF* pGTIF = NULL;
+    GTIFDefn defn;
 #else
     const void* pGTIF = NULL;
+    const void* defn =NULL;
 #endif    
 
     pszSignature = LASHeader_GetFileSignature(header);
@@ -504,6 +507,9 @@
                     pszProj4);
 #ifdef HAVE_LIBGEOTIFF
     if (pGTIF) GTIFPrint((GTIF*)pGTIF, 0, 0);
+
+    // GTIFGetDefn(pGTIF, &defn);
+    // GTIFPrintDefn(&defn, file);
 #endif
     if (bWKT)
     {


More information about the Liblas-commits mailing list