Thursday, 10 November 2016

google earth engine - Name points inside a feature made with Geometry.MultiPoint


i am trying to name the points inside a feature build with a ee. Geometry.MultiPoint function as shown in the image. This points are alredy named in the imports place. But to build this feature a used just lat and long information.


enter image description here


I can´t use a Feature Collection, because this function below needs a feature or a image to run properly.


var featureCollection_getvalue__wet_2000 = 
ee.FeatureCollection(getvalue__wet_2000.slice(1).map(function(singleData){

singleData = ee.List(singleData);
var dict_getvalue__wet_2000 = ee.Dictionary.fromLists(keys_getvalue__wet_2000, singleData);
//var point = ee.Geometry.Point([dict.get('longitude'), dict.get('latitude')]);
//var timeFormat = ee.Date(dict.get('time')).format('YYYY-MM-dd');
return ee.Feature(geometria, dict_getvalue__wet_2000); //.set('timeFormat', timeFormat);
}));

This function makes it possible to export the results as a list. But without the names in the points the identification of the results is a little difficult.


The results in the exported table are a sequential, but without mentioning who it is at which point.


Does anyone knows who to name the points to see the results with this names?





No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...