# AGENTS.md — 都市地域データ (A09)
140 files, 0.3 GB, 2006–2018.

## Before you download
| | |
|---|---|
| Files | 140 |
| Measured total | 0.3 GB |
| Years present | 2006, 2011, 2018 |
| Newest edition | 2018 |
| Coordinate system | 2018年度（平成30年度）JGD2011 / (B, L)
2011年度,2006年度（平成23年度,平成18年度）JGD2000 / (B, L) |
| Geometry | 面 |
| Formats | GML (140) |

## Licence
Per file, resolved from the file's own year: 再配布できる 46, 再配布できない 94.
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
- **属性情報 （2018年度）** — 3 columns: `prefec_cd` 都道府県コード, `area_cd` 行政区域コード, `layer_no` 都市地域区分コード

2 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 = 'A09'
 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.
