This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Algorithm used to create track when exporting to Google Earth (kml file)

Can anyone tell me what algorithm is used to generate the track coordinates (<LineString>) when exporting to Google Earth (.kml)? A subset is culled from the recorded data coordinates (<Placemark>) in order to smooth out the route. For twisty paths, Ramer–Douglas–Peucker decimation with the cutoff-distance parameter set to the average distance between data points approximates the Google Earth track well, but it fails for straighter paths.