# Point of Interest (POI)


# Description

POI or point of interest is the configuration where postcodes and locations are stored for the website to be able to pick up when users search in the location section. You can create multiple sections within the POI configuration, each must have a unique name that can be used when creating GeoLocations within the Indexes Config.

# Examples

# Postcode

# Syntax

"Postcode": {
    "<Postcode Number>": {
        "Latitude": -35.279236,
        "Longitude": 149.118362,
        "Radius": 0
    },
}

The Latitude and Longitude refer to the location of the center of the postcode area, the radius defines the radius of the postcode area.

# SuburbPoi

# Syntax

"SuburbPoi": {
    "<Location Name, State, Postcode>": {
        "Latitude": -32.8633,
        "Longitude": 149.8038,
        "Radius": 0,
        "Attributes": {
            "State": "New South Wales",
            "Region": "Central West",
            "Postcode": "2850"
        }
    },
}

SuburbPoi follows a similar pattern to Postcode, however, the name is now much longer and involves the name of the suburb, the state it is in, and the postcode belonging to it. The SuburbPoi also includes a section labeled "Attributes" with sections "State", "Region", and "Postcode" that are all required.