[Tilecache] WMS-T support

Steve Gaffigan gaffigan at sfos.uaf.edu
Mon Jun 1 20:20:51 EDT 2009


Hello.  In case anyone else is interested, below is a forwarded response 
I sent to Brian regarding my WMS-T patch.

Steve

-------- Original Message --------
Subject: Re: [Tilecache] WMS-T support
Date: Mon, 01 Jun 2009 16:13:05 -0800
From: Steve Gaffigan <gaffigan at sfos.uaf.edu>
To: Brian.Walawender at noaa.gov
References: <017501c9e2f8$f786c060$e6944120$%walawender at noaa.gov> 
<20090601212043.GH17782 at metacarta.com> 
<018b01c9e2ff$2ec30380$8c490a80$%walawender at noaa.gov>

Brian,

Hello.  My patch to get WMS-T support with TileCache requires updates to
a lot of the files in TileCache.  Just using the patched Layers/WMS.py
won't work.  A new version of the patch is below.  Also shown is an
example of applying the patch, relevant to Linux.

http://ak.aoos.org/data/patch/tilecache_aoos.patch
[gaffigan at ak tilecache]$ patch -p0 < tilecache_aoos.patch

Alternatively, I just applied the patch to the TileCache source,
tilecache-2.10.tar.gz, and then repackaged it (zip and .tar.gz).  You
can download one of these and unpack as usual.

http://ak.aoos.org/~gaffigan/tmp/tilecache/tilecache-2.10-gaff.tar.gz
http://ak.aoos.org/~gaffigan/tmp/tilecache/tilecache-2.10-gaff.zip

I have a few notes on using the time support on the page below.  You'll
have to "confirm security certificate" or whatever because we self-sign
our security certificate.

https://db.aoos.org/wiki/index.php/AOOS_OpenLayers#AOOS_Upgrades

You'll no doubt notice there are a number of other minor patches I've
made, and one new module I've added, which are all bundled together in
the above patch.  When I have some time I want to separate out the time
part again and resubmit it to the mailing list, since I've made a lot of
updates since my original submission.

Hope this helps.  I'd appreciate it if you send me a note if you find
any problems.  If possible I can resolve, or else at least make note of,
the problem.  Thanks.  Hope you find this useful.  TileCache is a great
module.

Steve


Brian Walawender wrote:
> Steve,
> 
> I saw your post on the Tilecache list about WMS-T.  Can you send me your
> WMS.py file?
> 
> Thanks.
> 
> bw
> 
> -----Original Message-----
> From: tilecache-bounces at openlayers.org
> [mailto:tilecache-bounces at openlayers.org] On Behalf Of Christopher Schmidt
> Sent: Monday, June 01, 2009 4:21 PM
> To: Brian Walawender
> Cc: tilecache at openlayers.org
> Subject: Re: [Tilecache] WMS-T support
> 
> On Mon, Jun 01, 2009 at 03:38:48PM -0500, Brian Walawender wrote:
>> Hello,
>>  
>> Can I make WMS-T requests to tilecache?   My WMS requests look like:
>>  
>> radar =  new OpenLayers.Layer.WMS( "TWX", 
>>         "http://
>>
> 216.38.80.111/cgi-bin/mapserv?map=/usr/local/mapserver_config/TWX_time.map",
>>         {
>>                layers: 'TWX_N0R',
>>                transparent: true,
>>                time: '2009-06-01T15:55',
>>                format: 'image/png'
>>         }, {
>>                singleTile: true,
>>                isBaseLayer: false, 
>>                opacity: 0.9
>>         }
>> );
>>  
>> My tilecache requests would look like:
>>  
>> tc_url = ['http://radarcache.srh.noaa.gov/tilecache/tilecache.py'];
>>  
>> radar = new OpenLayers.Layer.WMS( "State Borders", tc_url,
>>         {
>>                layers: 'TWX_N0R',
>>                transparent: true,
>>                format: 'image/png'
>>        }, {
>>                singleTile: false,
>>                isBaseLayer: false, 
>>                opacity: 1.0
>>        }
>> );      
>>  
>> Is time a recognized param for tilecache?
> 
> No.
> 
> I feel like fredj wrote a patch that would allow you to create different
> cache directories based on a specific parameter in the URL. However, I
> don't remember ever integrating it, so there's a good chance that it got
> lost in mailing list traffic. I would say that this would be the place
> to look -- either in the code or in the mailing list for such a thing.
> (Perhaps fredj can find it more easily, if he's listening.)
> 
> 
> Regards,




More information about the Tilecache mailing list