Need simple help on KML (Google version of XML)

R

RC

I tried to test a simple version KML file shows below:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Placemark>
<name>17DB665E</name>
<description>USGS01,GJT,CO,LAKE FORK AT GATEVIEW</description>
<Point>
<coordinates>-107.229,38.2989,0 </coordinates>
</Point>
<name>3230101C</name>
<description>DAFS00,PUB,CO,BLACK MOUNTAIN RAWS NEAR GARDNER
8NW</description>
<Point>
<coordinates>-105.284,37.8617,0 </coordinates>
</Point>
</Placemark>
</kml>


Then I loaded that file from Google Earth.
Some how it only display the last mark (2nd point), the first mark
(point) is never display. Can somebody teach me how to display
multiple points in KML file (if you know more KMl than I am).

Thank Q very much!
 
J

Joseph Kesselman

Just a thought: If you want advice on a Google-defined language, the
best folks to ask would be Google or a Google user's group.

But at a wild and unsupported guess, I would suspect that each mark's
description has to be within its own <Placemark> element.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,008
Messages
2,570,271
Members
46,874
Latest member
CyberGateway

Latest Threads

Top