xref: /freebsd/contrib/file/magic/Magdir/kml (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1
2#------------------------------------------------------------------------------
3# $File: kml,v 1.6 2019/05/21 04:50:10 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# https://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# https://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# https://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