When I render two files from osm data, both have the same image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mapnik (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
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/
map_output = 'maps/layer_%d.png' % x
m = Map(4*1024,4*1024)
load_map(m, mapfile)
bbox=(Envelope( 20.271,
m.zoom_
print "output = " , map_output
render_
del m
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-mapnik 0.7.1-6
ProcVersionSign
Uname: Linux 3.0.0-17-
NonfreeKernelMo
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)
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.