[OSM-dev] Mapnik rendering: Zoom-Level to Width/Height

John Smith deltafoxtrot256 at gmail.com
Wed Oct 14 23:48:40 BST 2009


2009/10/15 Frederik Ramm <frederik at remote.org>:
> Hi,
>
> Peter Körner wrote:
>> I'm writing on a simple Frontend for the mapnik-toolchain. Currently you
>> can call it like this:
>
> Are you aware of the "nik2img" tool which does pretty much everything
> you write here - including specifying the zoom level?
>
> http://code.google.com/p/mapnik-utils/wiki/Nik2Img

Is there an easy way to have this run on demand via a webscript, I've
tried to call it via php and keep getting:

Step: 4 // --> Loaded XML from string
XML document not well formed

It works fine if I run it from the command line, and the php script
can read the xml/mapnik style sheet file I'm telling nik2img to use.




More information about the dev mailing list