[Tilecache] performance ideas
Ivan Mincik
ivan.mincik at gista.sk
Mon Jan 4 11:36:19 EST 2010
>
> 5) Not a performance idea, but something nice. My .cfg file has lots
> of redundant values. How about adding a [default] section to the .cfg
> parser where default values can be set. For example, epsg:4326 is not
> what I need, so every [layer] has srs=EPSG:900913. Instead, just put
> srs= in the [default] section, and now every layer will use that as
> it's default. I suspect there could be a way to do this that I just
> haven't found yet.
>
> I've not yet received any feedback, am I wasting my time?
Hi, You can use [DEFAULT] section in *.cfg file and put default values in it. Python ConfigParser will recognize them
automatically as default values for all other sections.
--
Ivan Mincik
Gista s.r.o.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.osgeo.org/pipermail/tilecache/attachments/20100104/d41431cd/attachment.bin
More information about the Tilecache
mailing list