Public bug reported: This fails and renders all the tiles the same, I need to run the program multiple times to get different tiles.
#!/usr/bin/env python2 from mapnik import * import sys for x in range(35,40) : mapfile = 'split/style_%d.xml' % x map_output = 'maps/layer_%d.png' % x m = Map(4*1024,4*1024) load_map(m, mapfile) bbox=(Envelope( 20.271,42.06,21.804,43.125 )) m.zoom_to_box(bbox) print "output = " , map_output render_to_file(m, map_output,'png256') del m ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: python-mapnik 0.7.1-6 ProcVersionSignature: Ubuntu 3.0.0-17.30-generic-pae 3.0.22 Uname: Linux 3.0.0-17-generic-pae i686 NonfreeKernelModules: nvidia ApportVersion: 1.23-0ubuntu4 Architecture: i386 Date: Sun Apr 15 21:31:15 2012 ProcEnviron: SHELL=/bin/bash PATH=(custom, no user) LANG=C LANGUAGE=C SourcePackage: mapnik UpgradeStatus: Upgraded to oneiric on 2011-12-03 (134 days ago) ** Affects: mapnik (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 oneiric -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/982548 Title: When I render two files from osm data, both have the same image To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mapnik/+bug/982548/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs