sacridini / GEET

Google Earth Engine Toolbox - Library to write small EE apps or big/complex apps with a lot less code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error with roi.geometry

eupassarinho opened this issue · comments

Dear @sacridini , firstly, congratulations on the amazing tool that did you create!

I've a problem using the function max(), when I use it in my script, the error message is shown:

"roi.geometry is not a function
in max(), line 1525
..."

I'm declaring in the function only the image and the scale, like this:
var geet = require('users/elacerda/geet:geet'); var img_max = geet.min(SAR_linear,{scale:10});

If you want, follows the link to my code: https://code.earthengine.google.com/cfcf6616ff698e3fdd812377669e33e4

Thank you!