I have an issue with mapnik 2.1.0-pre. Mapnik skips labeling polygons with the TextSymbolizer attribute. Is there any particular reason this could happen?

text_symbolizer = mapnik.TextSymbolizer(mapnik.Expression('[tournbr]'), 'Open Sans Bold Italic', 14, mapnik.Color('#354466'))

In most cases I have a valid textSymbolizer, but sometimes the text-object just is not there. I have the polygons but not all labels related to them.

My queries are correct, and so is the resultset.

Version issue or a general problem? Successful defeating strategies, anyone?

Thank you! Martin

P.s. Can provide images if needed.

  • Does it happen with other versions? Have you looked at the mapnik bug list? Have you asked on a mapnik forum or mailing list? That would be useful information to include in your post... – BradHards Jan 3 '14 at 11:03
  • Didn't test with any other version and I didn't ask on the mapnik mailing list. But if I don't get an answer here, I'll drop a mail... – Styp Jan 3 '14 at 11:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.