Ticket #89 (closed defect: fixed)
empty text labels get rendered as zero (0)
Description
When running the SVN mapnik tree I get lots of 0 for text labels. This occurs of a road has no label. This started happening since r657 removed NUL columns from the postgis result set.
The problem occurs because the text symbolizer accesses 'feature[sym.get_name()]' which will return a value(0) if the name does not exist in the feature properties.
I have a tentative fix which I'll attach.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
