Locus Map - forum

Support => Troubles & Questions => Topic started by: ohgood on October 21, 2014, 16:41:35

Title: kml problem - won't display ?
Post by: ohgood on October 21, 2014, 16:41:35
here is my kml created in google earth:
https://drive.google.com/file/d/0B0AH70X7sPrjdmQ5amRhVDBWT00/view?usp=sharing

but when i try to import to locus, it shows nothing. i'm assuming something is wrong with the file, but it displays perfectly on google earth. what did i miss ?
Title: Re: kml problem - won't display ?
Post by: Menion on October 21, 2014, 16:55:36
Interesting,

I tapped on "download" button on map with your file (btw. I see no overlay on web map).

And result is small file with:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<GroundOverlay>
<name>NATRA KML OVERLAY  MAP</name>
<color>ccffffff</color>
<Icon>
<href>NATRA MAP OVERLAY SCAN.jpeg</href>
<viewBoundScale>0.75</viewBoundScale>
</Icon>
<LatLonBox>
<north>35.21033621878948</north>
<south>35.10878919853784</south>
<east>-87.47978200552916</east>
<west>-87.5814876886645</west>
<rotation>-90.09244228470511</rotation>
</LatLonBox>
</GroundOverlay>
</kml>


So seems that in file is only a name of a image file, but not complete path to this file! So it can't work. Maybe it works for you localy, but seems that image is missing on internet.
Title: Re: kml problem - won't display ?
Post by: berkley on October 22, 2014, 06:35:56
You can read about ground overlays in the kml documentation:

https://developers.google.com/kml/documentation/kmlreference?#groundoverlay
Title: Re: kml problem - won't display ?
Post by: gynta on October 22, 2014, 07:35:52
You should save your export in GE as kmZ !
Title: Re: kml problem - won't display ?
Post by: berkley on October 22, 2014, 08:57:59
Quote from: gynta on October 22, 2014, 07:35:52
You should save your export in GE as kmZ !

Ahhh nice! Good tip!  :)
Title: Re: kml problem - won't display ?
Post by: ohgood on October 22, 2014, 12:14:45
Quote from: gynta on October 22, 2014, 07:35:52
You should save your export in GE as kmZ !


DOH !

thank you sir :)

after realizing the filesize was tiny, and your post, i tried again, and used the KMZ format this morning. success !
https://drive.google.com/file/d/0B0AH70X7sPrjSGlHbEJGQ0ZHWlU/view?usp=sharing




I'll be using Locus Pro to track a harescramble (race) coming up soon, and then also to guide some friends around about 35 miles of single track. Hopefully I can show off the image overlay features from the overlay map above while we're eating supper too. Like anyone wants to look at a phone when there is beer and a campfire... lol


Again, thanks all of you. :)