[Proj] FWTools and Proj: Installation

Conor O'Donoghue theconor at yahoo.com
Fri Jun 6 10:24:12 PDT 2008


Hello Frank,
The example you gave me is just what i had in mind.

I typed (cut-paste) your example exactly but still got an error.... as follows

ERROR 1: Translating source or target SRS failed:
'+proj=merc

NOTE: I used a GeoTIFF 3600 x 1800 pixels as the source file, located in the FWTools2.0.6 folder. 
I also ran the command with the source being a TIFF (not GeoTiff) and also without LZW compression. The exact same error resulted for each.

Could you suggest the likely reason for the error.

Thanks
Conor


----- Original Message ----
From: Frank Warmerdam <warmerdam at pobox.com>
To: PROJ.4 and general Projections Discussions <proj at lists.maptools.org>
Sent: Thursday, June 5, 2008 11:08:09 PM
Subject: Re: [Proj] FWTools and Proj: Installation

Conor O'Donoghue wrote:
> Hamish and Frank,
> I have another question.... but first, thanks for the input. By 
> following both instructions i did get the correct result.
> 
> I only need FWTools to convert from one projection to another from the 
> command line, usually starting with a GeoTiff in Geographic projection.
> 
> Could you give me one example (so I can see the syntax) using  
> source.tif (geographic projection GeoTIFF) for input and creating an 
> output GeoTIFF named destination.tif in Mercator projection.

Conor,

Perhaps something like:

   gdalwarp -t_srs '+proj=merc +datum=WGS84' source.tif destination.tif

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org

_______________________________________________
Proj mailing list
Proj at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/proj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/proj/attachments/20080606/97068154/attachment.html>


More information about the Proj mailing list