# Locations (https://nolantw.github.io/cwa/en/reference/locations/)

## `Township`

```python
code: str
name: str
county: County
coordinates: Coordinates | None
full_name: str
```

An administrative district, township or county-administered city.

The code identifies the township. The coordinates are a reference point
for location queries.

### `Township.parse`

```python
def parse(name: str) -> Township
```

Resolve a Chinese name and report ambiguous short names.

## `County`

```python
code: str
label: str
townships: tuple[Township, ...]
```

A Taiwanese county or municipality, identified by its administrative code.

### `County.parse`

```python
def parse(name: str) -> County
```

Resolve a full Chinese name or an unambiguous short name.

## `Coordinates`

```python
Coordinates(*, latitude: float, longitude: float)
latitude: float
longitude: float
```

A point in WGS84 decimal degrees.