[gdal-dev] gdal_translate with the -epo flag

Robb K. Wright robbkwright at gmail.com
Thu Jan 3 08:29:51 PST 2013

I'm interested in trying out the -epo flag with gdal_translate, but it 
doesn't seem to exist within the current Windows binaries from the 
gisinternals site though the web docs 
(http://www.gdal.org/gdal_translate.html) have it listed

Usage: gdal_translate [--help-general]
        [-ot {Byte/Int16/UInt16/UInt32/Int32/Float32/Float64/
              CInt16/CInt32/CFloat32/CFloat64}] [-strict]
        [-of format] [-b band] [-mask band] [-expand {gray|rgb|rgba}]
        [-outsize xsize[%] ysize[%]]
        [-unscale] [-scale [src_min src_max [dst_min dst_max]]]
        [-srcwin xoff yoff xsize ysize] [-projwin ulx uly lrx lry]
        [-a_srs srs_def] [-a_ullr ulx uly lrx lry] [-a_nodata value]
        [-gcp pixel line easting northing [elevation]]*
        [-mo "META-TAG=VALUE"]* [-q] [-sds]
        [-co "NAME=VALUE"]* [-stats]
        src_dataset dst_dataset
GDAL 1.9.2, released 2012/10/08

Right now it behaves as if the -epo flag is given - so it errors out 
when the srcwin is outside the extent.  Is the default (without a -epo 
flag) to not error?


More information about the gdal-dev mailing list