Skip to content

Instantly share code, notes, and snippets.

View John-Colvin's full-sized avatar

John Colvin John-Colvin

  • Wiltshire, UK
  • 15:13 (UTC +01:00)
View GitHub Profile
/**
* Explaination comments taken from:
* http://wiki.openstreetmap.org/wiki/PBF_Format#Design
*
* This gives a very basic parsing of osm.pbf files. The purpose was several
* fold.
*
* - Read PBF files
* - Learn the file layout
* - Verify the bytes match