Changeset 638:8c6fc02d96a1


Ignore:
Timestamp:
05/12/08 18:43:13 (2 years ago)
Author:
Howard Butler <hobu.inc@…>
Branch:
default
Convert:
svn:1766ff46-f334-0410-ab20-d63176f87757/trunk@705
Message:

print the proj4 defn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/detail/reader10.cpp

    r628 r638  
    4949#include <geotiff.h> 
    5050#include <geo_simpletags.h> 
     51#include "geo_normalize.h" 
     52#include "geo_simpletags.h" 
     53#include "geovalues.h" 
    5154#endif /* HAVE_LIBGEOTIFF */ 
    5255 
     
    262265 
    263266    GTIF *gtif = GTIFNewSimpleTags( st ); 
     267    GTIFDefn    defn; 
     268    if (GTIFGetDefn(gtif, &defn))  
     269    { 
     270         printf( "PROJ.4 Definition: %s\n", GTIFGetProj4Defn(&defn)); 
     271    } 
    264272    GTIFPrint(gtif,0,0); 
    265273    GTIFFree( gtif ); 
Note: See TracChangeset for help on using the changeset viewer.