# GetLayerPrecomputedCalculationParams

***

The parameters for calculating a single aggregate value for a layer, passed to the [LayersController.getPrecomputedAggregates](https://developers.felt.com/js-sdk-api-reference/layerscontroller#getprecomputedaggregates) method.

## Properties

### layerId

> **layerId**: `string`

The ID of the layer to calculate an aggregate value for.

***

### gridConfig

> **gridConfig**: [`GridConfig`](https://developers.felt.com/js-sdk-api-reference/layers/gridconfig)

The grid configuration to use for the precomputed calculation.

***

### filters?

> `optional` **filters**: [`Filters`](https://developers.felt.com/js-sdk-api-reference/layers/filters)

Attribute filters for the features to include when calculating the aggregate value.

***

### boundary?

> `optional` **boundary**: [`GeometryFilter`](https://developers.felt.com/js-sdk-api-reference/layers/geometryfilter)

The spatial boundary for the features to include when calculating the aggregate value.
