[Tilecache] More CustomService Questions

Brian Walawender Brian.Walawender at noaa.gov
Wed Mar 4 12:04:14 EST 2009


Chris,

Thanks, based on your example below I got the desired naming convention for
my cache directory.  I hope to a using the database for the configuration
information example to share next week.

bw

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Sent: Wednesday, March 04, 2009 10:58 AM
To: Brian Walawender
Cc: tilecache at openlayers.org
Subject: Re: [Tilecache] More CustomService Questions

On Wed, Mar 04, 2009 at 10:24:39AM -0600, Brian Walawender wrote:
> Hello,
>  
> I have another question about creating a custom service.   When I am
> defining a layer (such as)
> 
> 
> "OSM"       : WMS.WMS( "roads", 
>  
> "http://aesis.metacarta.com/cgi-bin/mapserv?FORMAT=png8&" +

 (Holy crap, that's an old name. I hadn't realized I'd left around
 references to that...)  

>                     "map=/home/crschmidt/osm.map&TRANSPARENT=TRUE&",
>                     extension = "png"  
>  
> I see that my cache is getting named roads instead of OSM.  Isn't roads
the
> layer that is sent to the WMS  and OSM is the tilecache name?

Nope.

> Would the request above be the same as:

Nope. There is nothing that would match this in the config land. In the
config land, the key in the dictionary and the first arg are *always*
the same. Then, each key/value pair maps into the dictionary keys.

'OSM': WMS("OSM", layers='roads', url='blah'), etc. 

> [OSM]
> layers=roads
> type=WMS
> url=
>
http://aesis.metacarta.com/cgi-bin/mapserv?FORMAT=png8&map=/home/crschmidt/o
> sm.map&TRANSPARENT=TRUE&
> extension=png
>  
> Thanks.
>  
> bw
>  
> _________________________________________________
> Brian Walawender
> Technique Development Meteorologist
> Scientific Services Division - Central Region Headquarters
> 816-268-3114 - Office
> 816-805-6497 - Cell
>  

> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache


-- 
Christopher Schmidt
MetaCarta




More information about the Tilecache mailing list