> For the complete documentation index, see [llms.txt](https://docs.mapbox.com/data/tilesets/llms.txt)

# River Flood Risk for Japan

This tileset reference document includes information to help you use the data in the **River Flood Risk for Japan** tileset.

> **Note (pricing): Japan Weather Layers**
> 
> This tileset is part of the [Mapbox Japan Weather Layers](https://docs.mapbox.com/data/tilesets/guides/japan-weather-layers/). These tilesets provide weather and environmental data for Japan and have separate pricing from other Mapbox tilesets.
> 
> See the [Japan Weather Layers guide](https://docs.mapbox.com/data/tilesets/guides/japan-weather-layers/) for more details.

## Overview

**River Flood Risk for Japan** is a Mapbox-provided vector tileset that includes river flood risk data for Japan..

### Access this Tileset

Use this **Tileset URL** to add this tileset to your map style as a `vector` source:

```text
mapbox://mapbox.weather-jp-river-flood
```

Access this tileset's [TileJSON](https://docs.mapbox.com/help/glossary/tilejson/):

```text
https://api.mapbox.com/v4/mapbox.weather-jp-river-flood.json?access_token=YOUR_MAPBOX_ACCESS_TOKEN
```

Access tiles from this tileset via the [Vector Tiles API](https://docs.mapbox.com/api/maps/vector-tiles/) using the following template:

```text
https://api.mapbox.com/v4/mapbox.weather-jp-river-flood/{z}/{x}/{y}.{format}?access_token=YOUR_MAPBOX_ACCESS_TOKEN
```

Query this tileset at a specific location using the [Tilequery API](https://docs.mapbox.com/api/maps/tilequery/):

```text
https://api.mapbox.com/v4/mapbox.weather-jp-river-flood/tilequery/{longitude},{latitude}.json?access_token=YOUR_MAPBOX_ACCESS_TOKEN
```

### Data sources

The data supporting this tileset is sourced from the Japan Meteorological Agency (JMA). [JMA Source Data](https://www.jma.go.jp/jma/kishou/know/bosai/riskmap_flood.html).

## Layer reference

The River Flood Risk for Japan `vector` tileset contains the following layers:

### `river_flood`

This layer shows rivers with flood risk in Japan.

buffer: 2

#### `TYPE` *integer*

The river type, either 1 or 2.

#### `FLOODRISK` *integer*

The flood risk hazard level

| Value | Description |
| --- | --- |
| 0 | No Risk |
| 1 | Caution |
| 2 | Warning |
| 3 | Danger |
| 4 | Disaster Imminent |

#### `FLOODFCST` *integer*

The flood risk hazard level forecast

| Value | Description |
| --- | --- |
| 2 | Caution |
| 3 | Warning |
| 4 | Danger |
| 5 | Disaster Imminent |