

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# 管理アドレス名を取得する方法
<a name="how-to-reverse-geocode-address-names-mode"></a>

都市名などの住所コンポーネントの正式な管理名を返`Administrative`すには、 を `AddressNamesMode` に設定します。 `Administrative` は現在、米国の住所にのみ適用されます。

## 想定されるユースケース
<a name="reverse-geocode-address-names-mode-use"></a>
+ **標準化に対処する:** データ品質のために都市名を公式の管理フォームに正規化します。

## 例
<a name="reverse-geocode-address-names-mode-example"></a>

### 管理モードを使用する
<a name="reverse-geocode-address-names-mode-admin"></a>

------
#### [ Sample request ]

```
{
    "QueryPosition": [-73.985, 40.748],
    "AddressNamesMode": "Administrative"
}
```

------
#### [ Sample response ]

```
{
    "ResultItems": [
        {
            "PlaceId": "<Redacted>",
            "PlaceType": "PointAddress",
            "Title": "350 5th Ave, New York, NY 10118, United States",
            "Address": {
                "Label": "350 5th Ave, New York, NY 10118, United States",
                "Locality": "New York"
            }
        }
    ]
}
```

------
#### [ cURL ]

```
curl --request POST \
  --url 'https://places.geo.eu-central-1.amazonaws.com/v2/reverse-geocode?key=Your_Key' \
  --header 'Content-Type: application/json' \
  --data '{
    "QueryPosition": [-73.985, 40.748],
    "AddressNamesMode": "Administrative"
}'
```

------
#### [ AWS CLI ]

```
aws geo-places reverse-geocode --key ${YourKey} --query-position -73.985 40.748 --address-names-mode Administrative
```

------