Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Need simple help on KML (Google version of XML)

Reply
Thread Tools

Need simple help on KML (Google version of XML)

 
 
RC
Guest
Posts: n/a
 
      10-04-2007
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!
 
Reply With Quote
 
 
 
 
Joseph Kesselman
Guest
Posts: n/a
 
      10-04-2007
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.

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
 
Reply With Quote
 
 
 
 
Andreas M.
Guest
Posts: n/a
 
      10-05-2007
Am 04.10.2007 21:04 RC wrote

> <kml xmlns="http://earth.google.com/kml/2.1">


Why not look there ? For example:
http://code.google.com/apis/kml/docu...l_tags_21.html

> Thank Q very much!


You are welcome

--
Cheers, Andreas
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Use Python/GDAL to create a KML file from an Image? Roger Zimmerman Python 0 01-29-2012 06:55 PM
geospatial python and how to convert multilinestrings to kml Danny Shevitz Python 0 03-03-2009 10:20 PM
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM



Advertisments