0

I have classified an image tile, but I cannot clip it along the area shape.
How do I do it and get my study area classified and clipped in a TIFF file?

  • 1
    Welcome Sajneen. As a new user, please take the tour to learn about our focused Q&A format. Please add what you've tried already and where you're getting stuck, along with the code sample. – smiller Feb 18 at 15:56
0
// Create clipping function
var clipper = function(image){
  return image.clip(geometry); // Add the table or shapefile here
};

// Load asset (not necessary) ie. region you would like to clip your data over

var classClipped = classified.map(clipper);
Map.addLayer(classClipped, {}, 'clipped image');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.