2 #------------------------------------------------------------------------------
3 # $File: kml,v 1.2 2009/09/19 16:28: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 # http://www.opengeospatial.org/standards/kml/
8 # From: Asbjoern Sloth Toennesen <asbjorn@lila.io>
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
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 2.2 \b, version 2.2
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>
33 >>30 string doc.kml Compressed Google KML Document, including resources.
34 !:mime application/vnd.google-earth.kmz