[Spanish] Tilecache, Openlayers en linux

CaSC casc84ab at gmail.com
Mon Oct 13 04:48:11 EDT 2008


Bueno compañeros, os cuento primero mi configuración:

Configuración de Apache2: (Archivo httpd.conf)
<Directory /usr/local/apache2/htdocs/tilecache/>
	AddHandler cgi-script .cgi
	Options +ExecCGI
</Directory>

<Directory /usr/local/apache2/htdocs/tilecache/>
	AddHandler python-program .py
	PythonHandler TileCache/Service
	PythonOption TileCacheConfig
/usr/local/apache2/htdocs/tilecache/tilecache.cfg
	PythonDebug On
</Directory>

---------------------------------------------------------

Configuración de Tilecache: (Archivo tilecache.cfg)
[shadedrelief]
type=MapServerLayer
layers=shadedrelief
mapfile=/usr/local/apache2/htdocs/wms-server/mapfile.map
levels=10
maxResolution=0.02178203125
metaTile=true
debug=false

[counties]
type=MapServerLayer
layers=counties
mapfile=/usr/local/apache2/htdocs/wms-server/mapfile.map
levels=10
maxResolution=0.02178203125
metaTile=true
debug=false

[highways]
type=MapServerLayer
layers=highways
mapfile=/usr/local/apache2/htdocs/wms-server/mapfile.map
levels=10
maxResolution=0.02178203125
metaTile=true
debug=false

---------------------------------------------------------

Pues bien, no hago mas que ver celdas rosas, os pongo aquí una parte del
error_log:

Traceback (most recent call last):, referer:
http://192.168.131.128/tilecacheprueba/
File "/usr/local/apache2/htdocs/tilecache/tilecache.cgi", line 6, in
<module>, referer: http://192.168.131.128/tilecacheprueba/
svc = Service.load('/usr/local/apache2/tilecache/tilecache.cfg'), referer:
http://192.168.131.128/tilecacheprueba/
File "/usr/local/apache2/htdocs/tilecache/TileCache/Service.py", line 380,
in _load, referer: http://192.168.131.128/tilecacheprueba/
cache = cls.loadFromSection(config, "cache", Cache), referer:
http://192.168.131.128/tilecacheprueba/
File "/usr/local/apache2/htdocs/tilecache/TileCache/Service.py", line 360,
in _loadFromSection, referer: http://192.168.131.128/tilecacheprueba/
, referer: http://192.168.131.128/tilecacheprueba/
ype  = config.get(section, "type"), referer:
http://192.168.131.128/tilecacheprueba/

---------------------------------------------------------

Y así hasta el infinito casi, según he leído debería actualizar python
(tengo el 2.3.3) pero lo traía ya instalado y me da miedo desinstalarlo y
tocar algo más...a ver si podéis ayudarme.

Un saludo

-- 
View this message in context: http://www.nabble.com/Tilecache%2C-Openlayers-en-linux-tp19950914p19950914.html
Sent from the OSGeo Spanish Local Chapter mailing list archive at Nabble.com.



More information about the Spanish mailing list