[osmosis-dev] Problem with PBF reader

Martijn van Exel m at rtijn.org
Tue Jul 3 16:07:33 BST 2012


Hi,

On the same machine that I successfully compiled osmconvert before I
now get an error:

/tmp/ccyOxJ2V.o: In function `oo_open':
:(.text+0x1693): undefined reference to `gzbuffer'
:(.text+0x17b0): undefined reference to `gzbuffer'
collect2: ld returned 1 exit status

Any idea what the problem could be?

Best
Martijn


On Mon, Jul 2, 2012 at 11:55 PM,  <markus.weber at gmx.com> wrote:
> Hi Martijn,
>
> I'm sorry, I was in a hurry, thus I forgot to inform you about the bugfix.
>
> All download sources under administration have been updated accordingly:
>   m.m.i24.cc/osmconvert.c
>   gitorious.org/osm-c-tools
>
> Hope this fix will solve the problem permanently.
>
> Thanks again to WanMil and to you for pointing me to the bug!
>
> Markus
>
> -------- Original-Nachricht --------
>> Datum: Mon, 2 Jul 2012 16:49:52 -0600
>> Von: Martijn van Exel <m at rtijn.org>
>> An: WanMil <wmgcnfg at web.de>
>> CC: osmosis-dev at openstreetmap.org, markus.weber at gmx.com
>> Betreff: Re: [osmosis-dev] Problem with PBF reader
>
>> Hi all,
>>
>> On Mon, Jul 2, 2012 at 9:20 AM, WanMil <wmgcnfg at web.de> wrote:
>> >> Hi
>> >>
>> >> Am 29.06.2012 22:01, schrieb WanMil:
>> >>>
>> >>> I started an investigation to find the problem. It is currently
>> unknown
>> >>> if the problem is located on osmupdate or on osmosis site or if that's
>> a
>> >>> different understanding of the PBF format.
>> >>
>> >>
>> >> Maybe this could be clarified by verifying the obf's with osmium. If
>> >> osmium and osmupdate produces the same results, it's probably osmosis
>> >> that get's it wrong.
>> >>
>> >>> The current status is that a planet file updated with osmupdate can be
>> >>> read by osmsosis without any error message but osmosis reads different
>> >>> longitude values than osmconvert/osmupdate.
>> >>
>> >> It would be very helpful if you could supply a minimal testcase (ha
>> hand
>> >> full of nodes) that have the same problem.
>> >>
>> >> Peter
>> >>
>> >
>> > Hi Peter,
>> >
>> > as pointed out in http://forum.openstreetmap.org/viewtopic.php?id=17194
>> the
>> > problem was caused and fixed by osmconvert.
>>
>> Great. I believe this is the same problem I was having with osmconvert.
>> Is the 'one-click' build (wget -O - http://m.m.i24.cc/osmconvert.c |
>> cc -x c - -lz -O3 -o osmconvert) also updated?
>> --
>> martijn van exel
>> http://oegeo.wordpress.com



-- 
martijn van exel
http://oegeo.wordpress.com



More information about the osmosis-dev mailing list