Greetings all,
I am trying to create a raster mask using a polygon template. I can
create the raster datasource to be the right extent, and using the same
projection, but somehow gdal.RasterizeLayer does not do anything to the
mask. Am I missing something in the implementation?
Below I've
On 07/08/2010 13:29, Rudi von Staden wrote:
Below I've included the output I'm getting (followed by my python
script). The RasterizeLayer command should be burning the polygon onto
the single band raster (initialized to have all cells = 255) using a
value of 0. However, the stats show
Hi Yvonne,
I've just done exactly what you refer to, and had the same challenges
with links. I ended up using the following setup:
Python 2.6 install:
http://www.python.org/ftp/python/2.6/python-2.6.msi
GDAL bindings for Python 2.6:
I forgot to mention, I found this document very useful in getting my
setup right:
http://www.gis.usu.edu/~chrisg/python/2009/docs/gdal_win.pdf
Rudi
On 20/07/2010 13:39, Rudi von Staden wrote:
Hi Yvonne,
I've just done exactly what you refer to, and had the same challenges
with links