Skip to main content

Format specifications when importing geographic coordinates data

Airpeak Base can import KML files created by external tools.

KML files

Airpeak Base supports the import of KML files with the following data formats

  • Mapping target area : Latitude and longitude of each point on the area perimeter
  • Origin of altitude(ground or sea level)

For KML files, specify the following tags.

Sample

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<Placemark>
<Polygon>
<outerBoundaryIs>
<LinearRing>
<coordinates>
139.74315700354057,35.63176551594964
139.74295852007347,35.630636247144565
139.74473950685936,35.63056648484192
139.7449969989248,35.631277185451104
139.74466976942497,35.63170883488409
139.74315700354057,35.63176551594964
</coordinates>
</LinearRing>
</outerBoundaryIs>
</Polygon>
</Placemark>
</Document>
</kml>
TagExplanation
<?xml version="1.0" encoding="UTF-8"?>First line of a KML file
  • Fixed value.
  • No spaces or other characters may precede this line.
  • Namespaces

    TagExplanation
    <kml xmlns=http://www.opengis.net/kml/2.2> </kml>Second line of a KML 2.2 file
  • Fixed value.
  • 必須のタグ

    TagValueExplanation
    <Document> </Document>NoneKML data structure
    <Placemark> </Placemark>NoneData structure of geographic coordinate data
    <Polygon> </Polygon>NoneArea data structure
  • Define a polygon to specify the area.
  • <outerBoundaryIs> </outerBoundaryIs>NoneArea boundary type
  • Specify the area boundary type.
  • <LinearRing> </LinearRing>NoneData structure that specifies an area as a closed polyline
    <coordinates> </coordinates>Longitude, LatitudeLongitude, Latitude(WGS84)
  • Please specify the same longitude and latitude for the start and end points.
  • In addition to the starting point and ending point, please specify the longitude and latitude of two or more different points.