[OSM-talk] Contours server (was: Re: ski pistes)

Jon Burgess jburgess777 at googlemail.com
Mon Mar 17 21:56:48 GMT 2008


On Mon, 2008-03-17 at 17:43 +0000, Steve Hill wrote:
> My main performance issues revolve around importing the planet OSM
> file 
> (osm2pgsql uses up crazy amounts of RAM (or rather, swap, in my case)

One way to reduce the RAM usage is via a bounding box filter (--bbox in
the latest osm2pgsql code). Also you can reduce the amount of keys in
exportTags if you do not render them in your osm.xml.

> there is the "-s" option, but that is currently broken...).  What I'm 
> really after is a way to import the daily diffs into the existing
> PostGIS 
> DB.

Using the diffs would help, especially now that the updates are
typically <1% change per week. I'm afraid it would take a lot of effort
to implement.

	Jon






More information about the talk mailing list