-
Notifications
You must be signed in to change notification settings - Fork 110
geometry
Rodrigo E. Principe edited this page Jun 7, 2019
·
4 revisions
Mask pixels inside a geometry. It return a function to map
over an ImageCollection
.
var i = ee.Image.random(1)
var masked = tools.geometry.maskInside(i, geometry)
Map.addLayer(masked, {}, 'maskInside')
// over a collection
var col = ee.ImageCollection('collectionID')
var masked_col = col.map(function(i) {return tools.geometry.maskInside(i, geometry)})
https://code.earthengine.google.com/ea3f52d103f985dc2b65ecb213cabd5a
Paints geometries. Similar to ee.Image.paint
but with some differences. Argument options
must be an object
with none, one or more of the following:
fillColor
borderColor
-
border
(border's thickness) -
idFld
(field that contains a numeric property)
https://code.earthengine.google.com/87c00a8b9796d601553051c84652694f
- @author: Rodrigo E. Principe
- email: fitoprincipe82 at gmail
- Licence: MIT