[Tile-serving] Where can I find the debug check-list for tiles rendering

Frederik Ramm frederik at remote.org
Wed Jun 21 11:48:28 UTC 2017


Hi,

On 21.06.2017 13:31, bs.osm at multi-sources.com wrote:
> Is there a typical check-list I could follow and adapt to get success here?

Probably in the head of all those who have set up many tile servers ;)

I would suggest that you first check whether your style is working
(ignore tiles for a moment). For that, use nik2img.py or nik4.py and
request a rendering for a test area, e.g. with

nik2img /path/to/my/xml/stylefile.xml -d 1000 1000 -b
left,bottom,right,top testimage.png

This will allow you to flush out any bugs you might have with the
database setup, file permissions, missing shape files, or other things.
I'm unsure if your Mapnik 2.2 is compatible with recent versions of the
map style but that would also show here. Only when that works (you get a
good looking testimage.png for a random area in France) should you
progress to trying to render tiles.

In rendering tiles, renderd and tirex are a bit different to debug. If
you have renderd, I'd suggest to do a render_list first for a few tiles
and see if they actually get rendered (do .meta files end up in
/vaR/lib/mod_tile?). If that doesn't work then the renderd<->mapnik
connection is where you have to look for bugs. If all this works, THEN
try rendering via mod_tile. At first, request only tiles that you have
previously produced with render_list - if that works, then request a
tile that has not been pre-rendered and watch if renderd receives a
render request.

If you have SELinux, disable it.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the Tile-serving mailing list