# upn-bloky-plochy: the regulation blocks of the 2024 territorial plan, as sheet č. 3 draws them

Every regulation block („regulačný blok“) that sheet č. 3 of the 2024 plan („Výkres regulatívov a
verejnoprospešných stavieb“, 1:10 000, binding) closes by its blue lines („hranice regulačných blokov“), with the
code printed in it: 388 blocks, 3575.5 ha, and
1 face that holds the codes of two blocks. The code is the block's variant as the sheet
prints it (`b2*`, `b5**`); `blok` joins it to `upn-bloky`, the limits of Tabuľka č. 1 and the uses of chapter B.2
of the binding part. The development localities (`upn-lokality`) are blocks of their own here, each with the code
Tabuľka č. 2 gives it, and carry limits of their own.

## Provenance

- The 2024 plan's clean copy (čistopis), approved by uzn. MsZ 106/2024, binding part declared by VZN 9/2024, in
  force since 14 Oct 2024; the town's page: <https://www.senec.sk/uzemne-planovanie/uzemny-plan-mesta-senec/>.
  Processor ÚPn s.r.o. („© 2024 ÚPn s.r.o.“ on each sheet).
- The file is pinned by SHA-256 in `sources/upd/vykresy.csv` (`scripts/fetch_upd_vykresy.py`).
- Built by `scripts/build_upn_bloky_mapa.py`; the method and its tests: `research/uzemny-plan-mapa-2026-11-04.md`.
- **Not binding.** A reading of the drawings at 1:10 000. The binding text is VZN 9/2024 with its annexes; for a
  parcel, the town's „územnoplánovacia informácia“
  (<https://www.senec.sk/samosprava/uzemne-planovanie/uzemnoplanovacia-informacia/>).
- Sheet 3, fitted to the town's boundary (OSM, `sources/osm/senec_boundary.json`) in S-JTSK (EPSG:5514): scale 1:10 000, rotation -0.0008°, residual median 3.74 m, 90th percentile 3.92 m, worst 6.07 m (100.0 % of the boundary's points within three medians). The frame is that of sheets 2 and 9 (`upn-plochy`, `upn-lokality`).
- The blocks' limits and uses: `upn-bloky` (`scripts/build_upn_mapa.py`, from the binding part's Tabuľka č. 1
  and B.2).

## Method

- The lines that close a block: the blue line „hranica regulačných blokov“, and the cadastral boundary where it
  bounds the town. The cadastral line is drawn in dashes, and where a block ends at it the gaps are blue, so it is
  closed over its gaps (1.5 pt) together with the blue next to it. Elsewhere the blue line is taken as drawn
  (1.4 pt wide), so two lines close together never merge.
- A face is an area these lines enclose inside the town, without the faces inside it (holes). It is grown by
  half the line's width (0.7 pt), so the outline follows the line's centre. The map is read down to the
  legend's frame (y 3065 pt), as the town's southern tip reaches below 3 000 pt (as sheets 2 and 9 are).
- A code is a run of letters 15.6 pt high (Candara). The variant's asterisks are not text: each is four short
  bars drawn over the code's last digit, read as such. A code belongs to the face holding the middle of its
  letters (their x-height band); a code printed across a line, to the face holding most of them.
- **A code printed across a line** may be moved to the face on the other side, when the drawing and sheet 2 both
  say so: its letters reach into that face (at least 5 % of their ink), the face holds no code, sheet 2
  colours it with a class of the code's block on at least 50 %, and the code's own face either holds
  another code or is under 50 % that block on sheet 2. Only where exactly one face qualifies. Such a
  block carries a `poznamka` saying so (Checks).
- A face with one code, printed once or more, is a block (a record). A face holding the codes of two blocks is a
  record with `kod` and `blok` null, both codes in `kody` and the fact in `poznamka`: the sheet doesn't say
  which applies where, and nothing is guessed. A face with no code is not a record (Checks).
- `lokalita`: the development locality whose number the sheet prints in the block.
- A block of which sheet 2 colours less than 50 % with a class of the same block (`upn-plochy`,
  `blok`) carries a `poznamka` saying so: the sheet prints codes in narrow strips and across lines, so such a code
  may be meant for the face beside it.
- Polygons are simplified at 0.5 m and rounded to 6 decimals.

## The variants

The sheet prints `b2*` 1, `b5*` 3, `b5**` 1, all in the town's centre. The binding part (`cist_B`) treats them apart:

