How KML, GPX, and TCX properties are converted
mainThe library encodes specific metadata that would otherwise be lost during conversion:
KML Style properties:
fill-color, fill-opacity, stroke, stroke-opacity, icon-color, icon-opacity, label-color, label-opacity, icon-scale, icon-heading, icon-offset, icon-offset-units
GPX Style properties:
stroke, stroke-opacity, stroke-width
TCX Line properties:
totalTimeSeconds, distanceMeters, maxSpeed, avgHeartRate, maxHeartRate, avgSpeed, avgWatts, maxWatts
Additionally, the library emits the geojson-coordinate-properties format to include time and other attributes for each coordinate in a LineString.