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

Jan-Benedict Glaw jbglaw at lug-owl.de
Fri Jul 31 14:32:57 BST 2009


On Fri, 2009-07-31 13:19:37 +0000, Ævar Arnfjörð Bjarmason <avarab at gmail.com> wrote:
> On Fri, Jul 31, 2009 at 8:14 AM, Jan-Benedict Glaw<jbglaw at lug-owl.de> wrote:
> > On Fri, 2009-07-31 00:18:52 +0000, John Smith <delta_foxtrot at yahoo.com> wrote:
> > > --- On Thu, 30/7/09, Jan-Benedict Glaw <jbglaw at lug-owl.de> wrote:
> > > > I already noticed that. It's working "good enough" for me
> > > > :-)  apart
> > > > from the failure during import.
> > >
> > > Why didn't you just import the first with the -s option and -s -a for the second ?
> >
> > I did--but --append doesn't make a difference here, because it were
> > two OSM files and not an OSM file and a OSM-diff one :)
> 
> Try merging the two with osmosis and then import them using osm2pgsql.

That'll work IFF you know in advance that you want a combined dataset.
I'm after a way to simply add some data, at some later time.

MfG, JBG

-- 
      Jan-Benedict Glaw      jbglaw at lug-owl.de              +49-172-7608481
Signature of:              What we do for ourselves dies with us. What we do for
the second  :         others and the world remains and is immortal. (Albert Pine)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090731/cd62ee70/attachment.pgp>


More information about the dev mailing list