- Tabuľka č. 1 (p. 7 and 8) gives `b2` and `b2*` one row of limits, and `b5`, `b5*` and `b5**` one row whose
  „Max. podlažnosť BD a PD (NP)“ is 3, 3 and 2 (in that order; `upn-bloky` writes „3 3 2“).
- B.1.1 (p. 7): in the town's centre, above all in `b2*`, `b5*` and `b5**`, a building filling a gap takes its
  height from the cornice and ridge of a neighbour, within 0.5 m.
- B.2 (p. 23 and 26): allowed in `b2*` also polyfunctional houses of housing and amenities in family houses;
  prevailing in `b5*` such buildings as blocks of flats, in `b5**` as family houses; family houses allowed in `b5**`
  and not allowed in `b5` and `b5*`, blocks of flats not allowed in `b5**`.

## Checks of this build

- The codes printed on the map: 397, every one a code of Tabuľka č. 1:
  `b2` 102, `o` 50, `b3` 45, `e` 31, `k` 29, `š` 22, `z` 18, `zo` 15, `b1` 12, `s` 11, `b5` 10, `p2` 10, `p1` 9, `d` 8, `ov` 5, `c` 4, `t1` 4, `b4` 3, `b5*` 3, `t2` 2, `b2*` 1, `b5**` 1, `so` 1, `ť` 1.
- The faces inside the town: 505. With one code: 388 (of them
  0 with it printed twice or more). With the codes of two blocks:
  1. With none: 116, 39.1 ha
  (60 under 0.05 ha, 42 0.05 to 0.5 ha, 14 0.5 ha or more: the smallest are slivers where two lines run close or cross).
- Codes whose letters lie partly in a second face (over 15 % of their ink): 22.
  Each went to the face holding the middle of its letters; they are listed for the review (`--review`).
- By the position of the codes' letters alone, 2 faces held the codes of
  two blocks and 119 none. 4 codes printed across a line were
  then moved to the face beside them (Method), each to a face sheet 2 colours as that code's block:

| Code | Printed at (sheet, pt) | Its ink in the new face, % | Its old face: other codes left, same block on sheet 2 % | New face, m² | Record |
| --- | --- | --- | --- | --- | --- |
| `b2` | 1233.8, 2023.7 | 24 | 1, 100 | 1110 | `2024-3-a212091355` |
| `b2` | 1232.2, 2052.8 | 11 | 0, 0 | 386 | `2024-3-4f77082200` |
| `b2` | 1274.5, 2091.9 | 23 | 1, 0 | 2069 | `2024-3-9c41aac5ae` |
| `b2` | 1106.9, 2114.0 | 33 | 1, 100 | 758 | `2024-3-c27ce33326` |

- The 53 locality numbers the sheet prints: 53
  lie in a block whose code is the locality's block in Tabuľka č. 2.
- Sheet 2 under the blocks: 99.3 % of their area has a class of the same block
  (`upn-plochy`, `blok`); 2 blocks are under 80 % (below).

Faces with the codes of two blocks (records with `kod` null):

| Codes | Codes printed | ha | lat, lon |
| --- | --- | --- | --- |
| `d`, `zo` | 9 | 222.21 | 48.228912, 17.377505 |

Faces with no code, 0.5 ha or more (no record):

| ha | The class sheet 2 draws on most of it (its block), share | lat, lon |
| --- | --- | --- |
| 10.83 | Šport a rekreácia (`š`), 100 % | 48.217258, 17.429011 |
| 5.04 | Šport a rekreácia (`š`), 100 % | 48.210493, 17.434524 |
| 2.79 | Les (`e`), 74 % | 48.201303, 17.412878 |
| 2.32 | Les (`e`), 100 % | 48.271799, 17.359027 |
| 2.15 | Krajinná zeleň (`e`), 100 % | 48.261139, 17.353431 |
| 1.48 | Priemysel (`p1`), 34 % | 48.249639, 17.352007 |
| 1.46 | Les (`e`), 90 % | 48.274131, 17.359197 |
| 1.37 | Priemysel (`p1`), 76 % | 48.227834, 17.435705 |
| 1.12 | none | 48.251144, 17.394925 |
| 0.76 | Šport a rekreácia (`š`), 100 % | 48.222315, 17.426537 |
| 0.73 | none | 48.234692, 17.439130 |
| 0.72 | Krajinná zeleň (`e`), 99 % | 48.254878, 17.350570 |
| 0.57 | none | 48.222065, 17.416368 |
| 0.53 | none | 48.222202, 17.428835 |

