Julianne,<br><br>There are in-memory format drivers for this purpose.<br><a href="http://www.gdal.org/frmt_mem.html">http://www.gdal.org/frmt_mem.html</a><br><a href="http://www.gdal.org/ogr/drv_memory.html">http://www.gdal.org/ogr/drv_memory.html</a><br>

<br><div class="gmail_quote">On Thu, May 5, 2011 at 3:03 AM, Juliannerc <span dir="ltr">&lt;<a href="mailto:juliannerc@gmail.com">juliannerc@gmail.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;">
I have been working with the examples/testers from<br>
<br>
# Project:  GDAL/OGR Test Suite<br>
# Purpose:  Test RasterizeLayer() and related calls.<br>
# Author:   Frank Warmerdam &amp;<a href="mailto:lt%3Bwarmerdam@pobox.com">lt;warmerdam@pobox.com</a>&amp;gt;<br>
<br>
If at all possible, I would like to be able to use the memory raster<br>
contents directly.  However, if I understand the code, the image is written<br>
in a more concrete format (gtiff, etc.) to the file system.  The image can<br>
then by read back using the ReadAsArray method.<br>
<br>
The intended use is for display (e.g., 1000 x 1600) rather than fine grained<br>
printing.  Also, if the memory area is more accessible, it might be possible<br>
to manage the application as a series of images, keeping more static ones<br>
unchanged, while updating dynamic parts, with the display being a merge of<br>
the two.<br>
<br>
gdal and ogr are nearly ideal for the application (generating georeferenced<br>
images, lines, etc.).  Are there examples of how operate without the file<br>
write or is this a feature that could be added?<br>
<br>
Regards,<br>
<br>
Julianne<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/python-memory-driver-tp6332439p6332439.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/python-memory-driver-tp6332439p6332439.html</a><br>

Sent from the GDAL - Dev mailing list archive at Nabble.com.<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>
</font></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br>Chaitanya kumar CH.<br>/tʃaɪθənjə/ /kʊmɑr/ <br>+91-9494447584<br>17.2416N 80.1426E<br>