<div class="gmail_quote">On Tue, Nov 30, 2010 at 9:26 PM, Jochen Topf <span dir="ltr"><<a href="mailto:jochen@remote.org">jochen@remote.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Sometimes it is useful to read ways before nodes or relations before way or<br>
nodes. With the XML format this is not really possible, but with the PBF<br>
format it could be reasonably easy if we store the offsets in the file where<br>
the way and relations start, respectively.<br></blockquote><div><br>Wouldn't it be easier to just declare your PBF file sorted ( maybe even 
topologically sorted )? That way you will always read the ways before 
the nodes and relations before ways.<br><br>I would support such an extension as it would save me time when parsing the file.<br><br>Greetings,<br><br>Christian Vetter <br></div></div><br>