[OSM-dev] Merging pbf files problem?
Will Wilson
wilson.william at gmail.com
Tue Dec 21 16:18:07 GMT 2010
On Mon, Dec 20, 2010 at 5:57 PM, Jon Burgess <jburgess777 at gmail.com> wrote:
> On Mon, 2010-12-20 at 17:39 -0500, Will Wilson wrote:
> > On Mon, Dec 20, 2010 at 5:26 PM, Jon Burgess <jburgess777 at gmail.com>
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20101221/ca3d3bd7/attachment.html>
More information about the dev
mailing list