Lines
Plotting lines on GeoYukon is almost the same as the better version of plotting points: you create a KML file and upload it to GeoYukon. The major difference is the content of the KML file.
Step 1: Gather your data
You still have to gather your data, the same as in the simple method for plotting points.
Step 2: Prepare the KML file
Prepare a KML file as you did in Step 2 of the better version for plotting points. Copy this text into a simple text file. You can cut/paste using a text editor. This could be Notepad in Windows or even Microsoft Word in a pinch.
<kml xmlns="http://earth.google.com/kml/2.2">
<Document>
<Placemark>
<name>Line test</name>
<description>Test of the line capability</description>
<snippet>(blank)</snippet>
<ExtendedData>
<Data name="URL"><value>http://url1.com</value></Data>
<Data name="notes"><value>Some notes here about the line</value></Data>
</ExtendedData>
<LineString>
<tessellate>1</tessellate>
<coordinates>
-135.14349,60.74879,0
-135.14004,60.74538,0
-135.13465,60.74444,0
</coordinates>
</LineString>
</Placemark>
</Document>
</kml>
Save that file with a .kml file extension. If you are using Word, ensure you save your data (File, Save as) as a plain text file. You might have to save it as .txt and then change the file name extension to .kml as a separate step.
Or you can download the KML file here: 3pts_line.kml . (Right-click and "Save as".)
Things to note:
- Spaces and blank lines in the file are not critical. They are there only to enhance readability.
- There is only one line in this example: two segments between three waypoints. If you wanted to include more than one line, each line would have its own <Placemark> ... </Placemark> section.
- The actual geographical coordinates of each waypoint are all together, one after the other, between the <coordinates> and </coordinates> tags: longitude first, comma, then latitude, comma, then a zero. These three points generate two line segments for one line.
- You can customize name, description, snippet, Data URL, and Data notes values to anything you want. Their relevance will become clear once you have uploaded this file to GeoYukon.
Step 3: Upload the KML file to GeoYukon
The process for uploading the KML file is the same as for Step 3 in the better version of plotting points: File tab, "Upload Data," browse to your KML file, and click "Upload."
Once your line appears on GeoYukon, try clicking on it. "View Additional Details" will then bring up the name, description, snippet, URL, and notes for that point that you included in your KML file.
Step 4: Go further
With some work, you could associate an online webpage or photo with each line by putting an appropriate link in the URL part of the KML file. You could then click on the line in GeoYukon and click on the URL to see that associated webpage or photo, and thus use GeoYukon as a front-end geographical interface to an information project.
You can associate other info with your lines, similar to the process outlined in Step 4 in the better version of plotting points.
Next...
Plot perimeters on GeoYukon
TimmiT History Exploration Notebook