# AGENTS.md — 洪水浸水想定区域（1次メッシュ単位）データ (A31b)
2007 files, 51.4 GB, 2022–2025.

## Before you download
| | |
|---|---|
| Files | 2007 |
| Measured total | 51.4 GB |
| Years present | 2022, 2023, 2024, 2025 |
| Newest edition | 2025 |
| Coordinate system | JGD2011 / （B, L） |
| Geometry | 面 |
| Formats | GML (669), Shapefile (669), GeoJSON (669) |

## Licence
Per file, resolved from the file's own year: 要確認 2007.
The Collection's own `license` is `other`; it falls back to `other` whenever any single year in the dataset does. Read the Item's `license` and its `ksj:terms_applied`, the sentence that decided it.
2007 of these need a human: upstream states the terms per prefecture or per municipality. Treat them as not redistributable until someone has read `ksj:terms` on the Collection.

## Columns
- **属性情報 （計画規模）** — 1 columns: `A31b_101` 浸水深ランク
- **属性情報 （想定最大規模）** — 1 columns: `A31b_201` 浸水深ランク
- **属性情報 （浸水継続時間）** — 1 columns: `A31b_301` 浸水継続時間ランク
- **属性情報 （家屋倒壊等氾濫（氾濫流））** — 1 columns: `A31b_401` 危険区域区分
- **属性情報 （家屋倒壊等氾濫（河岸浸食））** — 1 columns: `A31b_401` 危険区域区分

5 columns are coded, carrying a `ksj:codelist_href` into `../../codelists/`, where every value has a label.

Column names are what a query has to spell; the readable name is beside it. These come from the dataset page, which keeps superseded schemas as HTML comments -- those are stripped, so what is listed here is the current edition's.

## Count it, do not trust this file
Every number above is generated from the catalog, but a fact stated in prose goes stale silently. The Items are the record:

```sql
select year, region, redistribution, file_size
  from 'https://stac.yuiseki.net/mlit-nlftp/items.parquet'
 where collection = 'A31b'
 order by year desc;
```

`ksj:is_latest` on an Item is computed per region, so the newest year for the country is not the newest year everywhere.
