# AGENTS.md — 河川データ (W05)
47 files, 0.3 GB, 2006–2009.

## Before you download
| | |
|---|---|
| Files | 47 |
| Measured total | 0.3 GB |
| Years present | 2006, 2007, 2008, 2009 |
| Newest edition | 2009 |
| Coordinate system | JGD2000 / （B, L） |
| Geometry | 線、点 |
| Formats | GML (47) |

## Licence
Per file, resolved from the file's own year: 再配布できない 47.
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
- **Stream.shp** — 10 columns: `W05_001` 水系域コード, `W05_002` 河川コード, `W05_003` 区間種別, `W05_004` 河川名, `W05_005` 原典資料種別, `W05_006` 流下方向判定 …
- **RiverNode.shp** — 3 columns: `W05_001` 水系域コード, `W05_011` 標高, `W05_000` 河川端点ID

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.

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