[Gdal-dev] error using gdal_translate

Frank Warmerdam fwarmerdam at gmail.com
Tue Apr 5 15:37:26 EDT 2005

On Apr 5, 2005 3:08 PM, veera vijayaraj <veera.vijayaraj at gmail.com> wrote:
> Hi ,
> I'm a newbie to GDAL. I'm trying to do a subset of  geotiff image using the
> "-srcwin" option with gdal_translate utility.
> I used the utility as in
> gdal_translate -of GTiff -srcwin 100 100 400 400  input.tif  test.tif
> and I get the following error
> ERROR 4: 'test.tif' not recognised as a supported file format.
> any ideas on why this happened? does this indicate any problem with my
> installation ?


Did gdal_translate create a test.tif at all?  Does gdalinfo 
recognise it?  Your command looks fine, so I'm not sure
why it isn't working.  You might want to try it with an FWTools
binary distribution and see if that works.  

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    | Geospatial Programmer for Rent

More information about the Gdal-dev mailing list