Error while loading KML

  • Asked
  • Active
  • Viewed 4102 times
0

Hi,

I tried to generate sample points in R and exported it as a ".kml" file. However, when I tried to load it in Collect Earth, after specifying the .csv file that would contain the survey data, an error occurred (Please find the screenshot here: https://drive.google.com/open?id=1vAOHgTUDV4m1NRbUgHKGE1QBKgInvEY1). This error doesn't occur if I load it in Google Earth (not from Collect Earth).

Is there any workaround to fix this issue?

Sorry for the crosspost; I am unable to upload the screenshot directly due to insufficient reputation points. Any help and comment are greatly appreciated. Thanks!

0

Accepted answer

The error might have to do with the structure of the kml that was generated from R.

If it works in Google Earth (which is better at parsing kml than Collect Earth ) then you could try to open it with it, then right click on the kml in the left panel of Google earth and use the "Save as" menu item (using the .kml file extension option). This should force the saved kml to have an structure that is allowed by Collect Earth).

Try to import this new kml in Collect Earth and if it does not work send the kml that you are trying to use so that we can check it ( post a a Google Drive/Dropbox link)

0

Accepted answer

Thank you for your prompt responses. However, none of your suggestions really worked for me. Nevertheless, somehow I have solved the issue by installing the latest update of the Collect Earth software. It is still a huge mystery for me why such an error occurred, though.

Thank you very much for the superb update and keep up the great work!

Your answer

Markdown text. Shortcuts: Ctrl+B bold, Ctrl+I italic, Ctrl+K link, Ctrl+E code, Ctrl+Shift+V paste as plain text. Tab indents list items and code; press Escape, then Tab, to leave the text box.

Insert an image

Say what the image shows, for people who can't see it.

Tip: type a few words from the error message, or put a tag in [brackets] to look only there.

Menu

Keyboard shortcuts

Anywhere

?
Show this list
/
Search
g h
Go to the home page
g q
Go to the questions
g t
Go to the tags
g u
Go to the users
a
Ask a question

Lists of questions

j k
Next or previous question
Enter
Open the question

Question pages

j k
Next or previous post

Shortcuts never apply while you type in a text field. Members can turn them off in their preferences.