John, Can you explain more what you doing via PHP?
An error like 'XML document not well formed' is coming out of Mapnik proper not Nik2img. Dane On Oct 14, 2009, at 3:48 PM, John Smith wrote: > 2009/10/15 Frederik Ramm <[email protected]>: >> 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. > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openstreetmap.org/listinfo/dev _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

