> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://help.sigmacomputing.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://help.sigmacomputing.com/_mcp/server.

# AggGeography

The **AggGeography** function calls a warehouse aggregate function that returns a Geography data type. This function is the aggregate version of [CallGeography](/docs/callgeography).

This function isn't compatible with all data platform connections. To check if your connection supports it, see [Supported data platforms and feature compatibility](/docs/region-warehouse-and-feature-support#supported-data-platforms-and-feature-compatibility).

## Syntax

```
AggGeography(function_name, arguments...)
```

The function has these arguments:

<dl>
  <dt>
    function_name
  </dt>

  <dd>
    Required
  </dd>

  <dd>
    The name of the warehouse function that Sigma invokes
  </dd>

  <dt>
    argument1 ...
  </dt>

  <dd>
    Optional
  </dd>

  <dd>
    The arguments of the invoked function
  </dd>

  <dd>
    Functions may have 

    <code>0</code>

     or more arguments
  </dd>
</dl>

## Related resources

* [CallGeography](/docs/callgeography)
* [Geography](/docs/geography)
* [Geography functions](/docs/geography-functions)