[OSM-dev] planet.osm

Nicola Ranaldo ranaldo at unina.it
Fri Aug 25 15:37:44 BST 2006


> Do you mean .pl?

Yes :)

> It stores every node in memory so for a whole planet that 
> might be a problem.
> However I have created a hacked version of planetosm-to-db.pl which allows
> you to extract data within a given bounding box. It still needs to keep
> nodes and segments within the bounding box in memory (the only way to tell
> whether to accept a segment is to test whether the 2 nodes are in the
> bounding box) but if the bounding box is, say 5 by 10 degrees it should be
> OK (I'm just running it on the UK now).
>
> I'll commit this to subversion later today.

You may add a switch to the command line to get the nodes from db to filter 
segments, this should help peoples with low memory in testing planet.osm.

	Niko




More information about the dev mailing list