[OpenLayers-Users] TileCache w/ Mapserver WMS question
Matthew Perry
perrygeo at gmail.com
Tue Dec 5 04:03:01 EST 2006
Hey folks,
I've got a question about a TileCache setup.
I've got a working WMS:
http://ebm.nceas.ucsb.edu/cgi-bin/mapserv?map=/maps/threats.map&layers=nedrape&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&FORMAT=image/jpeg&SRS=EPSG:4326&BBOX=-45,0,0,45&WIDTH=256&HEIGHT=256
I'm trying to point my tilecache.cfg at it:
[base]
type=WMSLayer
url=http://ebm.nceas.ucsb.edu/cgi-bin/mapserv?map=/maps/threats.map&
layers=nedrape
extension=png
Trying to request it via a tilecache:
http://ebm.nceas.ucsb.edu/tilecache/tilecache.py?LAYERS=base&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&FORMAT=image/jpeg&SRS=EPSG:4326&BBOX=-45,0,0,45&WIDTH=256&HEIGHT=256
... gives me the following error:
An error occurred: Zero length data returned from layer.
File "/mnt/raid/services/tilecache/TileCache/Service.py", line 397,
in modPythonHandler
host )
File "/mnt/raid/services/tilecache/TileCache/Service.py", line 382,
in dispatchRequest
return self.renderTile(tile, params.has_key('FORCE'))
File "/mnt/raid/services/tilecache/TileCache/Service.py", line 361,
in renderTile
else: raise Exception("Zero length data returned from layer.")
Any ideas?
--
Matthew T. Perry
GIS Analyst / Software Engineer
National Center for Ecological Analysis and Synthesis (NCEAS)
work: perry at nceas.ucsb.edu
web: http://www.perrygeo.net
More information about the Users
mailing list