File Exchange

image thumbnail

Latitude Longitude to KML

version 1.0 (578 Bytes) by

converts lat/lon data to a google-earth file

3.54545
11 Ratings

22 Downloads

Updated

No License

specify a file name and a matrix containing latitude / longitude data and the program outputs a KML track file viewable in Google Earth.

Comments and Ratings (14)

Arpit Gupta

It works great. I just used it. I have location traces collcted for few hours, I will try to enhance this work by enabling reading of corresponding timestamp and get more information from the map file.

Thanks,
Arpit

Jessica

Thanks a TON! :D

Hi This seems to work great but how do i just plot my lat longs rather than join them up into a track. Can this be done?

paul harder

works great. thanks

ahmad abdul

but I can't plot all the lat long in the Google Earth (path).
Any way to do it? My file looks something like this...I assume it will plot the path in the google earth using this file....any help?

<kml xmlns="http://earth.google.com/kml/2.0">
<Folder>
<Placemark>
<name>POINT path</name>
<Style>
<LineStyle>
<color>ff00ff00</color>
</LineStyle>
</Style>
<LineString id="POINT string">
<extrude>0</extrude>
<tessellate>0</tessellate>
<altitudeMode>clampToGround</altitudeMode>
<coordinates>
-1.1929924500, 52.9404052600, 0.0
-1.1929924700, 52.9403052500, 0.0
-1.1929924800, 52.9402052300, 0.0
-1.1929925000, 52.9403052200, 0.0
-1.1929925100, 52.9403052000, 0.0
</coordinates>
</LineString>
</Placemark>
</Folder>
</kml>

gfun

gfun (view profile)

wang tan: look for the wgs84 file somebody posted on this site.

wang tan

i hope to find a file converts Lat/Long to X-Y coordinate

Scott C

This code does work. Thanks.

quabbani wilson

it sucked

kabardian TURKISH

an basic but exellent code

Amy Farris

it is simple, but it works great!

thanks

Abe Smith

MATLAB Release
MATLAB 7.0.4 (R14SP2)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today