To get the bounding box values from the Export tab might not the best options 
for us. Is there any way to get this automatically. Like a query to a table to 
would return the values?
Best regards.

Date: Wed, 22 May 2013 18:01:33 -0400
Subject: Re: [OSM-dev] Generate tiles with generate_tiles.py
From: rich...@weait.com
To: scream...@hotmail.com
CC: dev@openstreetmap.org

On Wed, May 22, 2013 at 5:52 PM, Vince Berubey <scream...@hotmail.com> wrote:




Hi,I would be grateful if someone could help me with this.
I use generate_tyles.py to create tiles. But, in the script you need to write 
the bounding box values of the region from where you want to generate the 
tiles. Since, I was using an example I found online, they were providing these 
values. But, for example, if I want to get the bounding box values of Paris, 
how do I get them?

    bbox = (-180.0,-90.0, 180.0,90.0) <---    render_tiles(bbox, mapfile, 
tile_dir, 0, 5, "Paris")


for kicks, try this for a start

bbox = (2.2192,48.7686, 2.4747,48.9491) 

You could use the export tab on openstreetmap.org (and the manually select a 
different area, option) to find another bounding box that you like. 


                                          
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to