]> granicus.if.org Git - file/commitdiff
PR/585: Martin Reifer: OpenStreetMap header is not always 13 bytes long.
authorChristos Zoulas <christos@zoulas.com>
Wed, 18 Jan 2017 16:16:21 +0000 (16:16 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 18 Jan 2017 16:16:21 +0000 (16:16 +0000)
magic/Magdir/pbf

index 3230703d79b86543c7d755bf20c288a5ddf5d7fb..b87578cc6cfe8ec3a5864c93c968496765d80f47 100644 (file)
@@ -1,11 +1,11 @@
 
 #------------------------------------------------------------------------------
-# $File: cubemap,v 1.1 2012/06/06 13:03:20 christos Exp $
+# $File: pbf,v 1.1 2013/12/21 14:27:24 christos Exp $
 # file(1) magic(5) data for OpenStreetMap
 
 # OpenStreetMap Protocolbuffer Binary Format (.osm.pbf)
 # http://wiki.openstreetmap.org/wiki/PBF_Format
 # From: Markus Heidelberg <markus.heidelberg@web.de>
-0      belong          0x0000000D
->4     beshort         0x0A09
->>6    string          OSMHeader       OpenStreetMap Protocolbuffer Binary Format
+0      belong&0xfffffff0       0
+>4     beshort                 0x0A09
+>>6    string                  OSMHeader       OpenStreetMap Protocolbuffer Binary Format