From: Christos Zoulas Date: Wed, 18 Jan 2017 16:16:21 +0000 (+0000) Subject: PR/585: Martin Reifer: OpenStreetMap header is not always 13 bytes long. X-Git-Tag: FILE5_30~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0dfbfd645d7a056f553d22dd6655e1b2850d2aef;p=file PR/585: Martin Reifer: OpenStreetMap header is not always 13 bytes long. --- diff --git a/magic/Magdir/pbf b/magic/Magdir/pbf index 3230703d..b87578cc 100644 --- a/magic/Magdir/pbf +++ b/magic/Magdir/pbf @@ -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 -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