Hi,

Changing some of the parameters for the Postgres database can help speed up the 
import in a similar manner to those settings for a Mapnik import.

Shaun

On 2 Apr 2013, at 19:58, Martin Schafran <[email protected]> wrote:

> 
> hi,
> 
> im trying to install my own osm server with api 0.6.
> 
> following instructions i stuck on database import.
> 
> http://wiki.openstreetmap.org/wiki/Rails_port#Database_tables
> 
> at this point all indexes and constraints are created before import.
> 
> Is this really the correct approach? indexes and constraints make import slow.
> 
> btw. i got 'duplicate key value violates unique constraint 
> "current_nodes_pkey1"
>  Detail: Key (id)=(12) already exists.'
> 
>  :-O  source is geofabrik germany extract.
> 
> 
> martin
> 
> _______________________________________________
> dev mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/dev


_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to