I have rasters in ecw format and they are accompanied by tab files which contain their crs information. If I try to translate these rasters to a different format with raster --> conversion --> translate tool (gdal_translate), I get following error message and the process won't start:
ERROR 1: No PROJ.4 translation for destination SRS, coordinate transformation initialization has failed.
ERROR 1: No PROJ.4 translation for source SRS, coordinate transformation initialization has failed.
So assumably the process can't read TAB files for CRS info.
How to proceed?
gdalinfo for input raster (ecw).
Contents of TAB file (I think you can't run gdalinfo for a TAB file).
!table
!version 300
!charset WindowsLatin1Definition Table File "raster_bw.ecw" Type "RASTER"
(23425461.980317321,6759132.2255573412) (0,0) Label "Pt 1",
(23471612.780317321,6712981.4255573414) (307672,307672) Label "Pt 2", (23471612.780317321,6759132.2255573412) (307672,0) Label "Pt 3",
(23425461.980317321,6712981.4255573414) (0,307672) Label "Pt 4"
CoordSys Earth Projection 24, 115, "m", 23, 0, 1, 23500000, 0 Units "m" begin_metadata "\IsReadOnly" = "FALSE" "\MapInfo" = "" "\MapInfo\TableID" = "3ff0e4af-5e08-48c9-86ac-b8e63ca4cf00" end_metadata
My gdal_data file location is in: C:\OSGeo4W64\share\gdal?
Though, running echo %GDAL_DATA%
in cmd
gives me a file location in my PostgreSQL folder which seems to have an identical Gdal-data folder.