xref: /freebsd/contrib/file/magic/Magdir/kml (revision fed1ca4b719c56c930f2259d80663cd34be812bb)
1
2#------------------------------------------------------------------------------
3# $File: kml,v 1.3 2010/11/25 15:00:12 christos Exp $
4# Type: Google KML, formerly Keyhole Markup Language
5# Future development of this format has been handed
6# over to the Open Geospatial Consortium.
7# http://www.opengeospatial.org/standards/kml/
8# From: Asbjoern Sloth Toennesen <asbjorn@lila.io>
90 string/t    \<?xml
10>20  search/400 \ xmlns=
11>>&0 regex ['"]http://earth.google.com/kml Google KML document
12!:mime application/vnd.google-earth.kml+xml
13>>>&1 string 2.0' \b, version 2.0
14>>>&1 string 2.1' \b, version 2.1
15>>>&1 string 2.2' \b, version 2.2
16
17#------------------------------------------------------------------------------
18# Type: OpenGIS KML, formerly Keyhole Markup Language
19# This standard is maintained by the
20# Open Geospatial Consortium.
21# http://www.opengeospatial.org/standards/kml/
22# From: Asbjoern Sloth Toennesen <asbjorn@lila.io>
23>>&0 regex ['"]http://www.opengis.net/kml OpenGIS KML document
24!:mime application/vnd.google-earth.kml+xml
25>>>&1 string/t 2.2 \b, version 2.2
26
27#------------------------------------------------------------------------------
28# Type: Google KML Archive (ZIP based)
29# http://code.google.com/apis/kml/documentation/kml_tut.html
30# From: Asbjoern Sloth Toennesen <asbjorn@lila.io>
310 string    PK\003\004
32>4  byte    0x14
33>>30  string doc.kml Compressed Google KML Document, including resources.
34!:mime application/vnd.google-earth.kmz
35