Skip to main content

Overview

ogc-logo

The @loaders.gl/kml module supports the KML, GPX, and TCX formats.

KML (Keyhole Markup Language) is an XML-based file format used to display geographic data in an Earth browser such as Google Earth (originally named "Keyhole Earth Viewer"). It can be used with any 2D or 3D maps.

GPX (GPS Exchange Format) is an XML-based file format commonly used by GPS tracking software.

TCX (Training Center XML) is an XML-based file format commonly used by fitness watches or similar GPS tracking software.

References:

Installation

npm install @loaders.gl/core @loaders.gl/kml

Attribution

The three loaders use @tmcw/togeojson under the BSD-2-Clause license.