[OpenLayers-Users] AWS S3 Support for OpenLayers???

Christopher Schmidt crschmidt at metacarta.com
Tue Jul 15 08:34:24 EDT 2008


On Tue, Jul 15, 2008 at 08:27:16AM -0400, Paul Spencer wrote:
> Steve,
> 
> I think you would need a specific layer type that supports S3.  If you  
> are using kaMap to generate the tiles (and the path to the tiles) then  
> you would probably want to start with the kaMap layer and modify or  
> subclass it to make the appropriate request directly from S3.   
> Conceptually, this is fairly trivial to do, you would just overload  
> the getURL function with something that generates a url to S3.

In general, the problem here is just that the ka-Map Layer doesn't 
actually support the ka-Map disk-style caches (if it did, you could just
cause it to read from the URL).

> TileCache supports S3 as a cache, but I'm not sure if the TileCache  
> layer in OpenLayers can directly read them.

No; the TileCache S3 support needs to be reworked. It was sort of a
proof of concept that I didn't carry far enough.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list