<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:13px"><div id="yiv5102280157"><div style="color:#000;background-color:#fff;font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:13px;" id="yui_3_16_0_1_1420838396496_11448"><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr">Hi,</div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr"><br></div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr">I sometimes need to burn vector data on a raster and use gdal_rasterize for this task.</div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr">How ever there is times that I would like to "blend" / "multiply" polygons vector data (color) with the existing raster.</div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr"><br></div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr">I had a look in the code and noted there is a GDALRasterMergeAlg option with a "ADD" from gdalrasterize.cpp onward. Default "REPLACE".</div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr">The "ADD" option is not available from gdal_rasterize. </div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr"><br></div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr">I hope to get the time next week to compile GDAL and test the "ADD" option from gdal_rasterize to see if this is what I am looking for.</div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr"><br></div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr">But if I can get some advice on this I would appreciate it.</div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr" class="" style=""><br></div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr" class="" style="">Regards</div><div id="yiv5102280157yui_3_16_0_1_1420838396496_5867" dir="ltr" class="" style="">AJ </div></div></div></div></body></html>