[gdal-dev] Re: python memory driver

2011-05-05 Thread Juliannerc
I believe that I have the example working. When using the command 'print an_array', it wasn't showing the parts that contained non-zero data. Once I realized that, everything seems to work as expected. Thanks for the support. Julianne -- View this message in context: http://osgeo-org.1803224.

[gdal-dev] Re: python memory driver

2011-05-05 Thread Juliannerc
Thanks for the response. Are the code snippets below what you mean by the memory drivers? # # Create a memory raster to rasterize into. # target_dr = gdal.GetDriverByName ('MEM') target_ds = target_dr.Create ('', 1500,

[gdal-dev] python memory driver

2011-05-04 Thread Juliannerc
I have been working with the examples/testers from # Project: GDAL/OGR Test Suite # Purpose: Test RasterizeLayer() and related calls. # Author: Frank Warmerdam If at all possible, I would like to be able to use the memory raster contents directly. However, if I understa