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

Ævar Arnfjörð Bjarmason avarab at gmail.com
Fri Jul 31 14:19:37 BST 2009


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.




More information about the dev mailing list