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