<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div>Hi,<br>in order to implement a map caching mechanism for my application
I need to read tiles from a server (for example OpenStreetMap) and keep
them in memory to speed up subsequent access to the same tiles once
they have been already downloaded from the map server.<br>To implement
this, I'm going to manage a single indexed (x,y,z) data file where I keep the dump of each .png (or .jpg) file.<br>Therefore I need
to access the .png (or .jpg) tile not from a file (in that case I would
simply use GDALOpen to open it), but from a memory buffer.<br><br>What are the GDAL functions to do what I need?<br>Any help is really appreciated.<br><br>Thanks<br>Marcello Ferrero<br>Bluemapia<br><span><a rel="nofollow" target="_blank" href="http://www.sourceforge.net/projects/bluemapia">http://www.sourceforge.net/projects/bluemapia</a></span></div></div><br>
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a></body></html>