Hi,

Will Wilson wrote:
Good call. Grepping now. Might take a while. :)

If Jon's suspicion is true (likely), download the full planet file instead and run osm2pgsql with a bounding box option to restrict it to the US.

1) Trying to use osm2pgsql to import the merged .pbf file directly died with a generic error immediately (as opposed to importing the merged XML, which dies 10-15 minutes in). Maybe an error in Osmosis' pbf handling?

Do you remember what the error was? Just a hunch - is it possible that the Osmosis code relies on a HeaderBlock but the files have none?

2) What's the expected behavior for Osmosis when merging contiguous but non-overlapping extracts? Would I have gotten the same problem if I'd started with .osm.bz2 ?

Yes, Osmosis does not have a de-duplication option. Furthermore, since Geofabrik extracts are all done with clipIncompleteEntities=true, any simple de-duplication would you leave with either one or the other half of a split-boundary-crossing way.

On the whole, re-combining the split files is not such a good idea.

Bye
Frederik

--
Frederik Ramm  ##  eMail [email protected]  ##  N49°00'09" E008°23'33"

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

Reply via email to