---
title: "Geolocation"
description: "Enhance your node's capabilities with geolocation support, including fast queries via MongoDB indices. (Gitana 3.2)"
product: "Gitana"
version: "3.2"
url: "/documentation/gitana/3.2/guide/guide/features/geolocation"
---

# Geolocation

QName: `f:geolocation`

Indicates that this node supports geolocation properties. This feature provisions the node with a `loc` property that contains two sub-properties - `lat` and `long`.

```
{
    "properties": {
        "loc": {
            "type": "object",
            "title": "Geolocation Details",
            "properties": {
                "lat": {
                    "type":"number",
                    "title": "Latitude",
                    "minimum": -180,
                    "maximum":180
                },
                "long": {
                    "type":"number",
                    "title": "Longitude",
                    "minimum": -180,
                    "maximum":180
                }
            }
        }
    }
}
```

Where:

- `latitude` - Minimum value is -180. Maximum value is 180.
- `longitude` - Minimum value is -180. Maximum value is 180.

Geolocation properties are specially-treated. They're indexed and are available for fast query and lookup via MongoDB's geolocation indices.

## Configuration

This feature does not require configuration.

## Geolocation Example

```
{
    "title": "David Gilmour's Astoria Recording Studio",
    "latitude": 51.411942,
    "longitude": -0.357823,
    "_features": {
        "f:geolocation": {
        }
    }
}
```
