On Mon, Dec 20, 2010 at 5:57 PM, Jon Burgess <span dir="ltr"><<a href="mailto:jburgess777@gmail.com" target="_blank">jburgess777@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On Mon, 2010-12-20 at 17:39 -0500, Will Wilson wrote:<br>
> On Mon, Dec 20, 2010 at 5:26 PM, Jon Burgess <<a href="mailto:jburgess777@gmail.com" target="_blank">jburgess777@gmail.com</a>><br>
> wrote:<br>
> On Mon, 2010-12-20 at 17:07 -0500, Will Wilson wrote:<br>
> > 1) Trying to use osm2pgsql to import the merged .pbf file<br>
> directly<br>
> > died with a generic error immediately (as opposed to<br>
> importing the<br>
> > merged XML, which dies 10-15 minutes in). Maybe an error in<br>
> Osmosis'<br>
> > pbf handling?<br>
><br>
><br>
> Is the error message the same?<br>
><br>
><br>
><br>
> Nope, just:<br>
><br>
><br>
> Reading in file: /home/will/OSM/workdir/USA.osm.pbf<br>
> Unable to open /home/will/OSM/workdir/USA.osm.pbf<br>
> Error occurred, cleaning up<br>
<br>
</div>The PBF support was only recently added to osm2pgsql. You need to fetch<br>
the latest sources and verify that it finds the right protobuf-c<br>
libraries during the configure step.</blockquote><div><br></div><div>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. </div>
</div>