]> 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..3230703
--- /dev/null
@@ -0,0 +1,11 @@
+
+#------------------------------------------------------------------------------
+# $File: cubemap,v 1.1 2012/06/06 13:03:20 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 a3a8e1ce2c7651e81a2183f8e3983a04958968b4..bccf8c39870b7de876d1ccdc74d609e310f75468 100644 (file)
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# $File: sgml,v 1.28 2012/04/28 21:20:26 christos Exp $
+# $File: sgml,v 1.29 2012/08/26 10:25:41 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 23a0e46330f3914667797be945eb3e4105816cc7..ac300bda1ac24979d79fef38d40df006a62b4c98 100644 (file)
@@ -1,5 +1,5 @@
 #
-# $File: Makefile.am,v 1.92 2013/08/26 15:54:22 christos Exp $
+# $File: Makefile.am,v 1.93 2013/09/24 20:22:03 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 \