ee.ImageCollection.randomColumn

Adds a column of deterministic pseudorandom numbers to a collection. The outputs are double-precision floating point numbers. When using the 'uniform' distribution (default), outputs are in the range of [0, 1). Using the 'normal' distribution, outputs have μ=0, σ=1, but have no explicit limits.
Usage Returns
ImageCollection. randomColumn ( columnName , seed , distribution , rowKeys ) FeatureCollection
Argument Type Details
this: collection
FeatureCollection The input collection to which to add a random column.
columnName
String, default: "random" The name of the column to add.
seed
Long, default: 0 A seed used when generating the random numbers.
distribution
String, default: "uniform" The distribution type of random numbers to produce; one of 'uniform' or 'normal'.
rowKeys
List, optional A list of properties that should uniquely and repeatably identify an element of the collection, used to generate the random number. Defaults to [system:index].
Create a Mobile Website
View Site in Mobile | Classic
Share by: