<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.2.5">
</HEAD>
<BODY>
On Thu, 2007-01-25 at 13:03 +0000, Jerry O'Sullivan wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    <FONT COLOR="#000000">Hi,</FONT><BR>
    <BR>
    <FONT COLOR="#000000">I have a load of raster files that I would like to make viewable through openlayers</FONT><BR>
    <BR>
    <FONT COLOR="#000000">If I can create a load of pre cached images, can openlayers serve these up? Whats objects in the API should I be looking at? </FONT><BR>
    <BR>
    <FONT COLOR="#000000">Thanks</FONT><BR>
    <FONT COLOR="#000000">Jerry</FONT><BR>
</BLOCKQUOTE>
<BR>
Hi Jerry,<BR>
<BR>
If you have some kind of map server (WMS, TMS) running then you can<BR>
'insert' tileCache [1] between the web page and the server to<BR>
serve up your tiles.&nbsp; You should be able to run tileCache by itself<BR>
but you might want to tweak the python code to handle missing tiles.<BR>
<BR>
[1] <A HREF="http://labs.metacarta.com/wms-c/">http://labs.metacarta.com/wms-c/</A><BR>
<BR>
I use WMS so my call is like a normal one .<BR>
<BR>
var lay = new OpenLayers.Layer.WMS(&quot;Cool Stuff&quot;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &quot;<A HREF="http://wardrobe.dhs.org/cgi-bin/tilecache.cgi?">http://somecoolinfo.somewhere.net/cgi-bin/tilecache.cgi?</A>&quot;,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; { layers: &quot;Neat Image&quot;} ) ;<BR>
map.addLayer(lay);<BR>
<BR>
<BR>
Hope that helps!<BR>
<BR>
.......Bill,<BR>
OL/TC User
</BODY>
</HTML>