Skip to content

Instantly share code, notes, and snippets.

@mafintosh
Created May 22, 2014 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mafintosh/90c086e84469c514b863 to your computer and use it in GitHub Desktop.
Save mafintosh/90c086e84469c514b863 to your computer and use it in GitHub Desktop.
osmdata.js
var osmdata = protobuf([{
name: 'stringtable',
type: 'bytes',
tag: 1
}, {
name: 'primitivegroup',
type: 'bytes',
tag: 2
}, {
name: 'granularity',
type: 'int32',
tag: 17
}, {
name: 'lat_offset',
type: 'int64',
tag: 19
}, {
name: 'lon_offset',
type: 'int64',
tag: 20
}, {
name: 'date_granularity',
type: 'int32',
tag: 18
}])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment