That is very deep c++ code!<br>care to comment on how it works?<br>would be very interested to understand its performance ! looks very fast.<br>mike<br><br><div class="gmail_quote">On Sat, Mar 13, 2010 at 7:06 PM, Nic Roets <span dir="ltr"><<a href="mailto:nroets@gmail.com">nroets@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">My understanding is that all Xml compliant* parsers will abort at the<br>
file offsets that Frederik mentions.<br>
My advice is to use the egrep filter when in doubt, because you will<br>
loose no more than a dozen lines in a planet file of billions of<br>
lines.<br>
<br>
*: (My split program is not compliant and will happily ignore these errors:<br>
<a href="http://trac.openstreetmap.org/browser/applications/rendering/gosmore/bboxSplit.cpp" target="_blank">http://trac.openstreetmap.org/browser/applications/rendering/gosmore/bboxSplit.cpp</a>)<br>
<div><div></div><div class="h5"><br>
On Sat, Mar 13, 2010 at 7:44 PM, John Mitchell <<a href="mailto:mitchelljj98@gmail.com">mitchelljj98@gmail.com</a>> wrote:<br>
> Will this also be a problem if you try to import via osm2pgsql into postgres?<br>
><br>
> Thanks,<br>
><br>
> John<br>
><br>
> On 3/13/10, hbogner <<a href="mailto:hbogner@gmail.com">hbogner@gmail.com</a>> wrote:<br>
>> Thx for help, I'll try it.<br>
>><br>
>> Now I have to follow 'dev' too :D<br>
>><br>
>> Nic Roets wrote:<br>
>>> There's a bug in the code that generated this week's planet. You<br>
>>> should either wait until next week or filter the planet with the<br>
>>> following command:<br>
>>> bzcat /osm/planet-10*.osm.bz2 |egrep -v '&#[0-9]*;'|...<br>
>>><br>
>>> There has been a long discussion on 'dev', mentioning other remedies.<br>
>>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> talk mailing list<br>
>> <a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
>> <a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
>><br>
><br>
><br>
> --<br>
> John J. Mitchell<br>
><br>
> _______________________________________________<br>
> talk mailing list<br>
> <a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
> <a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
><br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
</div></div></blockquote></div><br>