Which of these is the best approach to define (AKA. set) a projection for a tiff?
gdal_translate -a_srs EPSG:32182 in.tif out.tif
gdalwarp -s_srs EPSG:32182 -t_srs EPSG:32182 in.tif out.tif
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
if you want to set the projection of a file with gdal tools, you should use gdal_edit.py -a_srs
Both gdalwarp and gdal_translate will create a new file.