2009/10/15 Dane Springmeyer <[email protected]>: > 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.
I think the problem may be due to loss of privileges in PHP, on the command line I run the same command: /usr/bin/nik2img.py /var/lib/mod_tile/osm.xml --srs 900913 -d 512 512 --pipe --bbox 112 -45 154 -10 > /tmp/test.png Works when run as root, doesn't when apache drops privileges and I figured this out now when I tried to run the same command that as the same user apache runs as. I think I'll need to write a simple daemon and then pipe to it over a local socket, if someone hasn't written one already that is. _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

