I want to add the values of two properties A and B (both of type string) into a new property A_B to every feature inside the featureCollection.
I tried ee.Feature.get() and ee.Feature.getString() to read the values of properties into two new variables inside my map() function. But they return not "string" values but "tree" type structures.
var add_mix_AB = function(f){
var A = f.getString(['A']);
var B = f.getString(['B']);
return f.set('A_B', A+B);
};
cat
(server-side) must be used instead of+
(client-side) to avoid an error.