[Gdal-dev] problem with warping lat-long to UTM
Norman Barker
normanb at comsine.co.uk
Tue Nov 23 10:55:07 EST 2004
Thanks Frank,
works a treat!
Norman
Frank Warmerdam wrote:
> Norman Barker wrote:
>
>> Hi,
>>
>> I am using gdalwarp to warp an image in Lat Long to UTM.
>>
>> I am using latlong.tif from ftp.remotesensing.org/samples/pci_eg
>>
>> and executing the command
>> gdalwarp -t_srs EPSG:32711 latlong.tif out.tif
>>
>> but I get the error
>> ERROR 1: failed to load NAD27-83 correction file
>> ERROR 1: GDALSuggestedWarpOutput() failed because the passed
>> transformer failed.
>>
>> I have seen this discussed before, but there doesn't seem to be an
>> answer I
>> can use.
>
>
> Norman,
>
> The problem is that you need PROJ.4 datum shift files to convert the
> latlong.tif NAD27 file to other datums. To build and install PROJ.4 on
> linux with the datum shift files, download and unpack the following
> tar file
> in your proj/nad directory before doing the configure, build and install.
>
> ftp://ftp.remotesensing.org/pub/proj/proj-nad27-1.2.tar.gz
>
> If you just want to experiment with warping you could also likely just
> override
> the latlong.tif file to treat it as WGS84 instead of NAD27 using a
> command
> like:
>
> gdalwarp -s_srs WGS84 -t_srs EPSG:32711 latlong.tif out.tif
>
> Best regards,
--
Norman Barker
Software Engineer
ComSine Ltd
Tel: +44 (0)1483 457121
Web: http://www.comsine.com
*Please Note:*
This text is confidential. If you are not the named addressee, it could be unlawful for you to read, copy, distribute, disclose or use the information contained herewith. If you are not the intended recipient please telephone +44(0)1483 457121.
More information about the Gdal-dev
mailing list