[Tile-serving] [mod_tile] Bleed (#29)

Stephan Bösch-Plepelits notifications at github.com
Fri May 24 05:32:38 UTC 2013


Damn, I think I haven't read the documentation good enough. 'buffer-size' is exactly what I was looking for.

**BUT**

Apparently it doesn't work. This is the header of my XML-file:
```XML
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map 
  srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over"
  buffer-size="256"
  maximum-extent="-20037508.34, -20037508.34, 20037508.34, 20037508.34"
  background-color="#ff0000"
>
```

I tried several values for 'buffer-size', but the resulting image looks exactly the same as my first image (with no bleed). I set a background-color to make sure it's the new image I'm looking on.

I even checked the !bbox! mapnik is using by looking at the current queries in the database. The !bbox! for all variants is
```ST_SetSRID('BOX3D(16.38610839843748 48.19172557560668,16.44104003906252 48.2283321272029)'::box3d, 4326)``` (Yes, my database is in 4326 projection).

Am I missing something? I'm using Mapnik on the harfbuzz branch (HEAD mapnik/mapnik at abad0da).

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/29#issuecomment-18387310
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20130523/a549ea8a/attachment.html>


More information about the Tile-serving mailing list