# AGENTS.md — 土砂災害警戒区域データ (A33)
810 files, 33.1 GB, 2013–2025.

## Before you download
| | |
|---|---|
| Files | 810 |
| Measured total | 33.1 GB |
| Years present | 2013, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025 |
| Newest edition | 2025 |
| Coordinate system | 世界測地系（JGD2011）/（B,L） |
| Geometry | 面、線 |
| Formats | GML (586), Shapefile (112), GeoJSON (112) |

## Licence
Per file, resolved from the file's own year: 再配布できる 634, 要確認 176.
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.
176 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
- **属性情報** — 8 columns: `A33_001` 現象の種類, `A33_002` 区域区分, `A33_003` 都道府県コード, `A33_004` 区域番号, `A33_005` 区域名, `A33_006` 所在地 …

4 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.

## Often used with
- `../P29/collection.json` — 土砂災害警戒区域にかかる学校を洗い出す (測地系が違います)
- `../P20/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 = 'A33'
 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.
