[OpenLayers-Users] Openlayers Base Map Possible without WMS...?

ScottCh scottchilcote at yahoo.com
Wed Apr 21 08:38:10 EDT 2010


Hi Folks,

I'm developing an application which needs to be able to work when network
access may be poor.  I would like OpenLayers to display a default base map
layer from a local hard drive, for example using an independent tile cache
under these circumstances.

At first I thought TileCache (www.tilecache.org) might work this way. 
However, I tried an experiment using TileCache with network access (to the
WMS) disabled, and TileCache stalled because it was trying to access the
remote WMS.  This happened when I stopped and restarted the test application
that uses OpenLayers.  It appears that TileCache does not save enough cache
state information to work independently from the WMS, but I haven't examined
the code so that's just a guess.  I looked through its config params and
didn't see anything that seemed likely to help.

Has anyone found a way to have OpenLayers display a locally sourced map as a
default base map, without needing a local WMS or network access?  Or
alternatively, does anyone know a way to make TileCache serve cached map
tiles when the WMS becomes unavailable?

Thanks very much!

   Scott C.
-- 
View this message in context: http://n2.nabble.com/Openlayers-Base-Map-Possible-without-WMS-tp4936689p4936689.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list