[Tilecache] Problem with using Tilecache on top of WMS

Scott Lewis scott.lewis at nsidc.org
Wed Sep 23 15:05:48 EDT 2009


Thanks, that did indeed seem to be the problem.  I guess I thought that 
since the SRS=EPSG%3A3408 was in the URL, that it would supplant it in 
the TileCache.

I appreciate the help!

Christopher Schmidt wrote:
> On Wed, Sep 23, 2009 at 12:36:16PM -0600, Scott Lewis wrote:
>> I'm just starting to learn TileCache, and I think I have it installed 
>> correctly.  However, I'm running into a problem when I try to use it.
>>
>>
>> When I run the following URL directly, I get the map of Greenland that I 
>> want:
>>
>> http://nsidc.org/cgi-bin/nsidc_ogc_north.pl?LAYERS=blue_marble_07&
>> FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&
>> STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A3408&
>> BBOX=-3000000,-3000000,0,0&WIDTH=256&HEIGHT=256
>>
>>
>> However, When I try to call my TileCache script, it doesn't.  Here's the 
>> URL to the TileCache script (note that it's not available externally as 
>> it's on a development system):
>>
>> http://DEVELOPMENT_SERVER_NAME/cgi-bin/tilecache/tilecache.cgi?
>> LAYERS=north_greenland2&FORMAT=image%2Fjpeg&SERVICE=WMS&VERSION=1.1.1&
>> REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&
>> SRS=EPSG%3A3408&BBOX=-3000000,-3000000,0,0&WIDTH=256&HEIGHT=256
>>
>>
>> Here is the definition in the tilecache.cfg file for [north_greenland]
>>
>> [north_greenland]
>> type=WMS
>> layers=blue_marble_07
>> url=http://nsidc.org/cgi-bin/nsidc_ogc_north.pl
>> extension=jpeg
>> bbox=-3000000,-3000000,0,0
> 
> You don't have an SRS defined, so TileCache is using the default (4326).
> Set srs=EPSG:3408
> 
> -- Chris
> 
>> Calling the WMS directly results in the image being created.  The 
>> TileCache call, however, just generates a blank, blue image.
>>
>>
>> I looked in the error logs and didn't see anything indicating something 
>> was amiss there.
>>
>>
>> Any thoughts or suggestions on what may be the problem?
>>
>>
>> Scott Lewis
>> National Snow and Ice Data Center
>> _______________________________________________
>> Tilecache mailing list
>> Tilecache at openlayers.org
>> http://openlayers.org/mailman/listinfo/tilecache
> 



More information about the Tilecache mailing list