Blocks under 80 % of their area in a class of the same block on sheet 2 (those under 50 %, 0
here, carry a `poznamka`):

| Code | ha | Same block on sheet 2, % | Any class on sheet 2 (cover), % | lat, lon |
| --- | --- | --- | --- | --- |
| `z` | 0.96 | 67 | 100 | 48.225309, 17.401973 |
| `e` | 0.35 | 67 | 100 | 48.212048, 17.389034 |

## Blocks by code

| Code | Block (`upn-bloky`) | Codes printed | Blocks | ha |
| --- | --- | --- | --- | --- |
| `b1` | Plochy hromadnej bytovej výstavby | 12 | 12 | 31.6 |
| `b2` | Plochy individuálnej bytovej výstavby | 102 | 102 | 157.7 |
| `b2*` | Plochy individuálnej bytovej výstavby | 1 | 1 | 1.5 |
| `b3` | Plochy bývania, služieb a drobných prevádzok | 45 | 45 | 318.1 |
| `b4` | Plochy rekreačného bývania a športu | 3 | 3 | 38.8 |
| `b5` | Plochy polyfunkcie: bývania a občianskej vybavenosti | 10 | 10 | 25.5 |
| `b5*` | Plochy polyfunkcie: bývania a občianskej vybavenosti | 3 | 3 | 5.1 |
| `b5**` | Plochy polyfunkcie: bývania a občianskej vybavenosti | 1 | 1 | 0.8 |
| `c` | Plochy cintorína | 4 | 4 | 5.3 |
| `e` | Plochy krajinnej zelene, lesov, vodné plochy (plochy prvkov ekologickej stability) | 31 | 31 | 670.4 |
| `k` | Polia, vinice, sady (poľnohospodárska krajina) | 29 | 29 | 1552.3 |
| `o` | Plochy občianskej vybavenosti | 50 | 50 | 51.5 |
| `ov` | Zmiešané územie obchodu, služieb a výroby | 5 | 5 | 10.2 |
| `p1` | Plochy priemyslu | 9 | 9 | 100.0 |
| `p2` | Plochy poľnohospodárstva | 10 | 10 | 43.7 |
| `s` | Plochy skladov, logistiky | 11 | 11 | 425.9 |
| `so` | Plochy skládky odpadu | 1 | 1 | 11.9 |
| `t1` | Plochy technickej vybavenosti - energetika | 4 | 4 | 15.7 |
| `t2` | Plochy technickej vybavenosti – vodné hospodárstvo | 2 | 2 | 3.4 |
| `z` | Plochy parku (zeleň so sadovníckymi a lesoparkovými úpravami) | 18 | 18 | 5.2 |
| `zo` | Plochy záhrad (záhradková oblasť) | 15 | 14 | 19.6 |
| `š` | Plochy športu a rekreácie | 22 | 22 | 75.8 |
| `ť` | Plochy ťažby štrkopieskov | 1 | 1 | 5.5 |

## Fields

| Field | Type | Meaning |
| --- | --- | --- |
| `record_id` | string | `2024-3-` and a hash of the sheet, the codes and the centroid in S-JTSK to the metre. Stable while the pinned sheet is the same. |
| `stav_planu` | string | The plan state: `2024`. |
| `vykres` | string | The sheet: `3`. |
| `kod` | string or null | The code as printed, with its variant (`b2`, `b2*`, `b5**`); null where the face holds the codes of two blocks. |
| `kody` | array | Every code printed in the face, once each. In the CSV, space-separated. |
| `blok` | string or null | The block's `record_id` in `upn-bloky` (`b2` for `b2` and `b2*`): the join to Tabuľka č. 1 and B.2. |
| `blok_nazov` | string or null | The block's name, from `upn-bloky`. |
| `pocet_oznaceni` | integer | How many times a code is printed in the face. |
| `lokalita` | string or null | The development locality whose number the sheet prints in the block (`upn-lokality`, `cislo`). |
| `vymera_m2` | integer | The outline's area in S-JTSK, m². |
| `presnost_m` | number | The fit's 90th percentile residual, m. |
| `poznamka` | string or null | Why a record is uncertain (Method), in Slovak. |
| `lat`, `lon` | number | A point inside the outline, WGS84. |
| `geometry` | object | GeoJSON `Polygon`, WGS84, 6 decimals. In the CSV, `wkt`. |
| `source_url` | string | Sheet č. 3's PDF. |
| `zdroj_regulativov_url` | string or null | The binding part's PDF at the block's page of B.2 (`upn-bloky`'s `source_url`). |
| `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.
