Hi Dane,

  Thanks much for the help!

  I can access
http://localhost/cgi-bin/tilecache.cgi/1.0.0/basic/0/0/0.png and I
get a map of the world so I think I've got tilecache all set.  My
/etc/tilecache.cfg looks like:

----------------------------------------
[basic]
type=WMS
# url=http://localhost/cgi-bin/mapserv?map=/mapdata/world.map
url=http://labs.metacarta.com/wms/vmap0
extension=png

[mylayer]
type=GDAL
file=/home/rick/maps/a744121.tif
spherical_mercator=true
tms_type=google
metatile=yes
----------------------------------------

When I try
http://localhost/cgi-bin/tilecache.cgi/1.0.0/mylayer/0/0/0.png The
browser sits at "Waiting for..." then, in /var/log/apache2/error.log I
get:

[Thu Mar 11 07:38:40 2010] [error] [client 127.0.0.1] 
/usr/lib/python2.5/site-packages/osgeo/gdal.py:776: DeprecationWarning: integer 
argument expected, got float
[Thu Mar 11 07:38:40 2010] [error] [client 127.0.0.1]   return 
_gdal.Band_ReadRaster(self, *args, **kwargs)
[Thu Mar 11 07:38:40 2010] [error] [client 127.0.0.1] malformed header from 
script. Bad header=(-21602938.679000001, -2160293: tilecache.cgi

  Thanks again.

  Rick

> http://trac.mapnik.org/wiki/RasterSymbolizer
> 
> If the tif is not spatially referenced yet, I recommend using QGIS  
> with the "Georeferencing Plugin".
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to