merge of two path

5,813 views
Skip to first unread message

LucasFan

unread,
Jul 14, 2007, 10:55:03 AM7/14/07
to KML Developer Support - Third Party Applications
I have created two path in google earth relative an old railway. Now i
need to merge the two path in a unique path. How can i do this?
Thanks and sorry for my poor english (i'm italian).

simon_a

unread,
Jul 16, 2007, 9:22:12 AM7/16/07
to KML Developer Support - Third Party Applications
Hello,

You can't do this in the GE application but if you save both paths as
KML (not KMZ) files, you can edit them with a text editor to create a
new path.

The structure of your paths will look something like this:
<Placemark>
<name>My Path</name>
<LineString>
<coordinates>
[line or white-space seperated list of lat/lon/alt co-
ordinates]
</coordinates>
</LineString>
</Placemark>

You can simply copy and paste the list of co-ordinates from file 2 at
the end of the list of co-ordinates in file 1 - then save file 1 and
open it up in GE.

The list needs to be white-space seperated so spaces, tabs and new
lines are all fine.

:-)

Simon.

Reply all
Reply to author
Forward
0 new messages