[FWTools] Problem with jpeg transformation

Frank Warmerdam warmerdam at pobox.com
Wed Feb 17 14:48:55 EST 2010


David Martinez Morata wrote:
> Hello.
> 
> I try to transform with the gdalwarp command a jpg file and to save the 
> source file with the same extension, but I have and error:
> 
> The command I use it's:
> 
> "gdalwarp -s_srs EPSG:32620 -t_srs EPSG:4326 -of JPEG -co "QUALITY=100" 
> D:\Geodatos_Mapserver\Mosaicos\UTM20\ANZ192408MS.jpg 
> D:\Geodatos_Mapserver\Mosaicos\WGS84\ANZ192408MS.jpg"
> 
> And the fwtools promt tell me something like the format output drive 
> it's not recognised or not suport.
> 
> When I tell: "gdalwarp -formats"
> 
> I see the JEPG JFIF format with "rwv"
> 
> I don't know what I'm doing wrong but can anyone help me please!

David,

gdalwarp does not support writing to some formats that don't support
random update, including most compressed formats.

http://trac.osgeo.org/gdal/wiki/FAQRaster#Whywontgdalwarporgdal_mergewritetomostformats

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 FWTools mailing list