[OSM-dev] osm2pgsql: Importing several Geofabrik OSM files

Frederik Ramm frederik at remote.org
Thu Jul 30 15:34:35 BST 2009


Hi,

Jan-Benedict Glaw wrote:
> I just tried importing germany.osm.bz2 and denmark.osm.bz2 from
> http://download.geofabrik.de/osm/ .  However, importing the second
> file after the first one failed due to duplicate ways. Just hacked
> osm2pgsql to use ACTION_MODIFY instead of ACTION_CREATE, which seems
> to simply work. 

Apart from the fact that the Geofabrik extracts are made using the 
Osmosis "clipIncompleteEntities" switch, so that when you update a 
cross-border way it will lose the elements from the other side of the 
border. Expect problems along the borders.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the dev mailing list