Thanks Dane and Ritesh,<br>I got solved my problem.<br>Now I am using avoid_edges=true and metaTile=yes. It works fine.<br> <br><br><div class="gmail_quote">On Thu, Sep 9, 2010 at 3:47 AM, Dane Springmeyer <span dir="ltr">&lt;<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">try changing in your mapnik xml:<br>
<br>
avoid_edges=true # in symbolizer<br>
<br>
and<br>
<br>
buffer_size=128 # or larger at map level<br>
<br>
If that does not work, then post to the mapnik-users list.<br>
<font color="#888888"><br>
Dane<br>
</font><div><div></div><div class="h5"><br>
On Sep 9, 2010, at 6:55 AM, rakesh.modi1585 wrote:<br>
<br>
&gt;<br>
&gt; Hi,<br>
&gt;<br>
&gt; I have problem in mapnik tilecache. I attached png with this mail.<br>
&gt;  lables and icons are not come @ edges of tiles while i have set the<br>
&gt; property allow_overlap=&quot;true&quot; in both   pointsymbolizer as well as<br>
&gt; textsymbolizer and avoid_edges=&quot;false&quot;.<br>
&gt; My CFG File looks like :-<br>
&gt;<br>
&gt; [cache]<br>
&gt; type=Disk<br>
&gt; base=/tmp/tilecache<br>
&gt; [basic]<br>
&gt;<br>
&gt; type=MapnikLayer<br>
&gt; mapfile= C:/python26/zoom0.xml<br>
&gt; bbox=55.734722,2.188056,105.301389,43.456111<br>
&gt; maxResolution=0.17578125<br>
&gt; extent_type= loose<br>
&gt; extension= png<br>
&gt;<br>
&gt; and XML File<br>
&gt;<br>
&gt; &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;<br>
&gt; &lt;!DOCTYPE Map&gt;<br>
&gt; &lt;Map bgcolor=&quot;#000099&quot; srs=&quot;+proj=latlong +datum=WGS84&quot;&gt;<br>
&gt;<br>
&gt;  &lt;Style name=&quot;India&quot;&gt;<br>
&gt;    &lt;Rule&gt;<br>
&gt;      &lt;PolygonSymbolizer&gt;<br>
&gt;        &lt;CssParameter name=&quot;fill&quot;&gt;#f2eff9&lt;/CssParameter&gt;<br>
&gt;      &lt;/PolygonSymbolizer&gt;<br>
&gt;      &lt;LineSymbolizer&gt;<br>
&gt;        &lt;CssParameter name=&quot;stroke&quot;&gt;#000000&lt;/CssParameter&gt;<br>
&gt;        &lt;CssParameter name=&quot;stroke-width&quot;&gt;0.2&lt;/CssParameter&gt;<br>
&gt;      &lt;/LineSymbolizer&gt;<br>
&gt;         &lt;TextSymbolizer name=&quot;Name&quot; face_name=&quot;DejaVu Sans Book&quot; size=&quot;18&quot;<br>
&gt; fill=&quot;white&quot; halo_fill= &quot;#2E2F39&quot; halo_radius=&quot;1&quot; wrap_width=&quot;20&quot;<br>
&gt; spacing=&quot;8&quot; allow_overlap=&quot;false&quot; avoid_edges=&quot;true&quot; min_distance=&quot;10&quot;/&gt;<br>
&gt;    &lt;/Rule&gt;<br>
&gt;  &lt;/Style&gt;<br>
&gt;<br>
&gt;  &lt;Layer name=&quot;India_BND&quot; srs=&quot;+proj=latlong +datum=WGS84&quot;&gt;<br>
&gt;    &lt;StyleName&gt;India&lt;/StyleName&gt;<br>
&gt;    &lt;Datasource&gt;<br>
&gt;      &lt;Parameter name=&quot;type&quot;&gt;shape&lt;/Parameter&gt;<br>
&gt;      &lt;Parameter name=&quot;file&quot;&gt;E:/shape/India_BND&lt;/Parameter&gt;<br>
&gt;    &lt;/Datasource&gt;<br>
&gt;  &lt;/Layer&gt;<br>
&gt;<br>
&gt;<br>
&gt; &lt;!-- major city --&gt;<br>
&gt;    &lt;Style name=&quot;major_city&quot;&gt;<br>
&gt;    &lt;Rule&gt;<br>
&gt;       &lt;PointSymbolizer file=&quot;city.png&quot; width=&quot;13&quot; height=&quot;13&quot; type=&quot;png&quot;<br>
&gt; allow_overlap=&quot;true&quot; /&gt;<br>
&gt;     &lt;TextSymbolizer name=&quot;Name&quot; face_name=&quot;DejaVu Sans Book&quot; size=&quot;11&quot;<br>
&gt; fill=&quot;black&quot; halo_fill= &quot;#2E2F39&quot; halo_radius=&quot;0&quot; wrap_width=&quot;25&quot;<br>
&gt; allow_overlap=&quot;true&quot; placement=&quot;point&quot; dy=&quot;1&quot; avoid_edges=&quot;false&quot; /&gt;<br>
&gt;    &lt;/Rule&gt;<br>
&gt;  &lt;/Style&gt;<br>
&gt;<br>
&gt;  &lt;Layer name=&quot;major_city&quot; srs=&quot;+proj=latlong +datum=WGS84&quot;&gt;<br>
&gt;    &lt;StyleName&gt;major_city&lt;/StyleName&gt;<br>
&gt;    &lt;Datasource&gt;<br>
&gt;      &lt;Parameter name=&quot;type&quot;&gt;shape&lt;/Parameter&gt;<br>
&gt;      &lt;Parameter name=&quot;file&quot;&gt;E:/shape/Major_Cities2&lt;/Parameter&gt;<br>
&gt;    &lt;/Datasource&gt;<br>
&gt;  &lt;/Layer&gt;<br>
&gt;<br>
&gt; &lt;/Map&gt;<br>
&gt;<br>
&gt;                 please help !!!!!<br>
&gt; --<br>
&gt; View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Tilecache-cut-the-icon-and-label-edges-of-tiles-tp5513241p5513241.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Tilecache-cut-the-icon-and-label-edges-of-tiles-tp5513241p5513241.html</a><br>

&gt; Sent from the TileCache mailing list archive at Nabble.com.<br>
&gt; _______________________________________________<br>
&gt; Tilecache mailing list<br>
&gt; <a href="mailto:Tilecache@lists.osgeo.org">Tilecache@lists.osgeo.org</a><br>
&gt; <a href="http://lists.osgeo.org/mailman/listinfo/tilecache" target="_blank">http://lists.osgeo.org/mailman/listinfo/tilecache</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><br><br>