I have code doing the object-based classification.


However, I encounter this error

Error generating chart: Image.reduceRegion: Too many pixels in the region. Found 104779808, but only 10000000 allowed

Can you suggest me any different methodology?

  • Please edit your question and place your code within the body of the question. – Aaron Jun 9 at 1:46

Earth engine has a parameter "maxPixels. By default it is 10000000 but you can set this higher or lower if you need it. I think changing this value will fix it

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.