[Tilecache] Tilecache bbox, resolutions and extent configuration‏

fmsd91 fmsd91 at hotmail.com
Mon Aug 10 05:23:02 EDT 2009


Hi all,
I would like to have some help configuring my paramenters to seed a test
layer.
Right now I get:
"An error occurred: Current x value 3609489.955000 is too far from tile
corner x 3609484.272500"

with:
var options = {    projection: "EPSG:3035", units:'m',
                    controls: [new OpenLayers.Control.Navigation()],
                    maxExtent:  new
OpenLayers.Bounds(137000,625000,7082000,5600000),
                    tileSize: new OpenLayers.Size(250,250),
                    buffer: 1,
                    resolutions:
[0.087890000,0.0439453000,0.02197265000,0.010986328000],
                    numZoomLevels: 14,
                   
//scales:[35000000,20000000,15000000,10000000,5000000,2500000,2000000,1000000,500000]     
                };

and:
[base_layer]
type=WMSLayer
layers=sea,ct,ct_ue,agg_p,agg,agg_cont,air
url=http://...:8080/cgi-bin/wms?map=C:\ms4w\maps\map\wms.map
extension=png
size=250,250
srs=EPSG:3035
levels=5
extent_type=loose
resolutions=0.087890000,0.0439453000,0.02197265000,0.010986328000

The seed command is:

tilecache_seed.py "http://...:8080/cgi-bin/wms?" base_layer 0 5

I didn't include the bbox option into the cmd because unless it process
thousands of tiles and misses a lot of them.
Resuming I want to tilecache 5 levels zoom from 14 levels. The first 5
levels are requested to the cache and the other ones to the server. If it is
not possible I want the 14 levels but in a faster way, because I am caching
all europe.
Some tips on how to seed correctly and see the tiles on my map viewer or
from the url?
Thanks!

Francisco Domingues

-- 
View this message in context: http://n2.nabble.com/Tilecache-bbox%2C-resolutions-and-extent-configuration%E2%80%8F-tp3416142p3416142.html
Sent from the TileCache mailing list archive at Nabble.com.



More information about the Tilecache mailing list