I've installed gdal using the brew utility on OS X so the proj and geos dependencies were also installed. I'm now trying to warp a GeoTIFF so that I can import it into Google Earth. I am getting a proj error, and cannot figure out how to solve it.
I use the following command:
gdalwarp -t_srs "EPSG:4326" in.tif out.tif
and get the following error message:
Processing input file in.tif.
ERROR 1: No PROJ.4 translation for source SRS, coordinate transformation initialization has failed.
0...10...20...30...40...50...60...70...80...90...100 - done.
There is very little on Google about this error.
I have set my GDAL_DATA and PROJ_LIB environment variables to /usr/local/shar/gdal and /usr/local/share/proj respectively.
I do not think this is a problem with the input file since it appears to have a coordinate system defined already, checked with gdalinfo:
Driver: GTiff/GeoTIFF
Files: in.tif
in.tfw
Size is 341, 558
Coordinate System is:
LOCAL_CS["WGS 84 / Antarctic Polar Stereographic",
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
Origin = (-3143782.158253818750381,3005869.481321755331010)
Pixel Size = (6268.758042377240599,-6268.758042377240599)
Metadata:
AREA_OR_POINT=Area
Image Structure Metadata:
INTERLEAVE=BAND
Corner Coordinates:
Upper Left (-3143782.158, 3005869.481)
Lower Left (-3143782.158, -492097.506)
Upper Right (-1006135.666, 3005869.481)
Lower Right (-1006135.666, -492097.506)
Center (-2074958.912, 1256885.987)