AggregateField.withFieldName constructor

AggregateField.withFieldName({
  1. required String name,
  2. required String statisticFieldName,
  3. required AggregateStatisticType statisticType,
})

Creates an AggregateField object.

Parameters:

  • name — A name that uniquely identifies the aggregate field within the AggregationFeatureReduction.aggregateFields collection.
  • statisticFieldName — An attribute name from the source dataset that contains numeric values to summarize.
  • statisticType — Type of statistic used to summarize numeric field for aggregated geoelements.