[OSM-dev] OT: generate_tiles.py generates blank images

John McKerrell john at mckerrell.net
Wed Oct 1 20:31:58 BST 2008

In case it helps, I've attached my version of generate_tiles.py and  
the XML file I'm using. I'm also using world_boundaries basically for  
test data but obviously when I've got it all working I'll remove that.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: generate_tiles.py
Type: text/x-python-script
Size: 4113 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20081001/be1457fb/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postcodes.xml
Type: text/xml
Size: 1397 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20081001/be1457fb/attachment.xml>
-------------- next part --------------

On 1 Oct 2008, at 18:54, John McKerrell wrote:

> Hi
> First off, I'm afraid this isn't actually OSM related, but I'm hoping
> you'll help me out anyway.
> I'm trying to generate some tiles for postcode boundaries of a single
> UK city using mapnik. I've successfully generated a single image but
> when I try passing the same XML file into generate_tiles.py I just get
> blank data back. Does anyone have any suggestions for why? I'm pretty
> sure I'm passing the right bb in, it's (minlon,minlat,maxlon,maxlat)
> right? Here's what I'm using for swansea:
> 	bbox = (-4.09104,51.55263,-3.84899,51.67649)
> Any help would be much appreciated, am trying to avoid going with
> modtile for now as I'm generating the tiles for a client and can't
> control the servers they'd be hosted on, and I haven't setup modtile
> before.
> Cheers,
> John
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev

More information about the dev mailing list