[OSM-dev] Storing way/relation start offset in PBF file
Christian Vetter
veaac.fdirct at gmail.com
Tue Nov 30 21:48:39 GMT 2010
On Tue, Nov 30, 2010 at 9:26 PM, Jochen Topf <jochen at remote.org> wrote:
> Sometimes it is useful to read ways before nodes or relations before way or
> nodes. With the XML format this is not really possible, but with the PBF
> format it could be reasonably easy if we store the offsets in the file
> where
> the way and relations start, respectively.
>
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.
I would support such an extension as it would save me time when parsing the
file.
Greetings,
Christian Vetter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20101130/fa5a4963/attachment.html>
More information about the dev
mailing list