# upn-zmeny: the territorial plan and its changes

One record per change of Senec's territorial plan since 2024: the plan itself, each of its amendments („zmeny
a doplnky“, ZaD) and the building freeze one of them brought. 4 records. Each lists its steps with
dates, deadlines and documents, so a reader sees when the public could comment.

## Provenance

- The steps: `data/atlas/uzemny-plan-harmonogram.csv`; ZaD č. 1 and č. 2: `data/atlas/uzemny-plan.json` and
  `uzemny-plan-zad1-zmeny.csv` (`scripts/build_uzemny_plan.py`, which watches the council and the notices).
- The building freeze's area: the union of its parcels from the cadastre (`data/atlas/cadastre/senec-parcely-C.geojson`,
  the parcels of decision SEN/1014/2025/32097-bT, `data/atlas/uzemny-plan-zad1-parcely.csv`).
- Built by `scripts/build_upn_mapa.py`.

## Method

- A step about ZaD č. 2 goes to `zad-2`, one about the building freeze to `uzavera-2025`, the steps of 2024 to
  `upn-2024`, the rest to `zad-1`. The timeline's status row (`STAV: …`) becomes `stav_text` and `stav_k`.
- ZaD č. 1 came from a councillor's proposal. The step says „poslanecký podnet“ and no name (the decision of
  14 Oct 2026: no per-person councillor content). Votes are totals.
- A step says what its document states (since 13 Nov 2026): the research timeline's remarks are left out, a private
  person's statement in the SEA is a step without its content, and dates are written „13. 4. 2026“.
- A change's area: the parcels it names or the plan's own drawing of it; ZaD č. 1 draws nothing, so its record
  carries the building freeze's parcels, the area it applies to.
- The windows (since 10 Nov 2026): a step whose notice invites the public to send something has `okno`, its first
  and last day, whom to send it to and how, each read by hand from the notice (`sources/upd/okna.csv`, which keeps
  the notice's sentence). The last day is the one the notice states; nothing is counted from a delivery rule. The
  e-mail addresses are in the notices, not here. The 7 working days of the building freeze's proceedings are for its
  parties, not the public, and are no window.
- `etapa` follows from the record: `ucinne` once in force, `schvalene` once its VZN is declared, `navrh` once its
  draft went out for comments, `oznamenie` before; the freeze has none. `okno_do` is the last day of a window open
  on the day of the build, so it goes stale after that day: count from the steps' `od` and `do` instead.

## Fields

| Field | Type | Meaning |
| --- | --- | --- |
| `record_id` | string | `upn-2024`, `zad-1`, `zad-2`, `uzavera-2025`. Stable. |
| `druh` | string | `uzemny_plan`, `zmeny_a_doplnky` or `stavebna_uzavera`. |
| `cislo` | integer or null | The amendment's number. |
| `nazov` | string | As the town names it. |
| `stav` | string | `platný`, `platná` or `obstarávanie`. |
| `etapa` | string or null | `oznamenie`, `navrh`, `schvalene` or `ucinne`; null for the building freeze. |
| `stav_text`, `stav_k` | string or null | Where it stands, in words, and the day that was checked. |
| `uznesenie`, `vzn` | string or null | The council's resolution and the regulation that declares it. |
| `ucinnost_od`, `platnost_do` | string or null | In force from; valid until (the freeze). |
| `okno_do` | string or null | The last day of a window open on the day of the build. |
| `co_sa_meni` | string | What changes, from the documents. |
| `bloky`, `lokality` | array or null | The regulation blocks and localities it touches. In the CSV, space-separated. |
| `vymera_ha` | number or null | The area it applies to, ha (S-JTSK). |
| `kroky` | array | Its steps: `{datum, udalost, akt, lehota, koniec_lehoty, okno, od, do, adresat, ako, source_url}`; `lehota` as the timeline gives it („30 dní“, „7 pracovných dní“). `okno` is `podnety`, `pripomienky` or `stanoviska` for a step that opens a window to the public, with its first and last day (`od`, `do`), whom to send to (`adresat`) and how (`ako`); null otherwise. In the CSV, their count. |
| `okna` | integer | In the CSV only: how many of its steps open a window. |
| `geometry` | object or null | GeoJSON, WGS84, 6 decimals. In the CSV, `wkt`. |
| `source_url` | string or null | The change's page or document. |
| `last_update` | string | The day the record's content last changed. |

## License

Published by Som Senec without a licence of its own (Podmienky zdroja): https://somsenec.sk/data#podmienky-zdroja. The records are an extract from a source that states no licence; the README above names it and each record links to it. Credit that source and "Som Senec, somsenec.sk", and keep to the source's terms.
