[gdal-dev] GetProjectionRef returns ' '
Francois Maass
fieliesm at gmail.com
Fri Jul 2 09:11:29 EDT 2010
Hello everyone!
I have as input, two satellite images, one in .pix format and the other in
.TIF format.
I am trying to do projections between these two images, and have a function
which contains the following:
if( gdalDataset->GetProjectionRef
<http://www.gdal.org/classGDALDataset.html#a42537e1062ce254d124b29ff3ebe857>
() != NULL )
printf( "Projection is `%s'\n", gdalDataset->GetProjectionRef
<http://www.gdal.org/classGDALDataset.html#a42537e1062ce254d124b29ff3ebe857>
() );
When I call this function with the .pix image as parameter, I get the entire
projection definition string, but when I pass the .TIF image as parameter, I
get "Projection is ' '".
Can anyone tell me why this happens?
Thank you for your time!
Francois
Francois Maass
B.IT
University of Pretoria
Cell: 072 397 0294
Email: fieliesm at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20100702/2edadec1/attachment.html
More information about the gdal-dev
mailing list