<div dir="ltr">Hi,<div><br></div><div>The documentation for GDALRasterBand::RasterIO says that it will convert data from the source data type to the destination data type. I searched the source code a bit I'm not sure I located the bit that does this conversion. I'm trying to understand what happens in this conversion process. Is this a numeric conversion as would be done with a C/C++ cast or is this conversion simply add or truncate bytes in order to fit in a destination data type. Or perhaps something else?<br><br>Thanks,<br><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Andrew Bell<br><a href="mailto:andrew.bell.ia@gmail.com" target="_blank">andrew.bell.ia@gmail.com</a></div></div></div>