Hi Bjørn, Sounds like a bug. Can you give me access to "country_labels" shapefile and I'll investigate further.
Regards, Artem 2010/1/15 Bjørn Sandvik <[email protected]>: > Hi, > > I'm experiencing a strange error with Mapnik rendering labels from a > point shapefile. For zoom level 1 only labels on the southern > hemisphere (the two bottom tiles) are rendered - see the image > attachment. The other zoom levels are rendered correctly. It works > when using standard latitude/longitide projection (EPSG:4326), but not > "spherical mercator". > > tilecache.cfg > > [country_labels2] > type=Mapnik > mapfile=C:\EarthAtlas\maps\merc_country_labels2.xml > spherical_mercator=true > metaTile=true > metaBuffer=50 > metaSize=2,2 > > merc_country_labels2.xml > > <?xml version="1.0" encoding="utf-8"?> > <!DOCTYPE Map> > <Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 > +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgri...@null"> > <Style name="country_labels"> > <Rule> > <TextSymbolizer name="nor" face_name="DejaVu Sans Book" size="8" > wrap_width="50" fill="black" halo_fill="white" halo_radius="1" dy="0" > dx="0" vertical_alignment="middle" allow_overlap="false"/> > </Rule> > </Style> > <Layer name="Cities" srs="+proj=latlong +datum=WGS84"> > <StyleName>country_labels</StyleName> > <Datasource> > <Parameter name="encoding">latin1</Parameter> > <Parameter name="type">shape</Parameter> > <Parameter > name="file">originals/countries_point_lonlat_sorted/countries_point_lonlat_sorted</Parameter> > </Datasource> > </Layer> > </Map> > > I've also tried to reproject the shapefile before rendering the tiles > - but the error was still there. > > Anyone else who have experienced this problem? > > Cheers, > Bjørn > > http://blog.thematicmapping.org > > _______________________________________________ > 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

