I'm getting cut labels on my maps. Same thing is happening on the main map here:

http://www.openstreetmap.org/#map=11/52.3303/-1.3774

(look between Coventry and Rugby)

Anyone know how to fix them?

I made a dynamic tileserver with Mapnik, renderd and Apache mod-tile. Also made a static one with Mapnik and generate_tiles.py to make the tiles. Same thing is happening in both cases.

Did some research and discovered that the problem is caused by not having a buffer around the rendered tiles. So I stated a buffer size in my main xml style file (osm.xml):

<Map background-color="#b5d0d0" buffer-size="128" srs="&srs900913;" minimum-version="2.0.0">

Did so for the dynamic and the static servers. Made no difference. Tried different sizes for the buffer: 256, 1024, made no difference. I know osm.xml is being loaded because every time I edit it I change the background colour and I can see the new colour in newly rendered tiles.

So Mapnik is reading osm.xml but apparently ignoring the buffer size. Why so?

Thank you.

asked 26 May '14, 18:20

Charles%20Sweeney's gravatar image

Charles Sweeney
101339
accept rate: 0%

closed 26 May '14, 18:49

scai's gravatar image

scai ♦
30.9k18278431

The question has been closed for the following reason "Duplicate Question (https://help.openstreetmap.org/questions/33485/cut-labels-with-mapnik)" by scai 26 May '14, 18:49

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×309
×44
×8
×4

question asked: 26 May '14, 18:20

question was seen: 1,448 times

last updated: 26 May '14, 18:49

powered by OSQA