[OSM-dev] visible-Flag in PBF

Scott Crosby scott at sacrosby.com
Sat May 7 01:59:46 BST 2011


On Fri, May 6, 2011 at 8:14 AM, Christian Vetter <veaac.fdirct at gmail.com> wrote:
> Hi,
>
> When you assign ids to the new fields do take care to assign small
> ids. Every id < 32 can be encoded in one byte by protobuf.

Every tag  < 16 can be encoded in one byte, but that doesn't matter in
this case. An array of booleans in packed format stores the tag only
once, at the start of the array.

Scott



More information about the dev mailing list