[OSM-dev] Generate tiles with generate_tiles.py
Vince Berubey
screams_3 at hotmail.com
Fri May 24 18:03:31 UTC 2013
The final answer:- Log in SQL Shell(psql)
Command: select st_extent(way) from planet_osm_point;
Result: st_extent---------------------------------------------------- BOX(-8447534.85 4625748.42,-8354331.48 4857009.28)(1 row)
Reference:http://gis.stackexchange.com/questions/14963/how-to-retrieve-the-corners-of-the-bounding-box-from-st-extent
Thank you.
From: screams_3 at hotmail.com
To: lists at fuchsschwanzdomain.de; dev at openstreetmap.org
Date: Fri, 24 May 2013 13:51:37 +0000
Subject: Re: [OSM-dev] Generate tiles with generate_tiles.py
I import the data to Postgres/Postgis. Thank you for ST_Envelope, i'll give it a try.
Vinc
> To: dev at openstreetmap.org
> From: lists at fuchsschwanzdomain.de
> Date: Fri, 24 May 2013 12:32:45 +0000
> Subject: Re: [OSM-dev] Generate tiles with generate_tiles.py
>
> Vince Berubey <screams_3 at 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 at ircnet, http://sven.gegg.us/ on the Web
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
_______________________________________________
dev mailing list
dev at openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20130524/5b85c84c/attachment.html>
More information about the dev
mailing list