<br><br><div class="gmail_quote">On Wed, Jun 29, 2011 at 8:29 AM, Mark Cave-Ayland <span dir="ltr"><<a href="mailto:mark.cave-ayland@siriusit.co.uk">mark.cave-ayland@siriusit.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Perhaps the raster team need to start looking at the large objects API instead: <a href="http://www.postgresql.org/docs/9.0/interactive/largeobjects.html" target="_blank">http://www.postgresql.org/docs/9.0/interactive/largeobjects.html</a> which effectively gives you an independent database object accessible through a file handle-like API. Hence you can seek to an absolute position and then just read the parts of the image you are interested in.<br>
</blockquote><div><br>I agree. Then have a server side GDAL driver do the seeking, reading and writing when executing SQL queries. It then seems like creating and maintaining a "client library" would also be implied, for those who wish to access and manipulate rasters via a client connection. This client library may leverage the same GDAL driver that the server side uses.<br>
<br>It does appear that "large objects" are capped at 2GB, though.<br><br>Bryce<br></div></div>