On Mon, Dec 20, 2010 at 5:57 PM, Jon Burgess <[email protected]> wrote:

> On Mon, 2010-12-20 at 17:39 -0500, Will Wilson wrote:
> > On Mon, Dec 20, 2010 at 5:26 PM, Jon Burgess <[email protected]>
> > wrote:
> >         On Mon, 2010-12-20 at 17:07 -0500, Will Wilson wrote:
> >         > 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?
> >
> >
> >         Is the error message the same?
> >
> >
> >
> > Nope, just:
> >
> >
> > Reading in file: /home/will/OSM/workdir/USA.osm.pbf
> > Unable to open /home/will/OSM/workdir/USA.osm.pbf
> > Error occurred, cleaning up
>
> The PBF support was only recently added to osm2pgsql. You need to fetch
> the latest sources and verify that it finds the right protobuf-c
> libraries during the configure step.


Yeah, I know. I'm using the SVN sources, and compiled with protobuf-c. As I
said, I was able to load individual pbf extracts no problem; it's just that
osm2pgsql dies immediately on the combined .pbf extract. That's why I'm
thinking that Osmosis' pbf output might be bugged. I'm happy to try tracking
this down if people involved with Osmosis development are interested.
_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev

Reply via email to