[Tilecache] WMS-T support

Jim Groffen jim.groffen at lisasoft.com
Tue Jun 2 02:04:15 EDT 2009


Hello,

I've finished the work on the WMTS implementation in
TileCache, but I need to:

- update it to the main trunk version
- improve the docs and maybe add more doctests
- incorporate any feedback to get it contributed

The work was done for OWS-6 and is a RESTful implementation,
I haven't implemented the KVP interface.

A major difference is The way you define the coverage of
your tiles, this needs some nice documentation to make it
as easy as possible.

There are only a couple of concerns I can see with my
solution and its impact on TileCache. One of which is how
I had to extend the config file reading. It's backwards
compatible, but adds complication. In short the normal
behavior of TileCache is to treat all sections as a layer
definition except for an options section. My change added
an option to the options section that allows you to list
config sections that are to be treated as TileMatrixSets
and not layers. This has no impact on existing config
files but the changes are in Server.py and not small. I
tried to have as few changes impact files besides the
wmts.py layer and service files as possible.

I'll hopefully have a patch prepared some-time next week,
so I can get some feedback.

Regards,

Jim Groffen.

-----Original Message-----
From: tilecache-bounces at openlayers.org [mailto:tilecache-bounces at openlayers.org] On Behalf Of Christopher Schmidt
Sent: Tuesday, 2 June 2009 6:51 AM
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,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Tilecache mailing list
Tilecache at openlayers.org
http://openlayers.org/mailman/listinfo/tilecache

The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.



More information about the Tilecache mailing list