I import the data to Postgres/Postgis. Thank you for ST_Envelope, i'll give it a try.
Vinc > To: dev@openstreetmap.org > From: li...@fuchsschwanzdomain.de > Date: Fri, 24 May 2013 12:32:45 +0000 > Subject: Re: [OSM-dev] Generate tiles with generate_tiles.py > > Vince Berubey <scream...@hotmail.com> wrote: > > > For example, I download an .osm.bz2 from Cloudmade, the map of > > "Ile-De-France"=Paris > > http://downloads.cloudmade.com/europe/western_europe/france/ile-de-france#downloads_breadcrumbs > > I would like to call generate_tyles.py from another language. I want to > > pass the bounding box values as arguments, but I don't want to go in the > > "Import Tab" of OpenStreetMap and manually select the area. > > Are you rendering directly from the osm file or do you import the data to > postgis? If so you can get the bounding box of all data from postgis using > ST_Envelope. > > Sven > > -- > Trotz der zunehmenden Verbreitung von Linux erfreut sich der Bär, > und - dank Knut - insbesondere der Eisbär, deutlich größerer > Beliebtheit als der Pinguin. (Gefunden bei http://telepolis.de/) > /me is giggls@ircnet, http://sven.gegg.us/ on the Web > > _______________________________________________ > dev mailing list > dev@openstreetmap.org > http://lists.openstreetmap.org/listinfo/dev
_______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev