[gdal-dev] gdal translate

Even Rouault even.rouault at spatialys.com
Mon Jun 29 07:21:00 PDT 2015


Le lundi 29 juin 2015 16:15:32, marco casella a écrit :
> Hello,
> 
> I'm trying to convert a tiff file (dem) in a raw image.
> I'm using this line:
> 
> gdal_translate –ot UInt16 –scale –of ENVI –outsize 1025 1025 dsm.tif
> final.raw
> 
> it seems there is some kind of an error, I get this message:
> 
> "Too many command options."
> 
> Do you know if I am doing something wrong?

Marco,

If I paste your above command line, I also get the same error. This is due to 
the hyphen character being above a Unicode hyphen instead of the regular 
hyphen character you have on your keyboard.

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list