[Spanish] TILE CACHE EN WINDOWS SIN OPENLAYERS

Oscar Fonts oscar.fonts.lists at gmail.com
Mon Mar 16 14:15:38 EDT 2009


>
> Primero instale TileCache.. con su apache y con su python (más un
> componente adicional que tiene). Resultado.. aún no funciona.
>

Instalación de TileCache con mod_python: Guia ultrarrápida.

* Instalar Apache.
* Instalar Python.
* Instalar mod_python para Apache. Ojo! Debes asegurarte que cuadra con la
versión de Python instalada.

* Añadir a httpd.conf:

  LoadModule python_module /ruta_al_apache/modules/mod_python.so

  <Directory /tilecache >
    AddHandler python-program .py
    PythonHandler TileCache.Service
    PythonPath "['/ruta_al_apache/htdocs/tilecache/'] + sys.path"
    PythonOption TileCacheConfig
/ruta_al_apache/htdocs/tilecache/tilecache.cfg
    PythonDebug On
  </Directory>

Lo del "debug On" va muy bien para saber lo que está fallando ;)

Con el tilecache.cfg por defecto, deberías poder cargar un tile directamente
en el navegador:

http://localhost/tilecache/tilecache.py/1.0.0/basic/0/0/0

Y despues ya 'tuneas'. Tambien se puede consultar el error.log del apache
para ver qué está fallando.

TileCache se entiende muy bien con OpenLayers, que es una buena forma de
hacer pruebas.
Pero son totalmente independientes.

Salud,

Oscar.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://lists.osgeo.org/pipermail/spanish/attachments/20090316/c445373e/attachment.html


More information about the Spanish mailing list