]> granicus.if.org Git - file/commitdiff
new magic
authorChristos Zoulas <christos@zoulas.com>
Sat, 21 Dec 2013 14:27:24 +0000 (14:27 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 21 Dec 2013 14:27:24 +0000 (14:27 +0000)
magic/Magdir/pbf [new file with mode: 0644]
magic/Magdir/sgml
magic/Makefile.am

diff --git a/magic/Magdir/pbf b/magic/Magdir/pbf
new file mode 100644 (file)
index 0000000..d133d12
--- /dev/null
@@ -0,0 +1,11 @@
+
+#------------------------------------------------------------------------------
+# $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
index 8b3b91a6585b6359dbd06b64df615d33d854b490..f9cab0816539e27a84912ea2c286971ae7127162 100644 (file)
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# $File: sgml,v 1.29 2012/08/26 10:25:41 christos Exp $
+# $File: sgml,v 1.30 2013/12/21 14:27:24 christos Exp $
 # Type:        SVG Vectorial Graphics
 # From:        Noel Torres <tecnico@ejerciciosresueltos.com>
 0      string          \<?xml\ version="
 >>19   search/4096     \<urlset                XML Sitemap document text
 !:mime application/xml-sitemap
 
+# OpenStreetMap XML (.osm)
+# http://wiki.openstreetmap.org/wiki/OSM_XML
+# From: Markus Heidelberg <markus.heidelberg@web.de>
+0      string          \<?xml\ version="
+>15    string          >\0
+>>19   search/4096     \<osm                   OpenStreetMap XML data
+
 # xhtml
 0      string/t                \<?xml\ version="
 >15    string          >\0
index a9d3cb5fa512acdd95733be61c6286b85ad23c09..20cf6dbb48d71ef7ced84e992f41c83dec3d52a1 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $File: Makefile.am,v 1.93 2013/09/24 20:22:03 christos Exp $
+# $File: Makefile.am,v 1.94 2013/12/21 14:27:24 christos Exp $
 #
 MAGIC_FRAGMENT_BASE = Magdir
 MAGIC_DIR = $(top_srcdir)/magic
@@ -176,6 +176,7 @@ $(MAGIC_FRAGMENT_DIR)/palm \
 $(MAGIC_FRAGMENT_DIR)/parix \
 $(MAGIC_FRAGMENT_DIR)/parrot \
 $(MAGIC_FRAGMENT_DIR)/pascal \
+$(MAGIC_FRAGMENT_DIR)/pbf \
 $(MAGIC_FRAGMENT_DIR)/pbm \
 $(MAGIC_FRAGMENT_DIR)/pdf \
 $(MAGIC_FRAGMENT_DIR)/pdp \