[FWTools] gdal_translate SDTS (.ddf) to tiff and/or jpeg?

Frank Warmerdam warmerdam at pobox.com
Mon Apr 24 15:18:53 EDT 2006


Angus Forbes wrote:
> Hi Frank,
> 
> Thanks for the quick reply-- now I'm running it on the proper catalog
> file and I get this error:
> 
>>> gdal_translate -of JPEG 1259CATD.DDF output.jpeg
> 
>>> ERROR 6: JPEG Driver doesn't support data type Int16. Only eight
> bit byte bands supported.
> 
> I tried using the -non_strict option, but that only outputs a big
> white square on a black boundary!
> 
> here's a link to the SDTS tar (downloaded via the Alexandria Digital Library
> webclient, only about 400K) in case you (or anyone else) have a moment
> to test it out and see where I've gone wrong...
> 
> http://www.mat.ucsb.edu/~a.forbes/SDTS_DEM75_example.tar

Angus,

If you just want a rough view of the DEM, you can do:

gdal_translate -scale -of JPEG 1259CATD.DDF output.jpeg

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 OSGF, http://osgeo.org



More information about the FWTools mailing list