Hello,

For Collect Earth, there is an example project,Plantations in Brazil,using polygons instead of points as the sample data. How can I create a custom project using polygons as the sample data?

Many thanks!

Yelena

asked 23 May '16, 16:41

yelena's gravatar image

yelena
21559
accept rate: 0%


Hello again,

I have created a new test survey showcasing the polygon functionality.

This is a basic survey that just has a dummy yes/no question. I have removed the elevation,slope and aspect attributes that come as default when creating a Collect Earth survey. Then I have added a Text attribute called "polygon" and I have marked it as coming "From CSV" on the Collect Earth options of the Survey Designer.

You can import this survey into your Collect Survey Designer using this file ( Collect file), you can also test the Collect Earth Project generated by the survey ( CEP file ).

Attention, the KML from Fusion Tables procedures is deprecated! See thi other post on how to generate Well-Knwon-Text polygons from QGis instead : https://openforis.support/questions/2938/geometry-attribute-in-csv-without-fusion-table Basically, I have generated a KML file using Google Earth, by drawing polygons over some areas in Uruguay, adding these polygons to a folder (see in the image the Polygons folder) and then saving the folder as a KML file. I have then uploaded the KML to a Google Drive Fusion table, just so that the polygons are easier to download as a CSV file . Fusion table link.

As you see in the CSV file with the plot/polygon information, the latitude/longitude are set to zero, even though we don't really need these coordinates of the center of the plot (we are not using plots anyway) they need to be there!

You could clone this project (by importing the .collect file in you Collect version and then cloning it or just modifying it.

See this video on how to import and clone : IMPORTING SURVEY VIDEO

alt text

permanent link

answered 31 May '16, 10:42

collectearth's gravatar image

collectearth ♦
1.0k16
accept rate: 17%

edited 05 Nov '20, 16:04

1

Fusion Table DO NOT WORK ANYMORE!!!

The current version of Collect Earth supports WKT and GeoJSON polygons ( on top of the old KML polygons)

The procedure now is to generate the WKT polygons by loading the shapefile in QGis and then saving it as a CSV file including the geometry as a WKT.

See this answer : https://openforis.support/questions/2938/geometry-attribute-in-csv-without-fusion-table

(05 Nov '20, 16:02) collectearth ♦ collectearth's gravatar image

Hi,

We have already conducted the data collection for plots in Collect Earth and would like to use the whole plot for training of Sentinel 2 (instead of the center point). It seems the instructions above are valid only if the polygon geometry field is included in Collect Earth originally. Any way to do it aposteriori?

Many thanks!

Florence

permanent link

answered 08 Feb '18, 14:36

flandsberg's gravatar image

flandsberg
10112676
accept rate: 0%

Dear Yelena,

The best way to do this si to follow the pattern of the plantations example.

If you open the file ( LINK ) using winzip you will notice that there is an attribute called "geometry" that is marked as a "From CSV" kind os attribute.

So add an attribute called "geometry" to your survey and mark it as "From CSV".

In the CSV file with the plot locations, you actually don't need to set any values for latitude and longitude, but the columns NEED TO BE THERE , so just use zeroes (0) as values.

This is how the CSV file for plantations look :

id,latitude,longitude,geometry
Eucaliptus_01,0,0,"<Polygon><outerBoundaryIs><LinearRing><coordinates>....../coordinates></LinearRing></outerBoundaryIs></Polygon>"
Pinus_01,0,0,"<Polygon><outerBoundaryIs><LinearRing><coordinates>...</coordinates></LinearRing></outerBoundaryIs></Polygon>"

So as you see the geometry attribute is there as one of the columns.

The geometry values need to be KML polygons. In order to create KML polygons you canuse QGis to transform shapes to KML and then upload it to a Fusion Table so that you get the polygon values as a CSV file. You can also use shpescape.com to upload a shapefile to a fusion table.

Let me know if you need more help!

permanent link

answered 25 May '16, 14:11

collectearth's gravatar image

collectearth ♦
1.0k16
accept rate: 17%

edited 01 Jun '16, 08:58

Hola estimados, Soy Francisco Lillo, estoy tratando de incorporar los poligonos a las encuestas, pero aun no encuentro en donde incorporar las geometrías.

Agradecería si pudieses especificar un poco mas sobre en donde se cargan.

Saludos cordiales desde Chile.

permanent link

answered 30 May '16, 23:14

Francisco_Lillo's gravatar image

Francisco_Lillo
262
accept rate: 0%

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:

×281

question asked: 23 May '16, 16:41

question was seen: 10,087 times

last updated: 05 Nov '20, 16:04