[renderd] Print mapnik version used in renderd on start up

I have seen several cases recently in which renderd was using a different version of mapnik than the user expected,
as both Mapnik version 0.7 and 2.0 were installed. As style sheets aren't compatible between the versions, this caused problems.

This patch uses the preprocessor directive MAPNIK_VERSION to determine the version. I don't know if it is possible to compile
against one version and then dynamically link against a different version at run-time. But that probably will cause other problems
anyway.



git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@27979 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
+add mapnik/config_error.hpp. Fixes #4303.


git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28134 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
[mod_tile] Add a few more debuging log messages to track down issues in tile serving pathway



git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28145 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
whitespace fixes


git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28453 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
dynamically allocate memory for per-layer statistics; do not segfault
when more than XMLCONFIGS_MAX layers in use.


git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28454 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
fix build issue

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28460 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
reduce memory corruption


git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28462 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
simple conversion script from metatiles to tiles


git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28480 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
[mod_tile] Implement a tilejson endpoint.

Implement a tilejson endpoint to automatically configure a tile layer.
It follows the spec as described in https://github.com/mapbox/tilejson-spec/tree/master/2.0.0

Using TileJSON for specifying layer information was suggested in http://lists.openstreetmap.org/pipermail/dev/2012-July/025215.html



git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28493 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
touchup mapnik usage to support current master and older versions more cleanly

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28498 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
do not depend directly on mapnik::config_error

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28499 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
fix buffer overflow

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28510 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
update license to latest V2.0 version - typo fixes and FSF address update

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28511 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
add some ignores

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28512 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
finally remove hardcoded tile path and replace it by config option

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28516 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
fix possible, but unlikely buffer overflow

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28532 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
[mod_tile] Fix segfault in apache if ServerName is not specified in apache site config

The auto-config feature for tile-layer.json was probing the ServerName variable. To fix the
segfault, it now uses "localhost" if this variable is NULL. This needs a better fix later.



git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28545 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
typos

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28561 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
fix #4532 - one of the printfs actually was a scanf

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28628 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4
typo

git-svn-id: http://svn.openstreetmap.org/applications/utils/mod_tile@28629 b9d5c4c9-76e1-0310-9c85-f3177eceb1e4