<div dir="ltr">I encountered a problem with gdal_rasterize, and I wanted to make some changes in my own copy of the source code in GDALRasterizeLayers() to see if my changes were running. However, the executable in question is written in C++ (<a href="https://github.com/OSGeo/gdal/blob/trunk/gdal/alg/gdalrasterize.cpp">https://github.com/OSGeo/gdal/blob/trunk/gdal/alg/gdalrasterize.cpp</a>) and is called by a SWIG wrapper (in python), as far as I can see. Is there any way I can test my modified copy? I can think of copying the function in a separate file, overriding it and calling it with main(), but is there any other way? <div><br></div><div>Regards,</div><div><br></div><div>Avyav </div></div>