{"comment":{"created_at":"2011-10-11T07:34:35Z","body":"[tomh] Talking with Jon on IRC we think a better solution may be an explicit null type in the boost::variant used by mapnik::value...","updated_at":"2011-10-11T07:34:35Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/comments/2356465","id":2356465,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"}},"action":"created","issue":{"number":87,"created_at":"2011-10-11T07:34:34Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"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.\r\n\r\nThe 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.\r\n\r\nI have a tentative fix which I'll attach.","comments":2,"title":"empty text labels get rendered as zero (0)","updated_at":"2011-10-11T07:34:36Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/87","id":1871575,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"},"html_url":"https://github.com/mapnik-org/mapnik/issues/87","labels":[{"name":"Core_Library","url":"https://api.github.com/repos/mapnik-org/mapnik/labels/Core_Library","color":"FFFFFF"}],"state":"open"},"legacy":{"issue_id":1871575,"comment_id":2356465}}