Kyle,<br><br>This option is not available through the algorithm. It is implemented by the gdal_rasterize utility[1] by creating a ring that is just outside the extents of the output raster.<br><br>Python&#39;s gdal.RasterizeLayer() takes the same arguments as GDALRasterizeLayers() [2].<br>
<br>[1]: <a href="http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/gdal_rasterize.cpp">http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/gdal_rasterize.cpp</a><br>[2]: <a href="http://www.gdal.org/gdal__alg_8h.html#dfe5e5d287d6c184aab03acbfa567cb1">http://www.gdal.org/gdal__alg_8h.html#dfe5e5d287d6c184aab03acbfa567cb1</a><span class="p"></span><br>
<br><div class="gmail_quote">On Thu, Dec 8, 2011 at 5:38 AM, Kyle Shannon <span dir="ltr">&lt;<a href="mailto:KShannon@gcs-research.com">KShannon@gcs-research.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">






<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;">Is the –i (invert burn) option available through gdal.RasterizeLayer()?  I can’t find the documentation.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family: &quot;Courier New&quot;;"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size: 8pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: rgb(95, 95, 95);">Kyle Shannon</span></b><span style="font-size: 8pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: rgb(95, 95, 95);"> </span><span style="font-size: 8pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"><br>

</span><span style="font-size: 7.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: rgb(95, 95, 95);">Senior Software Engineer</span><span style="font-size: 13.5pt; font-family: &quot;Helvetica&quot;,&quot;sans-serif&quot;; color: black;"><u></u><u></u></span></p>

<p class="MsoNormal"><b><span style="font-size: 7.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: rgb(95, 95, 95);">GCS Research</span></b><b><span style="font-size: 13.5pt; font-family: &quot;Helvetica&quot;,&quot;sans-serif&quot;; color: black;"><u></u><u></u></span></b></p>

<p class="MsoNormal"><span style="font-size: 7.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: rgb(95, 95, 95);">Office 406-532-3254 • Direct 406-541-3276</span><span style="font-size: 7.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: rgb(95, 95, 95);"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size: 7.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: rgb(95, 95, 95);"><a href="mailto:kshannon@gcs-research.com" target="_blank"><span style="color: blue;">kshannon@gcs-research.com</span></a> •
</span><u><span style="font-size: 7.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;; color: blue;"><a href="http://www.gcs-research.com/" target="_blank"><span style="color: blue;">www.gcs-research.com</span></a></span></u><u><span style="font-size: 7.5pt; font-family: &quot;Verdana&quot;,&quot;sans-serif&quot;;">
<u></u><u></u></span></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<br>This email message is for the sole use of the intended recipient(s)
and may contain confidential and privileged information. Any
unauthorized review, use, disclosure or distribution is prohibited. If
you are not the intended recipient, please contact the sender by reply
email and delete the original message.
  ­­  </div>

<br>_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>
<br>+91-9494447584<br>17.2416N 80.1426E<br>