Personal tools

SkipperGuide talk:GoogleEarthExport

From SkipperGuide, the online cruising guide for sailing areas around the world

please add here your questions, suggestions and bug reports about the Google Earth Integration. --Peter 19:59, 4 November 2006 (CET)

'Hello, I've tried to find a mailing list or group associated with this page, but I have not been successful and so I'm posting here. (Please forgive me if I should do this another way.) The issue is that the Google Earth export files both contain a blank line at the beginning of the file which makes them unreadable without editing. Also, the "updateable" file contains no data--I think this is because it points to instead of to, but I'm not certain. Anyhow, thanks very much for all your work on these pages! I hope to be a contributor before too long. --Robert Wyatt 8 August 2010 (CDT)'

Hi Robert,
Thank's for this important hint. I will try to fix this issue on weekend or within the next days.
--Peter 08:19, 3 August 2010 (CEST)

[edit] export to other applications

Hi, I wonder if it would be feasible to export data to other applictaions than google earth? I would like to display information in the marble virtual globe (see for information)

The requirements is a way to request data for a given bbox, marble will happily read kml data.

Basically, that is probably what google earth gets, so all I need to know is how to format the request, given it is ok to display the data?

I can be contacted at anders at alweb dk, or put your comments below.

[edit] The google export file have encoding problems

I tried opening your exported file using marble, but it would not show. One problem is that it has encoding errors:

[anders@katja Public]$ xmllint Skipperguide.kml 
Skipperguide.kml:2: parser error : XML declaration allowed only at the start of the document
<?xml version="1.0" encoding="UTF-8"?>
Skipperguide.kml:856: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xC4 0x3F 0x75 0x6C
 <name>Kor�?ula - Korčula (Island)</name>
[anders@katja Public]$ 

This means that you should state what encoding you use, if you do not use UTF-8 - or really use UTF-8, since that is what you say you do!

[edit] Error in coordinate tag value

Trying to use your exported file with marble, I stumbled over an error in your coordinate value, which contains a space that is not allowed according to the spec: