<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Dear Drs. Richard McDonnell and Andrea Giudiceandrea,</div><div class="gmail_default" style="font-family:georgia,serif">THANK YOU VERY MUCH </div><div class="gmail_default" style="font-family:georgia,serif">for the helpful suggestions.</div><div class="gmail_default" style="font-family:georgia,serif">I have been able to use "Wrap" tool for converting the files' formats and spatial resolutions under Batch processing.</div><div class="gmail_default" style="font-family:georgia,serif">However, i now find a small difference between the batch processing through the"Wrap" tool and the processing of individual files. </div><div class="gmail_default" style="font-family:georgia,serif">The data is in 32-bit Unsigned Integer (UInt32), which needs to be converted first to 16-bit Signed Integer (Int16). </div><div class="gmail_default" style="font-family:georgia,serif">When i convert the files individually, the files get converted from 32-bit to 16-bit automatically, without asking, but under the Batch Processing through Wrap the 32-bit data is retained. </div><div class="gmail_default" style="font-family:georgia,serif">Anyway, THANKS again for the immense help.</div><div class="gmail_default" style="font-family:georgia,serif">With Best Regards,</div><div class="gmail_default" style="font-family:georgia,serif">amal kar.</div><div class="gmail_default" style="font-family:georgia,serif">-- ----------------------------</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 11 Jan 2024 at 14:55, Andrea Giudiceandrea via QGIS-User <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Amal Kar akarcaz50 at <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a><br>
> Thu Jan 11 00:16:21 PST 2024<br>
<br>
> I am using the batch convert utility in my QGIS (ver. 3.18; Zurich) within<br>
> the GDAL Toolbox, especially its "Translate (Convert Format)" utility under<br>
> "Raster Conversion".<br>
> While this utility converts all the files from .tif to .rst & .rdc very<br>
> quickly and accurately, it does not have any scope of changing the pixel<br>
> resolution<br>
<br>
Hi Amal Kar,<br>
the "Translate (Convert Format)" GDAL processing algorithm is based on <br>
the GDAL "gdal_translate" utility [1] as stated in the algorithm help <br>
page [2].<br>
<br>
The "gdal_translate" utility has various parameter to set the output <br>
resolution [3] and the resampling method [4].<br>
<br>
The "Translate (Convert Format)" algorithm exposes in the GUI only a <br>
subset of the "gdal_translate" utility parameters.<br>
Anyway you could provide additional parameters using the "Additional <br>
command-line parameters" algorithm parameter.<br>
<br>
Another way could be to use the "Warp (reproject)" GDAL processing <br>
algorithm [5] which is based on the GDAL "gdalwarp" utility and which <br>
exposes in the GUI the both the output resolution and the resampling <br>
method parameters.<br>
<br>
Best regards.<br>
<br>
Andrea<br>
<br>
<br>
[1] <a href="https://gdal.org/programs/gdal_translate.html" rel="noreferrer" target="_blank">https://gdal.org/programs/gdal_translate.html</a><br>
[2] <br>
<a href="https://docs.qgis.org/3.28/en/docs/user_manual/processing_algs/gdal/rasterconversion.html#translate-convert-format" rel="noreferrer" target="_blank">https://docs.qgis.org/3.28/en/docs/user_manual/processing_algs/gdal/rasterconversion.html#translate-convert-format</a><br>
[3] <br>
<a href="https://gdal.org/programs/gdal_translate.html#cmdoption-gdal_translate-tr" rel="noreferrer" target="_blank">https://gdal.org/programs/gdal_translate.html#cmdoption-gdal_translate-tr</a><br>
[4] <a href="https://gdal.org/programs/gdal_translate.html#cmdoption-gdal_translate-r" rel="noreferrer" target="_blank">https://gdal.org/programs/gdal_translate.html#cmdoption-gdal_translate-r</a><br>
[5] <br>
<a href="https://docs.qgis.org/3.28/en/docs/user_manual/processing_algs/gdal/rasterprojections.html#warp-reproject" rel="noreferrer" target="_blank">https://docs.qgis.org/3.28/en/docs/user_manual/processing_algs/gdal/rasterprojections.html#warp-reproject</a><br>
_______________________________________________<br>
QGIS-User mailing list<br>
<a href="mailto:QGIS-User@lists.osgeo.org" target="_blank">QGIS-User@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font color="#0000ff">Dr. Amal Kar</font><div><span style="background-color:rgb(255,255,255)"><font color="#660000" size="2" face="times new roman, serif">Former Principal Scientist and Head, Division of Natural Resources & Environment,</font></span></div><div><font style="background-color:rgb(255,255,255)" color="#660000" size="2" face="times new roman, serif">Central Arid Zone Research Institute, Jodhpur 342003, India</font></div><div><span style="color:rgb(0,0,255)">A-1/6, Baitalik Housing Society, KMDA Housing Complex,</span><br></div><div><font size="2" color="#0000ff">Baghajatin (Near Hiland Park),</font></div><div><font size="2" color="#0000ff">KOLKATA 700 094, India</font></div><div><font size="2" color="#0000ff">Email: <a href="mailto:akarcaz50@gmail.com" target="_blank">akarcaz50@gmail.com</a></font></div><div><br></div><div><br></div></div></div>