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

Frederik Ramm frederik at remote.org
Thu Jun 22 11:30:47 UTC 2017


Hi,

On 06/22/17 12:32, bs.osm at multi-sources.com wrote:
> Thx Frederik for your fast and highly useful answer.
> 
> I have a problem (at least) in the xml style file. 
> 
> BTW, is there somewhere some basic xml style file? Most of the info I have googled seem to imply to rebuild the xml file from several other files, a basic dummy would probably be highly useful!

Have a look at this ultra old but simple enough XML. Notice the comment
about changing the projection which applies to you if you have a
standard osm2pgsql import:

http://openstreetmap.info/examples/mapnik-example.xml

> Step: 18 // --> Layers intersecting map: [undefined, undefined, builtup, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined]

That's strange. I would suggest that you activate logging
(log_statement=all) in your postgresql.conf. Then you'll see exactly
which database queries Mapnik is executing, and replaying them against
the PostgreSQL might give you an idea of what goes wrong. Somehow it
seems that Mapnik doesn't get any data from the database.

Bye
Frederik

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



More information about the Tile-serving mailing list