[Tilecache] Image handling error
James McManus McManus
jmpmcmanus at yahoo.com
Wed Jan 16 17:10:29 EST 2008
msWMSLoadGetMapParams() is a mapscript error but I can run a mapserver python script on the same mapfile and get png images. However, when I first ran the script it complained about my setting:
#<Directory /var/www/cgi-bin/>
# AddHandler python-program .py
# PythonHandler TileCache.Service
# PythonOption TileCacheConfig /var/www/cgi-bin/tilecache/tilecache.cfg
#</Directory>
in httpd.conf. I commented that out and now I only get the Cache hit messages, but still no out put in my tmp directory. I can run the mapsever python script from the tilecache directory and the png files are written to tmp, so my permissions appear to be OK. Do I need to specify the location of tilecache.cfg somewhere (httpd.con) or will tilecache.py know where it is, since they are in the same diretories?
Jim
James McManus McManus <jmpmcmanus at yahoo.com> wrote: I am getting an image handling error. My image type is defined in my mapfile as:
IMAGETYPE PNG
OUTPUTFORMAT
NAME 'PNG'
DRIVER AGG/PNG
IMAGEMODE RGBA
TRANSPARENT ON
END
Do I need to define it somewhere else?
Jim
Cache hit: 1977120.0,770040.0,1977210.0,770130.0, Tile: x: 21970, y: 8557, z: 1, time: 0.000128984451294, debug: True
01 (021970, 008557) = (1977120.0000 770040.0000 1977210.0000 770130.0000) [0.0002s : 561.088/s] 48/2317796
Content-type: application/vnd.ogc.se_xml
<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException code="InvalidFormat">
msWMSLoadGetMapParams(): Image handling error. Unsupported output format (image/png).
</ServiceException>
</ServiceExceptionReport>
Cache miss: 1977210.0,770040.0,1977300.0,770130.0, Tile: x: 21971, y: 8557, z: 1, time: 0.556928873062
01 (021971, 008557) = (1977210.0000 770040.0000 1977300.0000 770130.0000) [0.5570s : 76.257/s] 49/2317796
Content-type: application/vnd.ogc.se_xml
_______________________________________________
Tilecache mailing list
Tilecache at openlayers.org
http://openlayers.org/mailman/listinfo/tilecache
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080116/d5a6905d/attachment.html
More information about the Tilecache
mailing list