[Tilecache] resolution
Christopher Schmidt
crschmidt at metacarta.com
Mon Jan 21 22:09:34 EST 2008
On Mon, Jan 21, 2008 at 06:45:24PM -0800, James McManus wrote:
> I am trying to execute the following URL:
>
> http://www.piedmontgeographic.com/cgi-bin/tilecache/tilecache.py?LAYERS=basemap&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&EXTENT_TYPE=loose&BBOX=-79.55334892, 35.50717788, -78.22326740, 36.26503708&RESOLUTIONS=0.002213114009982047,0.001106557404326176,0.0005532787162146718,0.0002766397670557272,0.00013832010135122262,0.0000691605672361935,0.000034580698835992964,0.000017290349417996482,0.000008645270269927052,0.000004322795340797067&WIDTH=602&HIGHT=593
>
> I get the following output:
You're doing it wrong.
1. You don't set resolutions in the URL, you set them in the config
file.
2. Your image size is 602,593: this seems unlikely to be the tilesize
you've picked in your TileCache config.
3. extent_type=loose also goes in the config, not in your URL.
> It does not seem to be using the resolutions I set in the URL. Is the
> away I can override the standard resolutions and use the ones in my
> URL?
No.
> My tilecache.cfg has the same bbox and resolutions as my URL.
No, it doesn't. If you think it does, something is wrong. Paste your
config for the 'basemap' section to the list, if you want someone to
look at it. If you're using mod_python, and you changed your config,
restart Apache.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Tilecache
mailing list