[OSM-dev] osm2pgsql: create flatfile from database?

Paul Norman penorman at mac.com
Sat Oct 26 11:00:03 UTC 2013


> From: Walter Nordmann [mailto:pille3 at hotmail.com]
> Sent: Saturday, October 26, 2013 2:31 AM
> To: dev at openstreetmap.org
> Subject: [OSM-dev] osm2pgsql: create flatfile from database?
> 
> hi,
> is there a way/tool to create a flatfile for the persitant node cache
> from planet_osm_nodes? Otherwise i have to re-import the full planet to
> get it.

This *might* work, I haven't tried:

Pause your osm2pgsql updates
Download a planet file and run osmupdate on it to make it more recent
Run osm2pgsql on the planet file, and copy the flat nodes file and 
abort after nodes processing is done. The null backend might help here.





More information about the dev mailing list