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"><<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>></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>
><br>
> Hi,<br>
><br>
> I have problem in mapnik tilecache. I attached png with this mail.<br>
> lables and icons are not come @ edges of tiles while i have set the<br>
> property allow_overlap="true" in both pointsymbolizer as well as<br>
> textsymbolizer and avoid_edges="false".<br>
> My CFG File looks like :-<br>
><br>
> [cache]<br>
> type=Disk<br>
> base=/tmp/tilecache<br>
> [basic]<br>
><br>
> type=MapnikLayer<br>
> mapfile= C:/python26/zoom0.xml<br>
> bbox=55.734722,2.188056,105.301389,43.456111<br>
> maxResolution=0.17578125<br>
> extent_type= loose<br>
> extension= png<br>
><br>
> and XML File<br>
><br>
> <?xml version="1.0" encoding="utf-8"?><br>
> <!DOCTYPE Map><br>
> <Map bgcolor="#000099" srs="+proj=latlong +datum=WGS84"><br>
><br>
> <Style name="India"><br>
> <Rule><br>
> <PolygonSymbolizer><br>
> <CssParameter name="fill">#f2eff9</CssParameter><br>
> </PolygonSymbolizer><br>
> <LineSymbolizer><br>
> <CssParameter name="stroke">#000000</CssParameter><br>
> <CssParameter name="stroke-width">0.2</CssParameter><br>
> </LineSymbolizer><br>
> <TextSymbolizer name="Name" face_name="DejaVu Sans Book" size="18"<br>
> fill="white" halo_fill= "#2E2F39" halo_radius="1" wrap_width="20"<br>
> spacing="8" allow_overlap="false" avoid_edges="true" min_distance="10"/><br>
> </Rule><br>
> </Style><br>
><br>
> <Layer name="India_BND" srs="+proj=latlong +datum=WGS84"><br>
> <StyleName>India</StyleName><br>
> <Datasource><br>
> <Parameter name="type">shape</Parameter><br>
> <Parameter name="file">E:/shape/India_BND</Parameter><br>
> </Datasource><br>
> </Layer><br>
><br>
><br>
> <!-- major city --><br>
> <Style name="major_city"><br>
> <Rule><br>
> <PointSymbolizer file="city.png" width="13" height="13" type="png"<br>
> allow_overlap="true" /><br>
> <TextSymbolizer name="Name" face_name="DejaVu Sans Book" size="11"<br>
> fill="black" halo_fill= "#2E2F39" halo_radius="0" wrap_width="25"<br>
> allow_overlap="true" placement="point" dy="1" avoid_edges="false" /><br>
> </Rule><br>
> </Style><br>
><br>
> <Layer name="major_city" srs="+proj=latlong +datum=WGS84"><br>
> <StyleName>major_city</StyleName><br>
> <Datasource><br>
> <Parameter name="type">shape</Parameter><br>
> <Parameter name="file">E:/shape/Major_Cities2</Parameter><br>
> </Datasource><br>
> </Layer><br>
><br>
> </Map><br>
><br>
> please help !!!!!<br>
> --<br>
> 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>
> Sent from the TileCache mailing list archive at Nabble.com.<br>
> _______________________________________________<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>
</div></div></blockquote></div><br><br clear="all"><br><br>