Rakesh, did you try what I recommended on the tilecache list? Is is difficult to help unless you acknowledge what suggestions work and which didn't and why.

--- \o/ ---
Sent from my phone

On Sep 10, 2010, at 10:59 AM, rakesh modi <[email protected]> wrote:


Hi,

I have problem in mapnik tilecache. I attached png with this mail.
 lables and icons are not come @ edges of tiles while i have set the
property allow_overlap="true" in both   pointsymbolizer as well as
textsymbolizer and avoid_edges="true".
My CFG File looks like :-

[cache]
type=Disk
base=/tmp/tilecache
[basic]

type=MapnikLayer
mapfile= C:/python26/zoom0.xml
bbox=55.734722,2.188056,105.301389,43.456111
maxResolution=0.17578125
extent_type= loose
extension= png
buffer_size=256

and XML File

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map bgcolor="#000099" srs="+proj=latlong +datum=WGS84">

 <Style name="India">
   <Rule>
     <PolygonSymbolizer avoid_edges="true" allow_overlap="true">
       <CssParameter name="fill">#f2eff9</CssParameter>
     </PolygonSymbolizer>
     <LineSymbolizer avoid_edges="true" allow_overlap="true">
       <CssParameter name="stroke">#000000</CssParameter>
       <CssParameter name="stroke-width">0.2</CssParameter>
     </LineSymbolizer>
<TextSymbolizer name="Name" face_name="DejaVu Sans Book" size="10"
fill="white" halo_fill= "#2E2F39" halo_radius="1" wrap_width="20"
allow_overlap="true" avoid_edges="true"/>
   </Rule>
 </Style>

 <Layer name="India_BND" srs="+proj=latlong +datum=WGS84">
   <StyleName>India</StyleName>
   <Datasource>
     <Parameter name="type">shape</Parameter>
     <Parameter name="file">E:/shape/India_BND</Parameter>
   </Datasource>
 </Layer>


<!-- major city -->
   <Style name="major_city">
   <Rule>
   <PointSymbolizer file="city.png" width="13" height="13" type="png"
allow_overlap="true" avoid_edges="true"/>
    <TextSymbolizer name="Name" face_name="DejaVu Sans Book" size="8"
fill="black" halo_fill= "#2E2F39" halo_radius="0" wrap_width="25"
allow_overlap="true" placement="point" dy="1" avoid_edges="true" />
   </Rule>
 </Style>

 <Layer name="major_city" srs="+proj=latlong +datum=WGS84">
   <StyleName>major_city</StyleName>
   <Datasource>
     <Parameter name="type">shape</Parameter>
     <Parameter name="file">E:/shape/Major_Cities2</Parameter>
   </Datasource>
 </Layer>

</Map>

please help !!!!!!!!!!!!! http://old.nabble.com/file/p29674777/error.bmp
error.bmp  http://old.nabble.com/file/p29674777/error.jpeg
--
View this message in context: 
http://old.nabble.com/Tilecache-cut-the-icon-and-label-%40-edges-of-tiles-tp29674777p29674777.html
Sent from the Mapnik - Users mailing list archive at Nabble.com.

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to