# AGENTS.md — 砂防指定地データ (A52)
24 files, 0.1 GB, 2023.

## Before you download
| | |
|---|---|
| Files | 24 |
| Measured total | 0.1 GB |
| Years present | 2023 |
| Newest edition | 2023 |
| Coordinate system | JGD2011 / (B, L) |
| Geometry | 面、線 |
| Formats | GML (24) |

## Licence
Per file, resolved from the file's own year: 再配布できる 24.
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.

## Columns
- **属性情報** — 10 columns: `A52_001` 都道府県コード, `A52_002` 市町村コード, `A52_003` 市町村名, `A52_004` 河川渓流名, `A52_005` 支渓名, `A52_006` 告示年月日 …

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.

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