[gdal-dev] gdal_translate with the -epo flag

Stefano Iacovella stefano.iacovella at gmail.com
Thu Jan 3 08:33:30 PST 2013


Hi Robb,

The doc states that (GDAL >= 1.10) for -epo and -eco so 1.9.2 miss them.

Kind Regards,

stefano

---------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas


2013/1/3 Robb K. Wright <robbkwright at gmail.com>:
>
> 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?
>
> Robb
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list