Hello,

I have a geotiff image which, according to its accompaning htm, uses the WGS_1984 Datum.

However, when I call GDALGetProjectionRef() it fails, returning
"GCS tag not found", plus

ENR_L01.tif (from ENR_L01.zip)
Failed to setup Geographic Coordinate System
FAILED with error: 2


gdalinfo reports:

Driver: GTiff/GeoTIFF
Files: enr_p01.tif
       enr_p01.tif.aux.xml
Size is 20000, 7998
Coordinate System is `'
Metadata:
  TIFFTAG_SOFTWARE=GPL Ghostscript 8.71
  TIFFTAG_DATETIME=2010:12:29 07:58:38
  TIFFTAG_XRESOLUTION=400
  TIFFTAG_YRESOLUTION=400
  TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)
Image Structure Metadata:
  COMPRESSION=LZW
  INTERLEAVE=PIXEL
Corner Coordinates:
Upper Left  (    0.0,    0.0)
Lower Left  (    0.0, 7998.0)
Upper Right (20000.0,    0.0)
Lower Right (20000.0, 7998.0)
Center      (10000.0, 3999.0)
Band 1 Block=20000x1 Type=Byte, ColorInterp=Red
Band 2 Block=20000x1 Type=Byte, ColorInterp=Green
Band 3 Block=20000x1 Type=Byte, ColorInterp=Blue


What can I do?

TIA

--
---
Fernando Cacciola
SciSoft Consulting, Founder
http://www.scisoft-consulting.com

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to