# community.gifthood.geo.resolveArea

> Published by [gifthood.community](https://lexicon.garden/identity/did:plc:7prvtl4j6wsfmkrfrnwknuxj)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:7prvtl4j6wsfmkrfrnwknuxj/community.gifthood.geo.resolveArea)
- [Documentation](https://lexicon.garden/lexicon/did:plc:7prvtl4j6wsfmkrfrnwknuxj/community.gifthood.geo.resolveArea/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:7prvtl4j6wsfmkrfrnwknuxj/community.gifthood.geo.resolveArea/examples)

## Definitions

### `community.gifthood.geo.resolveArea`

**Type**: `query`

Resolve a geohash cell to its reverse-geocoded area label. Public — no authentication (naming a cell is public data, no viewer). Used for the area picker's live name as you pan.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `geohash` | `string` | Yes | The geohash cell to name. |
| `precision` | `integer` | No | Optional truncation precision applied to the geohash before naming (consistency with feed.getListings; naming is gh-6-keyed). |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `area` | `ref` → `community.gifthood.geo.defs#area` | Yes | The resolved cell. |

## Raw Schema

```json
{
  "id": "community.gifthood.geo.resolveArea",
  "defs": {
    "main": {
      "type": "query",
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "area"
          ],
          "properties": {
            "area": {
              "ref": "community.gifthood.geo.defs#area",
              "type": "ref",
              "description": "The resolved cell."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": {
        "type": "params",
        "required": [
          "geohash"
        ],
        "properties": {
          "geohash": {
            "type": "string",
            "description": "The geohash cell to name."
          },
          "precision": {
            "type": "integer",
            "maximum": 12,
            "minimum": 1,
            "description": "Optional truncation precision applied to the geohash before naming (consistency with feed.getListings; naming is gh-6-keyed)."
          }
        }
      },
      "description": "Resolve a geohash cell to its reverse-geocoded area label. Public — no authentication (naming a cell is public data, no viewer). Used for the area picker's live name as you pan."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
