FAQFAQ     SearchSearch   Log in to check your private messagesLog in to check your private messages    

KMZ Not loading in GE - not well formed (invalid token)

 
Post new topic   Reply to topic    wug.za.net Forum Index -> Software
View previous topic :: View next topic  
Author Message
t0x1cw0g



Joined: 26 May 2010
Posts: 2

PostPosted: Thu May 27, 2010 11:42 am    Post subject: KMZ Not loading in GE - not well formed (invalid token) Reply with quote

Hi Every1

Cant get the dam kmz file to load in GE, every time I try it gives the following error
Open of file "C:\#####\WUG_ZA_NET_PTAWug(5).kmz" failed: Parse error at line 17927, column21: not well-formed (invalid token)

Any help would be appreciated!!
Back to top
View user's profile Send private message
t0x1cw0g



Joined: 26 May 2010
Posts: 2

PostPosted: Thu May 27, 2010 3:34 pm    Post subject: Solved Reply with quote

Right so I did not feel like waiting and solved this myself.

Rename WUG_ZA_NET_PTAWug.kmz to WUG_ZA_NET_PTAWug.zip
Then UnZip to get the doc.kml file.
Open doc.kml file in a text editor with line numbers like notepad++.
If you dont want to download an extra editor then just search for
"HV Alcade" in notepad
Once found Highlight and Remove the Placemark
"<Placemark>
<name>HV Alcade & Maldon</name><description>Location owner: &lt;b&gt;DRHOFFMAN&lt;/b&gt;&lt;br&gt;&lt;br&gt;</description><styleUrl>#msn_red-blank</styleUrl>
<Point>
<coordinates>28.286361111111,-25.771388888889,0</coordinates>
</Point>
</Placemark>"
Then save as docnew.kml and close notepad.
Open the new kml file in GE
Sorry HV Alcade & Maldon
Back to top
View user's profile Send private message
xarion
Site Admin


Joined: 27 Jan 2007
Posts: 201

PostPosted: Sat Oct 23, 2010 8:01 pm    Post subject: Reply with quote

super late reply, but yeah a bit of sanitisation was needed not to allow &'s in location names Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    wug.za.net Forum Index -> Software All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum