[Tilecache] Parameters to use tilecache and WMS Service

Christopher Schmidt crschmidt at metacarta.com
Thu Feb 11 13:35:46 EST 2010


On Thu, Feb 11, 2010 at 11:01:01AM -0500, Igor Támara wrote:
> On Wed, Feb 10, 2010 at 04:50:23PM -0500, Igor Támara wrote:
> 
> Hi, I found that something is wrong with the configuration
> I'm making to tilecache, I have the following in tilecache.cfg
> 
> [meta]
> type=WMS
> url=http://labs.metacarta.com/wms/vmap0
> layers=Vmap0
> extension=png
> resolutions=1.406250,0.703125, 0.3515625, 0.17578125, 0.087890625, 0.0439453125,  0.02197265625, 0.010986328125, 0.0054931640625, 0.00274658203125, 0.001373291015625, 0.0006866455078125, 0.00034332275390625, 0.000171661376953125, 8.58306884765625e-05, 4.291534423828125e-05, 2.1457672119140625e-05, 1.0728836059570312e-05, 5.3644180297851562e-06, 2.6822090148925781e-06, 1.3411045074462891e-06
> 
> I added "1.406250" manually to the default, when I issue something like
> 
> http://devel.invytec.com/cgi-bin/tilecache.fcgi/wms?LAYERS=meta&service=wms-c&version=1.1.1&format=image/png&height=256&width=256&srs=EPSG:4326&request=getmap&&bbox=-180,-90,180,90
> 
> I get an image with the whole world below a blank area, and if I try
> 
> http://devel.invytec.com/cgi-bin/tilecache.fcgi/wms?LAYERS=meta&service=wms-c&version=1.1.1&format=image/png&height=256&width=256&srs=EPSG:4326&request=getmap&&bbox=0,0,180,90

You're requesting a tile that is 180 degrees wide and 90 degrees high. Since
your height/width are square, it seems like this isn't what you want to do.

http://devel.invytec.com/cgi-bin/tilecache.fcgi/wms?LAYERS=meta&service=wms-c&version=1.1.1&format=image/png&height=256&width=256&srs=EPSG:4326&request=getmap&&bbox=0,-90,180,90

> I get the error :
>  "An error occurred: Current y value 0.000000 is too far from tile corner y 90.000000"
> 
> The tile cache you see at the previous URL is 2.03, but with 2.10 I get
> the same results
> 
> http://tiles2.invytec.com/tilecache/tilecache.cgi/wms?LAYERS=basic&service=wms-c&version=1.1.1&format=image/png&height=256&width=256&srs=EPSG:4326&request=getmap&&bbox=-180,-90,0,0

Note that this URL does not return the requested bounding box -- you requested
the southwest portion of the globe, but it gave you the entire western
hemisphere.



> Any ideas on what I'm doing wrong and how to correct them are
> appreciated.
> 
> Thanks in advance
> 
> > Hi, anyone has been able to make deepearth consume
> > tiles via tilecache?  If we consume directly from
> > deepearth mapserver (WMS) we get the map as slow as
> > mapserver can handle it :(, so we thought using
> > tilecache would help us, given that deepearth makes
> > a lot of requests.
> > 
> > The error we are getting is  
> > 
> > "An error occurred: Current and xx.xxxx value is too far from tile corner and xx.xxxx"
> > 
> > So far We haven't determined how can we prefetch the
> > images in a proper zoom level or extents by means
> > of  tilecache_seed.p, so any hint or help is appreciated.
> > 
> > In advance, thanks for any suggestion.
> > 
> > -- 
> > Ikhnaie Developer
> > Invytec
> 
> 
> 
> > _______________________________________________
> > Tilecache mailing list
> > Tilecache at openlayers.org
> > http://openlayers.org/mailman/listinfo/tilecache
> 
> 
> -- 
> Ikhnaie Developer
> Invytec



> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache


-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list