Skip to content

Commit

Permalink
new magic
Browse files Browse the repository at this point in the history
  • Loading branch information
zoulasc committed Dec 21, 2013
1 parent 5c94551 commit b2961ce
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
11 changes: 11 additions & 0 deletions magic/Magdir/pbf
Original file line number Diff line number Diff line change
@@ -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
9 changes: 8 additions & 1 deletion magic/Magdir/sgml
Original file line number Diff line number Diff line change
@@ -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="
Expand All @@ -15,6 +15,13 @@
>>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
Expand Down
3 changes: 2 additions & 1 deletion magic/Makefile.am
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit b2961ce

Please sign in to comment.