[OpenLayers-Users] TileCache w/ Mapserver WMS question

Christopher Schmidt crschmidt at metacarta.com
Tue Dec 5 07:30:26 EST 2006


On Tue, Dec 05, 2006 at 01:03:01AM -0800, Matthew Perry wrote:
> 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
> 

Can you check your server log and see what URL it's actually requesting?
This error message means "The WMS server gave me no data", but without
knowing the WMS URL, it's hard to know why. (TileCache is unfortunately
not the most informative in this situation.)

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list