# AggregatedGridConfig

***

The grid configuration for an aggregated precomputed aggregate value. This requires an `attribute` property, because the numeric aggregation requires it.

If you just want to count the features in each grid cell, use the [CountGridConfig](/js-sdk-api-reference/layers/countgridconfig.md) instead, where you are not required to specify an `attribute`.

Used inside [GetLayerPrecomputedCalculationParams](/js-sdk-api-reference/layers/getlayerprecomputedcalculationparams.md).

## Properties

### resolution

> **resolution**: `number`

The resolution of the grid to use for the precomputed calculation.

***

### attribute

> **attribute**: `string`

The attribute to use for the precomputed calculation.

This must be a numeric attribute;

***

### type

> **type**: `"h3"`

The type of grid to use for the precomputed calculation.

***

### method

> **method**: `"min"` | `"max"` | `"avg"` | `"sum"`

The method to use for the precomputed calculation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.felt.com/js-sdk-api-reference/layers/aggregatedgridconfig.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
