[FWTools] JPEG Worldfile options
Frank Warmerdam
warmerdam at pobox.com
Thu Jan 8 13:14:20 EST 2009
Travis Kirstine wrote:
> Hi All
> I have create several thousand jpg files from tiff \ tfw using
> gdal_translate (gdal_translate -of JPEG in.tif out.jpg). The problem
> that I am now having is that the associated .aux.xml file with
> <GeoTransform> information is not recognized by older versions of gdal
> / mapserver. Is there any utility to convert that xml info to a
> worldfile without reprocessing the rasters?
Travis,
No, no such utility exists as far as I know.
However, it would be relatively easy to write a python (or perl, ...)
script to pull the required parameters out of the .aux.xml and reformat
them as a world file. The actual numeric values for the origin would
also need to be offset by half a pixel.
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