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

# Mapbox Japan Weather Layers

**Mapbox Japan Weather Layers (JWL)** are a Mapbox-provided collection of tilesets representing different weather variables local to Japan.

![Imagery sources](https://docs.mapbox.com/assets/ideal-img/weather-tileset.fa4d0fd.480.png)

Temperature over Japan.

### Tilesets

Mapbox Japan weather layers consists of 13 tilesets, each representing a different weather variable. Most are `rasterarray` tilesets, with one `vector` tileset.

Follow the links below to see detailed reference documentation for each tileset:

-   [Precipitation for Japan - Present + 60 Minute Forecast](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-nowcast/)
-   [Precipitation for Japan - Previous 60 Minutes](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-nowcast-last-60m/)
-   [Precipitation for Japan - 6 Hour Forecast](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-rain-1-6/)
-   [Precipitation for Japan - 7-15 Hour Forecast](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-rain-7-15/)
-   [Snow Depth for Japan - 6 Hour Forecast](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-snowdepth/)
-   [Snow Depth for Japan - Previous 6 Hours](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-snowdepth-last-6hr/)
-   [River Flood Risk for Japan](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-river-flood/)
-   [Landslide Risk for Japan](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-landslide/)
-   [Flood Damage Risk for Japan](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-alert/)
-   [Temperature for Japan - Present + 39 Hour Forecast](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-temperature-0-39/)
-   [Temperature for Japan - 40-78 Hour Forecast](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-temperature-40-78/)
-   [Wind for Japan - Present + 39 Hour Forecast](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-wind-0-39/)
-   [Wind for Japan - 40-78 Hour Forecast](https://docs.mapbox.com/data/tilesets/reference/japan-weather-layers/weather-jp-wind-40-78/)

> **Note: Tilesets generated from sources without data**
> 
> Occasionally a data source used to generate a tileset might not have any underlying data such as the source for the `mapbox.weather-jp-river-flood` tileset. In cases when this is true, a tileset will still be generated, but with a single point located roughly in the center of Japan at `137.990643, 36.016228`.

### Using Japan Weather Layers

Japan Weather Layers can be added to any Mapbox map.

For `rasterarray` tilesets, they can be added to a map as [raster-array sources](https://docs.mapbox.com/style-spec/reference/sources/#raster-array). These sources can be styled as [raster layer](https://docs.mapbox.com/style-spec/reference/layers/#paint-raster-raster-color) and their paint properties can be used to highlight weather variables.

```js
"winds": {
    "type": "raster-array",
    "url": "mapbox://mapbox.weather-jp-wind-0-39",
    "tileSize": 512
}
```

The following Mapbox Tiling Service examples include sample code for using `raster-array` sources in a Mapbox GL JS map. Similar patterns can be used in the Mapbox mobile maps SDKs.

-   [How to add a "temperature" layer to a map](https://docs.mapbox.com/mapbox-tiling-service/examples/raster-mts-basic-recipe/#add-tileset-to-map)
-   [How to add a "wind" layer to a map](https://docs.mapbox.com/mapbox-gl-js/example/raster-particle-layer/)

For `vector` tilesets, they can be added to a map as [vector sources](https://docs.mapbox.com/mapbox-gl-js/example/vector-source/).

### Japan Weather Layers Pricing

-   Billed by **requests**
-   See rates and discounts per tile requests in the pricing page's Maps section

Japan Weather Layers are vector and raster-array tilesets measured in **tile requests**. Details about the number of tile requests included in the free tier and the cost per request beyond what is included in the free tier are available on the pricing page.

### Attribution

When using this tileset publicly in a design or application you must provide [proper attribution](https://docs.mapbox.com/help/dive-deeper/attribution/).