Skip to content

Commit

Permalink
show primblock metainfo
Browse files Browse the repository at this point in the history
  • Loading branch information
MaZderMind committed May 25, 2011
1 parent a1f2b81 commit b6cf211
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/osmpbf-outline.cpp
Expand Up @@ -277,6 +277,12 @@ int main(int argc, char *argv[]) {
// parse the PrimitiveBlock from the blob
primblock.ParseFromArray(unpack_buffer, sz);

// tell about the block's meta info
debug(" granularity: %u", primblock.granularity());
debug(" lat_offset: %u", primblock.lat_offset());
debug(" lon_offset: %u", primblock.lon_offset());
debug(" date_granularity: %u", primblock.date_granularity());

// tell about the stringtable
debug(" stringtable: %u items", primblock.stringtable().s_size());

Expand Down

0 comments on commit b6cf211

Please sign in to comment.