# AGENTS.md — 避難施設データ (P20)
47 files, 14 MB, 2012.

## Before you download
| | |
|---|---|
| Files | 47 |
| Measured total | 14 MB |
| Years present | 2012 |
| Newest edition | 2012 |
| 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
- **属性情報** — 13 columns: `P20_001` 行政区域コード, `P20_002` 名称, `P20_003` 住所, `P20_004` 施設の種類, `P20_005` 収容人数, `P20_006` 施設規模 …

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
- `../A31a/collection.json` — 洪水浸水想定区域と避難施設の位置関係を見る (測地系が違います)
- `../A40/collection.json` — 津波浸水想定域の内と外で避難施設を数える (測地系が違います)
- `../A49/collection.json` — 高潮浸水想定区域と避難施設の位置関係を見る (測地系が違います)
- `../A33/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 = 'P20'
 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.
