Merge LineStrings

Merge two or more KML LineStrings

Description

Multiple Segments of US-64, Crittenden County, AR diplayed on Google Earth.  Map Data: Google Earth, Landsat/Copernicus This application merges two or more KML <LineString> elements into a single <Placemark>. The application will attempt merge all linestrings found within the uploaded file.

Instructions

  1. Upload a .kml file containing the linestrings to be merged.
  2. Click [Continue] when the upload is complete.
  3. Specify the maximum gap (in meters) to bridge between linestrings.
  4. Specify if the linestrings are to be joined in the same order as listed in the uploaded file
  5. Specify if the linestrings are to be joined in the same direction as listed in the uploaded file.
  6. Specify if all linestrings are to be merged into multiple linestrings.
  7. Copy or download the KML containing the merged linestring.

Upload KML File

No file uploaded yet.

Notes

Future enhancements being considered include:

  • Connect linestrings with endpoints at some distance apart (gap). Completed: 2021-01-30
  • Option to preserve order (Connect the linestrings in the order as listed in the uploaded file). Completed: 2021-01-30
  • Option to preserve direction (Connect only to the first coordinate of one, to the last coordinate of another linestring). Completed: 2021-01-30
  • Remove duplicate coordinates Completed: 2021-01-30
  • Display the merged linestring on the map Completed: 2019-01-12
  • Merge into as few linestrings as possible Completed: 2021-07-15
  • Copy and use the style of the first <LineString> element.
  • Copy and use the name of the containing KML element.
  • Display before and after file sizes

See also: