I am having problem uploading the CSV grid I have generated in Google Earth.

My attempt to load it shows the following error Problems generating the kml file: freemarker.core.invalidReferenceException:The following has evaluated to null or missing ==>placemark.extrainfo[0][in template "kml_template.fmt"]

asked 29 Jul, 08:51

BrightEdem's gravatar image

BrightEdem
313
accept rate: 0%

edited 29 Jul, 09:00


This error is possibly related to the structure of the CSV file not being exactly as expected by Collect Earth.

If you are designing the survey yourself, then you will have the option in Collect Survey Designer to produce a CSV template file for the survey. This template will show you the EXACT FORMAT that the survey expects for the CSV file with the plot locations (sadly the output from the Google Earth Engine script to produce grids doesn't comply with the expected format as it adds extra columns and possibly data that is not necessary, also, you will need to add a id column manually though Excel). alt text

So that you need to make the output of the GEE script with the grid look exactly like the template (in the case of the example in the animation the columns are :

id  YCoordinate XCoordinate elevation   slope   aspect  district    province    country

You will need to open the output from the GEE script,and make sure that the column headers and their order match completely the one in the template that was produced in Collect. Remember that in Excel you can move columns by selecting them and then drag-and-dropping them with the Shift button held

permanent link

answered 30 Jul, 12:42

Open%20Foris's gravatar image

Open Foris ♦♦
4525612
accept rate: 9%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×191

question asked: 29 Jul, 08:51

question was seen: 171 times

last updated: 30 Jul, 12:42