[gdal-dev] gdalwarp with JPEG not working?

Frank Warmerdam warmerdam at pobox.com
Tue Mar 16 10:34:56 EDT 2010

Ian Dees wrote:
> I am attempting to warp a JPG/JPW file pair to a TIFF using the following
> command: 
> $ gdalwarp -t_srs EPSG:4326
> EUSC_20100222_Portugal_Madeira_flood_Funchal01_high.jpg
> EUSC_20100222_Portugal_Madeira_flood_Funchal01_high.jpg_warped.tif 
> But I'm getting the following error: 
> ERROR 4: `EUSC_20100222_Portugal_Madeira_flood_Funchal01_high.jpg' not
> recognised as a supported file format. 
> When I run gdalinfo on the same file, it reads it fine and I get: 
> Why can't gdalwarp read this file?


I notice that you used two different filenames:

 > $ gdalwarp -t_srs EPSG:4326
 > EUSC_20100222_Portugal_Madeira_flood_Funchal01_high.jpg
 > $ gdalinfo EUSC_20100222_Portugal_Madeira_flood_Funchal09_high.jpg

One is 01_high and one is 09_high.

Perhaps that is related?

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