# `Aerospike.Geo.Polygon`
[🔗](https://github.com/luisgabrielroldan/aerospike_driver/blob/v0.3.1/lib/aerospike/geo.ex#L32)

GeoJSON Polygon geometry using rings of `[longitude, latitude]` coordinates.

# `coordinate_pair`

```elixir
@type coordinate_pair() :: {float(), float()}
```

Longitude/latitude coordinate pair.

# `ring`

```elixir
@type ring() :: [coordinate_pair()]
```

One polygon ring represented as longitude/latitude pairs.

# `t`

```elixir
@type t() :: %Aerospike.Geo.Polygon{coordinates: [ring()]}
```

GeoJSON polygon with one or more rings.

Coordinates are normalized to floats by `Aerospike.Geo.polygon/1`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
