[gdal-dev] Modify gdal_rasterize

Avyav Kumar avyavkumar at gmail.com
Thu Jan 14 10:10:14 PST 2016


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++ (https://github.com/OSGeo/gdal/blob/trunk/gdal/alg/gdalrasterize.cpp)
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?

Regards,

Avyav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160114/46dc7ca8/attachment.html>


More information about the gdal-dev mailing list