no luck...<br><br><div class="gmail_quote">On Thu, Nov 4, 2010 at 11:59 AM, Ivan Grcic <span dir="ltr"><<a href="mailto:igrcic@gmail.com">igrcic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
hi, just define one layer at the beggining of cfg file, it will serve<br>
as a template to other layers if they dont have defined parameters:<br>
<br>
[DEFAULT]<br>
<div class="im">type=WMS<br>
url=<a href="http://mapserver/mapserver?map=/home/gis/conf/mapserver/uat_us.map" target="_blank">http://mapserver/mapserver?map=/home/gis/conf/mapserver/uat_us.map</a><br>
</div>layers=foo_layer<br>
<div class="im">spherical_mercator=true<br>
srs=EPSG:3857<br>
tms_type=google<br>
metaTile=yes<br>
metaBuffer=150<br>
<br>
</div>//then define your layer only changing required params:<br>
<br>
[UAT_FL_SINKHOLE_GRIDDED]<br>
<div class="im">layers=UAT_FL_SINKHOLE_GRIDDED<br>
<br>
</div>Cheers,<br>
Ivan<br>
<div><div></div><div class="h5"><br>
<br>
On Thu, Nov 4, 2010 at 12:25 PM, Sebastian E. Ovide<br>
<<a href="mailto:sebastian.ovide@gmail.com">sebastian.ovide@gmail.com</a>> wrote:<br>
> Hi All,<br>
> I keep adding layers to tilecache.cfg... and most of them share the same<br>
> information. Example:<br>
> [UAT_FL_SINKHOLE_GRIDDED]<br>
> type=WMS<br>
> url=<a href="http://mapserver/mapserver?map=/home/gis/conf/mapserver/uat_us.map" target="_blank">http://mapserver/mapserver?map=/home/gis/conf/mapserver/uat_us.map</a><br>
> layers=UAT_FL_SINKHOLE_GRIDDED<br>
> spherical_mercator=true<br>
> srs=EPSG:3857<br>
> tms_type=google<br>
> metaTile=yes<br>
> metaBuffer=150<br>
> there are three lines are unique to this layer and six are keep repeating in<br>
> nearly all the layers...<br>
> Is it possible to define defaults parameters globally for all the layers ?<br>
> Thanks<br>
> --<br>
> Sebastian E. Ovide<br>
><br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Tilecache mailing list<br>
> <a href="mailto:Tilecache@lists.osgeo.org">Tilecache@lists.osgeo.org</a><br>
> <a href="http://lists.osgeo.org/mailman/listinfo/tilecache" target="_blank">http://lists.osgeo.org/mailman/listinfo/tilecache</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
<font color="#888888">Ivan Grcic<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Sebastian E. Ovide<br><br><br><br><br>