Using this command (DOS window in Win7):
gdal_translate name.tif -of AAIGrid name.asc
Each conversion creates the desired name.asc file, but in addition a name.prj and a name.asc.aux.xml which I do not need. Eventually I have over 20000 of these extra files, all with identical content.
Q: Is there a switch that turns off the creation of these two auxiliary help files?
Version:
gdal_translate --long-usage gives (scrapping latter part):
Usage: gdal_translate [--help-general] [--long-usage]
[-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[%]|0 ysize[%]|0] [-tr xres yres]
[-r {nearest,bilinear,cubic,cubicspline,lanczos,average,mode}]
[-unscale] [-scale[_bn] [src_min src_max [dst_min dst_max]]]* [-exponent[_bn] exp_val]*
[-srcwin xoff yoff xsize ysize] [-epo] [-eco]
[-projwin ulx uly lrx lry] [-projwin_srs srs_def]
[-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] [-norat]
[-oo NAME=VALUE]*
src_dataset dst_dataset
GDAL 2.1.2, released 2016/10/24
Have googled, but it's hard to find that one correct hit.
-co worldfile=yes, this is why. the .wld is the worldfile. Set it to no, or remove it, should prevent the file being made. – Mint Dec 05 '21 at 05:58