[Tilecache] defaults for layers ?
Sebastian E. Ovide
sebastian.ovide at gmail.com
Thu Nov 4 09:58:39 EDT 2010
no luck...
On Thu, Nov 4, 2010 at 11:59 AM, Ivan Grcic <igrcic at gmail.com> wrote:
> hi, just define one layer at the beggining of cfg file, it will serve
> as a template to other layers if they dont have defined parameters:
>
> [DEFAULT]
> type=WMS
> url=http://mapserver/mapserver?map=/home/gis/conf/mapserver/uat_us.map
> layers=foo_layer
> spherical_mercator=true
> srs=EPSG:3857
> tms_type=google
> metaTile=yes
> metaBuffer=150
>
> //then define your layer only changing required params:
>
> [UAT_FL_SINKHOLE_GRIDDED]
> layers=UAT_FL_SINKHOLE_GRIDDED
>
> Cheers,
> Ivan
>
>
> On Thu, Nov 4, 2010 at 12:25 PM, Sebastian E. Ovide
> <sebastian.ovide at gmail.com> wrote:
> > Hi All,
> > I keep adding layers to tilecache.cfg... and most of them share the same
> > information. Example:
> > [UAT_FL_SINKHOLE_GRIDDED]
> > type=WMS
> > url=http://mapserver/mapserver?map=/home/gis/conf/mapserver/uat_us.map
> > layers=UAT_FL_SINKHOLE_GRIDDED
> > spherical_mercator=true
> > srs=EPSG:3857
> > tms_type=google
> > metaTile=yes
> > metaBuffer=150
> > there are three lines are unique to this layer and six are keep repeating
> in
> > nearly all the layers...
> > Is it possible to define defaults parameters globally for all the layers
> ?
> > Thanks
> > --
> > Sebastian E. Ovide
> >
> >
> >
> >
> > _______________________________________________
> > Tilecache mailing list
> > Tilecache at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/tilecache
> >
> >
>
>
>
> --
> Ivan Grcic
>
--
Sebastian E. Ovide
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20101104/af1c925b/attachment.html
More information about the Tilecache
mailing list