# AGENTS.md — 津波浸水想定データ (A40)
53 files, 2.0 GB, 2016–2024.

## Before you download
| | |
|---|---|
| Files | 53 |
| Measured total | 2.0 GB |
| Years present | 2016, 2017, 2018, 2020, 2021, 2022, 2023, 2024 |
| Newest edition | 2024 |
| Coordinate system | JGD2011 / （B, L） |
| Geometry | 面 |
| Formats | GML (53) |

## Licence
Per file, resolved from the file's own year: 再配布できる 45, 要確認 8.
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.
8 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
- **属性情報** — 3 columns: `A40_001` 都道府県名, `A40_002` 都道府県コード, `A40_003` 津波浸水深の区分

1 column is 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.

## Often used with
- `../P20/collection.json` — 津波浸水想定域の内と外で避難施設を数える (測地系が違います)
- `../P04/collection.json` — 津波浸水想定域にある医療機関を数える
- `../P29/collection.json` — 津波浸水想定域にある学校を数える

These pairs are an editorial judgement, not upstream metadata: they carry `ksj:editorial: true`. The list is not exhaustive, and a combination missing from it is not a combination that was rejected.

## 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 = 'A40'
 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.
