<div dir="ltr"><div><div>I haven't worked with this format, but I think this file does provide all the information needed to parse an OBF.<br><br><a href="https://github.com/osmandapp/OsmAnd-resources/blob/master/protos/OBF.proto">https://github.com/osmandapp/OsmAnd-resources/blob/master/protos/OBF.proto</a><br><br></div>The key here is that the <span class="inbox-inbox-pl-en">OsmAndStructure message can't be parsed with a ProtocolBuffer implementation. Most of the fields are fixed at 32 bytes (to allow for random access). Check the comments to see which fields these are.<br><br><span class="inbox-inbox-pl-en">I don't know what the OsmAndTileBox</span> is suppose to provide, but it has the comment "<span class="inbox-inbox-pl-c">everything is encoded as 31 tile zoom" so that will need to be part of the utilization of that data.<br><br></span></span></div><div><span class="inbox-inbox-pl-en"><span class="inbox-inbox-pl-c">Other than OsmAndstructure I think everything else is readable through standard ProtocolBuffers.<br><br></span></span></div><div><span class="inbox-inbox-pl-en"><span class="inbox-inbox-pl-c">This information only really helps for parsing the information, manipulating it is a completely different mater and requires understanding how all the elements relate.<br><br></span></span></div><div><span class="inbox-inbox-pl-en"><span class="inbox-inbox-pl-c">Good luck.<br></span></span></div><span class="inbox-inbox-pl-en"><span class="inbox-inbox-pl-c"></span></span><div><div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 6, 2016 at 11:27 AM Bernhard R. Fischer <<a href="mailto:bf@abenteuerland.at">bf@abenteuerland.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But still, even if it contains protobuf, that does not say anything<br>
because protobuf is a generic format such us XML. Knowing that something<br>
is XML does not explain the elements within the file ;)<br>
<br>
Bernhard<br>
</blockquote></div></div></div></div></div>