I don't understand
ee.Image.reduceRegion(). If I specify the region as a table containing multiple features, does it use the geometry of the first feature or all the features? The doc says the geometry is "The region over which to reduce data. Defaults to the footprint of the image's first band." But since I am reducing over a table and not image, I don't think this helps.
I have a shapefile containing multiple features. I created a dissolved version of it that has only one feature in QGIS. Then I uploaded both the original shapefile and the dissolved shapefile. I tried using
ee.Image.reduceRegion() twice, one time using the original shapefile as geometry, and the other time using the dissovled shapefile as geometry. My reducer was linearRegression. The results were different. So I assume
ee.Image.reduceRegion() takes only the first feature of the
geometry parameter if it is a Table. But it wasn't specifically mentioned in the doc so I am not sure.
So just to restate the question: Does
ee.Image.reduceRegion() reduce over all the (dissovled-like) features or just the first one when the geometry is a table containing multiple features?
Note I am not asking whether it gets a stat for each feature's geometry (I assume that is
ee.Image.reduceRegions()), but rather does it get a stat for all of the features' geometries combined or just one of the feature's geometry.