[OSM-dev] Cutting the planet into tiles

80n 80n80n at gmail.com
Fri Dec 5 14:26:34 GMT 2008


Ben
You could do it the easy way:

wget http://osmxapi.hypercube.telascience.org/api/0.5/*[bbox=1,50,2,51]

80n

On Thu, Dec 4, 2008 at 11:18 PM, Ben Supnik <bsupnik at xsquawkbox.net> wrote:

> Hi,
>
> Andras and I were looking at cutting the OSM planet file into 1x1 degree
> tiles (including at least enough nodes outside the tile to correctly
> "chop" a way at the tile boundary).
>
> I think I have an algorithm that can do this in four passes over the
> planet file on a 32-bit machine, using perhaps 2-3 GB of RAM.
>
> Before I go forward...am I reinventing the wheel?  I know that osmosis
> can do this kind of thing, but my understanding is that it extracts a
> finite number of "streams" from the data...we actually want to take all
> of the data and split it into 64800 parts.
>
> If no one has something like this and I can get it working, I'll post
> the code somewhere. :-)
>
> cheers
> Ben
> --
> Scenery Home Page: http://scenery.x-plane.com/
> Scenery blog: http://xplanescenery.blogspot.com/
> Plugin SDK: http://www.xsquawkbox.net/xpsdk/
> X-Plane <http://www.xsquawkbox.net/xpsdk/X-Plane> Wiki:
> http://wiki.x-plane.com/
> Scenery mailing list: x-plane-scenery at yahoogroups.com
> Developer mailing list: x-plane-dev at yahoogroups.com
>
> _______________________________________________
> 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/20081205/6830d7ff/attachment.html>


More information about the dev mailing list