# AGENTS.md — バスルート (N07)
160 files, 1.2 GB, 2011–2022.

## Before you download
| | |
|---|---|
| Files | 160 |
| Measured total | 1.2 GB |
| Years present | 2011, 2022 |
| Newest edition | 2022 |
| Coordinate system | 2022年度（令和4年度）
JGD2011 / （B, L）
2011年度（平成23年度）
JGD2000 / （B, L） |
| Geometry | 線 |
| Formats | GML (104), Shapefile (56) |

## Licence
Per file, resolved from the file's own year: 再配布できる 112, 再配布できない 48.
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
- **属性情報** — 2 columns: `N07_001` 事業者名, `N07_002` 備考

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
- `../P11/collection.json` — 停留所と路線を合わせて路線網として見る
- `../mesh500r6/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 = 'N07'
 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.
