Home PageFacebookRSS News Feed
PocketGPS
Web
SatNav,GPS,Navigation
Pocket GPS World - SatNavs | GPS | Speed Cameras: Forums

Pocket GPS World :: View topic - KML Error
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in for private messagesLog in for private messages   Log inLog in 

KML Error

 
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Points Of Interest (POIs)
View previous topic :: View next topic  
Author Message
mc2008
Occasional Visitor


Joined: Jun 03, 2011
Posts: 2

PostPosted: Fri Jun 03, 2011 11:19 am    Post subject: KML Error Reply with quote

Hi,

I downloaded a KML file only containing the Bed & Breakfast POIs for the UK. However, I got an error when I tried to open the file in Google Earth 6.0.1.2032:

“Open of file Bed_&_Breakfast_PGPSW.kml failed: Parse error at line 4, column 11: not well-formed (invalid token)”

Could someone at PGPSW repair the KML download option so that special characters are properly encoded?

Thanks.
Back to top
View user's profile Send private message
GerryC
Pocket GPS Moderator
Pocket GPS Moderator


Joined: Mar 01, 2005
Posts: 1513
Location: West Mids

PostPosted: Fri Jun 03, 2011 12:48 pm    Post subject: Reply with quote

Just downloaded it and can see the problem. It's the & in Bed & Breakfast on the "name" line.

As a quick fix, just open the KML in Notepad and replace the "&" with "and".

I don't know how easy this is to fix as the names work OK with TomTom and Garmin units etc. You can't just change it in the master database as that would mess up anyone trying to update a set that's already installed.

However, thanks for letting us know about the problem. The guys dealing with that section will have a look at it.

GerryC
Back to top
View user's profile Send private message Visit poster's website
MaFt
Pocket GPS Staff
Pocket GPS Staff


Joined: Aug 31, 2005
Posts: 15145
Location: Bradford, West Yorkshire

PostPosted: Fri Jun 03, 2011 2:28 pm    Post subject: Reply with quote

'&' was already be converted, correctly, to '&' in both the name and description fields for the placemarks.

however, i'd not taken into account the 'name' tag for the overall file!

this has now been fixed Smile

MaFt
Back to top
View user's profile Send private message Visit poster's website
mc2008
Occasional Visitor


Joined: Jun 03, 2011
Posts: 2

PostPosted: Fri Jun 03, 2011 9:34 pm    Post subject: Reply with quote

Thanks for the replies GerryC and MaFt. All is well now. Very Happy
Back to top
View user's profile Send private message







Posted: Today    Post subject: Pocket GPS Advertising

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pocket GPS World Forum Index -> Points Of Interest (POIs) All times are GMT + 1 Hour
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

Make a Donation



CamerAlert Database

Click here for the PocketGPSWorld.com Speed Camera Database

Download Speed Camera Database
22.053 (15 May 24)



WORLDWIDE SPEED CAMERA SPOTTERS WANTED!

Click here to submit camera positions to the PocketGPSWorld.com Speed Camera Database


12mth Subscriber memberships awarded every week for verified new camera reports!

Submit Speed Camera Locations Now


CamerAlert Apps



iOS QR Code






Android QR Code







© Terms & Privacy


GPS Shopping