Comment 3 for bug 982548

Revision history for this message
James Michael DuPont (jamesmikedupont) wrote : Re: [Bug 982548] Re: When I render two files from osm data, both have the same image

Sorry for the noise,
reported in on launchpad because am using the launchpad version of the
package, it seems to be out of date.

installed the package via apt-get install and bug reporting for those
package is via apport-cli, I thought it might help someone if they
encounter the same issue.

thanks for your help,

mike

On Tue, Apr 17, 2012 at 8:33 PM, springmeyer <email address hidden>wrote:

> Why are you reporting this on launchpad? This is a Mapnik bug, not a
> packaging bug. But, anyway - it was fixed a long time ago.
> https://github.com/mapnik/mapnik/issues/542 (original issue at
> http://173.255.217.246:8000/mapnik_trac/ticket/542) The fix is present
> in Mapnik 0.7.2, Mapnik 2.0.0, and Mapnik 2.0.1 releases.
>
> ** Bug watch added: 173.255.217.246/mapnik_trac/ #542
> http://173.255.217.246:8000/mapnik_trac/ticket/542
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/982548
>
> Title:
> When I render two files from osm data, both have the same image
>
> Status in “mapnik” package in Ubuntu:
> New
>
> Bug description:
> 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)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/mapnik/+bug/982548/+subscriptions
>

--
James Michael DuPont
Member of Free Libre Open Source Software Kosova http://flossk.org