[OSM-dev] Reducing osm2pgsql memory usage using a database method

Frederik Ramm frederik at remote.org
Sat Mar 10 21:52:02 GMT 2007


Hi,

> 1. We can re-write osm2pgsql in c++ and take advantage of dynamic  
> structures e.g std::map, safe formatting and casting   
> boost::lexiacal_cast,  boost::format and more.

Hate to spoil your fun & don't want to start an advocacy debate here & 
am a C++ user myself BUT (1) hash tables etc. are readily available in 
plain C (glib), and (2) if you need flexibility why don't you do the 
importer in Perl?

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00.09' E008°23.33'




More information about the dev mailing list