[Tilecache] TileCache installation

Nico Bolender nico.bolender at geoas.de
Thu Jan 28 04:32:22 EST 2010


Hello,

i think i need some help to install and configure Tilecache.

I downloaded the source from tilecache.org and followed the installation instructions [1] to run TileCache under mod_python. But I don't get it to work.

I downloaded and extract the packeg under /var/www/tilecache. After extraction I have a folder tilecache-2.10.

Now I did this:

$ sudo easy_install TileCache
...
Installed
/usr/lib/python2.5/site-packages/TileCache-2.10-py2.5.egg

$ sudo tilecache_install_config.py
Successfully copied file
/usr/lib/python2.5/site-packages/TileCache-2.10-py2.5.egg/TileCache/tilecache.cfg
to /etc/tilecache.cfg.

and put in my virtual server this directive:

ScriptAlias /tiles/ "/var/www/tilecache/tilecache-2.10/"
<Directory /var/www/tilecache/tilecache-2.10/>
   AddHandler python-program .py
   PythonHandler TileCache.Service
   PythonOption TileCacheConfig /etc/tilecache.cfg
</Directory>

When I'm visit my page on: 
http://192.168.0.20/tiles/tilecache.py?LAYERS=ALayer,BLayer&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&SRS=EPSG%3A900913&BBOX=841414.285,6476962.285,860982.16,6496530.16&WIDTH=256&HEIGHT=256

I get an Internal Server Error, but no error is reported in the apache2/error.log.

And what I don’t understand is this sentence: "Visit one of the URLs described above, replacing tilecache.cgi with tilecache.py" 
I have nowhere on my computer a file called "tilecache.py"

So .. what I'm doing wrong?


Kind regards
Nico

[1] http://tilecache.org/docs/README

-----

Hi,

You must use tilecache version 2.10 or above. See http://tilecache.org/

regards,

fredj

On Wed, Jan 27, 2010 at 3:05 PM, Nico Bolender <nico.bolender at geoas.de> wrote:
> Hello List,
>
> i have a question about the veloland application.
>
>
> I know that they using tilecache for each layer. But I want to know how they
> solved it to send back only one tile with every selected layer on it. I
> don’t think that they have cached pics for every possible combination of
> layers on the server, so my question is:
>
>
>
> How can I merge the pics on serverside?
>
>
>
> Kind regards,
>
> Nico
>
> _______________________________________________
> Users mailing list
> Users at mapfish.org
> http://www.mapfish.org/cgi-bin/mailman/listinfo/users
>
>



-- 
Frédéric Junod
Camptocamp SA




More information about the Tilecache mailing list