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?


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.