[OSM-dev] Import planet.osm to rails

Andy Allan gravitystorm at gmail.com
Thu Aug 2 09:18:52 BST 2007


On 8/1/07, Steve Coast <steve at asklater.com> wrote:
>
> On 1 Aug 2007, at 23:26, Dave Stubbs wrote:
>
> > Hi,
> >
> > I've just setup the rails site on my computer to have a play with it.
> > The good news is it all works!
> >
> > The bad news is that I can't figure out how to import the latest
> > planet.
> > There seems to be a variety of scripts and programs that are supposed
> > to do this, but none of them seem to work.
>
> Ever since I wrote the first server in Java, I've not really
> understood why you'd want to do what you want to.
>
> What I mean is, if I want to play around with the server code, I set
> up a server and point JOSM at it and make some test ways.. and that's
> it. I don't understand, for most things in OSM, why you need an
> entire dump with the rails code for. Only the very big issues like
> converting ways to paths...
>
> I just see a lot of low hanging fruit you can hack on without the
> dump :-)

When you've got 20 nodes in your test database, it's easy to add API
features that appear to work fine. When you scale it to 34,000,000
nodes, all of a sudden you realise that 5 milliseconds per node is
unacceptable...

Cheers,
Andy




More information about the dev mailing list