<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Gracias Oscar, eres muy amable, pero yo no utilzo OpenLayers...que debo hacer en este caso?.<br><br>Hice el cambio que me indicaste pero sigue saliendo un solo tile.<br><br>Yo utilizo unicamente:<br><br>Mapserver 2.3.1<br>Apache 2.2.10<br>Php 5.2.6<br>Python 2.5<br>mod_python 3.3.1<br>TileCache 2.10<br><br>No utilizo OpenLayers sino un cliente pequeño que lo desarrolle yo mismo.<br><br>Reitero mis agradecimientos.<br><br>Gustavo<br><br><hr id="stopSpelling">Date: Thu, 2 Jul 2009 09:37:30 +0200<br>Subject: Re: [Spanish] Que pesadilla con TILECACHE....<br>From: oscar.fonts.lists@gmail.com<br>To: spanish@lists.osgeo.org<br><br><div class="EC_gmail_quote"><blockquote class="EC_gmail_quote" style="padding-left: 1ex;"><div>Luego probe el ejemplo <a href="http://localhost/tilecache/tilecache.py/1.0.0/basic/0/0/0">http://localhost/tilecache/tilecache.py/1.0.0/basic/0/0/0</a> y solo me sale un cuadro pequeño con la imagen de america...<br>
</div></blockquote><div><br>Ah! ¡Y eso es exactamente lo que tiene que salir cuando funciona!: Un cuadro pequeño con la imagen de américa. Es el tile de la fila 0, columna 0, zoom 0, de la capa 'basic', según TMS [1].<br>
<br>Ahora, si vas al index.html que tienes de ejemplo en el directorio de tilecache, has de modificar la definición de la capa y cambiar el .cgi por el .py:<pre id="EC_line1">            layer = new OpenLayers.Layer.WMS( "VMap0", <br><br>                    "tilecache.py?", {layers: 'basic', format: 'image/png' } );<br></pre>Entonces, en <a href="http://localhost/tilecache/tilecache.py/1.0.0/basic/0/0/0">http://localhost/tilecache/</a> tendrás un visor de ejemplo con el que poder moverte por el mapa. Luego sólo queda modificar tilecache.cfg para añadir las capas propias [2], y pelearse un rato con la documentación de OpenLayers [3]. ;)<br>
<br><br>[1] <a href="http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification">http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification</a><br>[2] <a href="http://www.tilecache.org/docs/README">http://www.tilecache.org/docs/README</a><br>
[3] <a href="http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers-js.html">http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers-js.html</a><br><br><br>Salud.<br><br></div>
</div><br /><hr />Get news, entertainment and everything you care about at Live.com. <a href='http://www.live.com/getstarted.aspx ' target='_new'>Check it out!</a></body>
</html>