[gdal-dev] gdal_rasterize problem with polygons containing polygons

Ognjen antonijevic.ognjen at gmail.com
Thu Jul 28 04:12:16 PDT 2016

Hi everyone,

I tried to create a raster mask from a .gml file with polygons (polygons
represent cloud coverage of a satellite image).
So I used gdal_rasterize with -i flag (because i want to cut out the clouds
from the image). The problem is that polygon layer contains polygons which
are inside one another, so gdal_rasterize is not working properly in this
The first two images illustrate the vector layer, and the third is the
output raster. Can anyone help me to bypass this problem?

Thanks, Ognjen

View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-rasterize-problem-with-polygons-containing-polygons-tp5278563.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.

More information about the gdal-dev mailing list