[OSM-dev] osm2pgsql latest - Can it write out the SQL?

Jon Burgess jburgess777 at googlemail.com
Thu Oct 11 00:22:19 BST 2007


On Wed, 2007-10-10 at 21:47 +0200, Raphael Jacquot wrote:
> Nick Whitelegg wrote:
> > Hello everyone,
> > 
> > Does the latest osm2pgsql (checked out of SVN on Saturday) have to write to a 
> > pgsql database or can it output the SQL directly? The reason why I ask is, my 
> > approach to getting the data into Freemap so far is to run osm2pgsql on the 
> > dev server then transfer the SQL to Freemap, as the Freemap server doesn't 
> > have the memory to run osm2pgsql.
> > 
> > Thanks,
> > Nick
> 
> I'm told there's an option to enable the use of a temp table for nodes 
> (makes the thing much slower though)
> 

The '--slim' option. It is best avoided at the moment since it will
cause a SEGV. 

I've had to make quite a few code changes to support the relations (for
polygons with holes) which has caused this to break.

	Jon







More information about the dev mailing list