{"action":"opened","issue":{"number":202,"created_at":"2011-10-11T07:42:20Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"I've recently switched the mod_tile code to using map.buffer_size() to fix the issue with labels being cut-off at tile borders. Unfortunately it does not seem to be working properly. \r\n\r\nThe previous algorithm rendered a map with half a tile extra around the edge of the map and that worked OK.\r\n\r\nLooking into feature_style_processor apply_to_layer() I see that it builds the bbox for the datasource query from the map.getCurrentExtent(). This does not seem to make any account for the buffer_size. I think it needs to add the buffer_size to the extent when querying the datasource so that items which may exist in the buffer zone get a chance to be rendered on this tile (e.g. text label for a point just beyond the tile border).","comments":0,"title":"map.buffer_size() does not seem to fetch data within buffer zone","updated_at":"2011-10-11T07:42:20Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/202","id":1871728,"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/202","labels":[{"name":"Core_Library","url":"https://api.github.com/repos/mapnik-org/mapnik/labels/Core_Library","color":"FFFFFF"}],"state":"open"},"legacy":{"number":202,"action":"opened","issue":1871728}}