# AGENTS.md — 国有林野データ (A45)
188 files, 4.5 GB, 2018–2024.

## Before you download
| | |
|---|---|
| Files | 188 |
| Measured total | 4.5 GB |
| Years present | 2018, 2024 |
| Newest edition | 2024 |
| Geometry | 面 |
| Formats | GML (94), Shapefile (47), GeoJSON (47) |

## Licence
Per file, resolved from the file's own year: 要確認 188.
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.
188 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
- **小班区画：SectionofUnit.shp** — 32 columns: `A45_001` 小班ID, `A45_002` 森林管理局, `A45_003` 森林管理署, `A45_004` 林班主番, `A45_005` 林班枝番, `A45_006` 小班主番 …
- **林班区画：SectionofCompartment.shp** — 7 columns: `A45_041` 林班ID, `A45_042` 森林管理局, `A45_043` 森林管理署, `A45_044` 林班主番, `A45_045` 林班枝番, `A45_046` 局名称 …
- **林道：ForestRoad.shp** — 5 columns: `A45_051` 林道ID, `A45_052` 森林管理局, `A45_053` 森林管理署, `A45_054` 路線番号, `A45_055` 林道名

22 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 = 'A45'
 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.
