[OSM-dev] planet_osm2txt with planet-060818?

Nick Whitelegg nick at hogweed.org
Mon Aug 21 16:47:37 BST 2006


> There is I think a strong need for a utility to only put a given tile of
> planet.osm into a database, that way people can easily set up localised
> planet-based databases. The trouble is a) the checks slow it down
> significantly, (e.g. using REXML and the July planet.osm took a day to put
> the UK OSM data into Freemap) and b) reading in all the nodes into memory
> (necessary for filtering out segments) takes up a lot of memory - by my
> estimation 320MB, requiring a 512MB box, so doable on the average newish
> desktop PC but not, say, a 128MB virtual machine :-|

Sorry - don't think the memory requirements would actually be that high, as 
only those nodes from the bounding box really need to be read in, then their 
*existence* could be checked when it comes to segment filtering. 

As Steve says libxml is probably the way to go here, if I get a spare few 
hours the next week or so I'll give it a go, based on Dee's VB solution and 
others.

Nick




More information about the dev mailing list