# upn-plochy: land use of the 2024 territorial plan, by class and state

Every area of sheet č. 2 („Komplexný výkres priestorového usporiadania a funkčného využitia územia“, 1:10 000) of
the 2024 plan, with the class its colour stands for and the state its pattern marks: „stav“ (existing),
„návrh platný ÚPN“ (proposed already in the previous plan) or „návrh nový“ (proposed in 2024). 1434 parts;
3323.7 ha existing, 213.4 ha proposed before 2024, 228.4 ha proposed in 2024.

## 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 files are pinned by SHA-256 in `sources/upd/vykresy.csv` (`scripts/fetch_upd_vykresy.py`); the legends are
  read into `sources/upd/legenda-2024.csv` (`scripts/build_upn_legenda.py`).
- Built by `scripts/build_upn_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 2, 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).

## Method

- A class is a fill colour of the sheet's legend. All shapes of that colour inside the town's boundary are joined
  (AutoCAD draws an area as many small quadrilaterals) into the class's area.
- The map is read down to the legend's frame (3065 pt): the town's southern tip, the lakes' south shore,
  reaches below 3000 pt, where the reading stopped until 9 Nov 2026 and left 5.9 ha of it out. The fit still
  takes the drawn boundary above 3000 pt, so the frame and the other parts' ids stayed as they were.
- Where a fill of one class is drawn over another's, the ground is the class drawn later, the one the sheet shows
  (the order of the PDF's content stream). Until 9 Nov 2026 both classes kept such ground.
- The state is the pattern drawn over the colour, as the legend shows it: white lines 2.85 pt apart, horizontal and
  vertical (a grid), for „návrh nový“; horizontal only (stripes) for „návrh platný ÚPN“; nothing for „stav“. Lines
  at an angle (roads, boundaries) count for neither. The lines are grown by 1.6 pt until they touch and shrunk
  back by as much (a closing), so a pattern's area ends where its hatch ends; the grid is where the horizontal and
  the vertical areas meet, the stripes where the horizontal area is at least 1.6 pt from any vertical one.
  Both are then opened (0.5 and 0.8 pt) so a single line leaves nothing.
- The legend shows a swatch only for the states a class has in it, but the map also cross-hatches classes the
  legend shows only as existing (locality 12.1, landscape greenery proposed in 2024). Such a part is kept, opened
  by 1.0 pt, and marked `stav_v_legende: false`.
- Parts smaller than 25 m² are dropped (slivers of the cutting). Polygons are simplified at 0.5 m and
  rounded to 6 decimals.
- `lokalita`: the development locality (`upn-lokality`) holding at least half of the part.
- The regulation block's variant (b2 or b2*, b5, b5* or b5**) is marked on sheet č. 3, read into `upn-bloky-plochy`.
  What this doesn't read yet: the dashed outline of the cemetery's reserve („výhľadová rezerva pre cintorín“), a line, not a fill; the sheets
  at 1:5 000 (2A, 2B).

## Checks of this build

- The classes cover 97.4 % of the town's area; the rest is roads, railway and lines drawn
  without a fill of the legend.
- Fill colours inside the town that no legend row has (by area): `#e8e8e8` 455.9 ha, `#e1f0db` 455.5 ha, `#eff9dd` 344.1 ha, `#fae6fa` 114.3 ha, `#d9f2f2` 55.4 ha, `#0e2f12` 47.2 ha, `#ff00bf` 46.3 ha, `#dd00dd` 20.4 ha.
- Parts in a state the class's legend row has no swatch for (`stav_v_legende: false`): krajinna-zelen:navrh_novy 14.98 ha.
- Ground of one class that a later fill of another class covers, left to the later one (class under:class over, on
  the whole sheet): zelen-dopravnych-koridorov:priemysel 11.21 ha, les:vodna-plocha 3.79 ha, sklady-logistika:priemysel 2.98 ha, krajinna-zelen:vodna-plocha 0.69 ha, rekreacne-byvanie-a-sport:priemysel 0.36 ha, hromadna-bytova-vystavba:priemysel 0.31 ha, pole:priemysel 0.31 ha, sport-a-rekreacia:priemysel 0.23 ha. Two classes on the same ground before the outlines are simplified:
  137 m²; the simplification at 0.5 m leaves slivers along the edges two classes share.
- Areas proposed before 2024 on this sheet: 213.4 ha; the areas sheet č. 9 greys as
  consented under the previous plan: 218.9 ha (`upn-lokality`). The two sheets draw
  different things (land use, land take), so they are compared, not required to match.
- The legend rows not yet checked against the sheets: 0 (`sources/upd/legenda-2024.csv`,
  columns `overene`, `overil`). All 45 were checked on 5 Nov 2026 by an agent, by the PDFs' vectors, rendered pixels
  and text: none differs, no area swatch is missing. The legend has no swatch for `krajinna-zelen` under the grid,
  which the sheet draws in the six localities whose function is landscape greenery (the line above).

## Area by class and state (ha)

| Class | stav | návrh platný ÚPN | návrh nový |
| --- | --- | --- | --- |
| Bývanie, služby a drobné prevádzky | 126.3 | 116.8 | 75.2 |
| Cintorín | 3.3 |  | 2.2 |
| Dopravná vybavenosť | 14.8 |  |  |
| Hromadná bytová výstavba | 31.4 |  |  |
| Individuálna bytová výstavba | 160.3 |  |  |
| Krajinná zeleň | 31.1 |  | 15.0 |
| Les | 498.5 |  |  |
| Občianska vybavenosť | 36.3 |  | 15.6 |
| Park (zeleň so sadovníckymi a lesoparkovými úpravami) | 5.3 |  |  |
| Pole | 1435.3 |  |  |
| Polyfunkcia bývanie a občianska vybavenosť | 11.3 |  | 20.2 |
| Poľnohospodárstvo | 26.5 |  | 17.3 |
| Priemysel | 127.6 | 9.6 |  |
| Rekreačné bývanie a šport | 9.3 |  | 29.7 |
| Sad | 43.6 |  |  |
| Sklady, logistika | 331.0 | 87.0 | 4.5 |
| Skládka odpadu | 11.9 |  |  |
| Technická vybavenosť energetika | 15.7 |  | 0.5 |
| Technická vybavenosť vodné hospodárstvo | 3.4 |  |  |
| Vinica | 64.7 |  |  |
| Vodná plocha | 137.4 |  |  |
| Zeleň dopravných koridorov | 106.4 |  | 10.8 |
| Zmiešané územie obchodu, služieb a výroby | 5.0 |  | 5.2 |
| Záhrada (záhradková oblasť) | 20.0 |  |  |
| Šport a rekreácia | 61.6 |  | 32.2 |
| Ťažba štrkopieskov | 5.6 |  |  |

## Fields

| Field | Type | Meaning |
| --- | --- | --- |
| `record_id` | string | `2024-2-` and a hash of the sheet, class, state 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: `2`. |
| `trieda` | string | The class: the legend's words as a slug (`byvanie-sluzby-a-drobne-prevadzky`). |
| `trieda_nazov` | string | The legend's words, in sentence case. |
| `farba` | string | The class's fill colour on the sheet, `#rrggbb`. |
| `stav` | string | `stav`, `navrh_platny_upn` or `navrh_novy` (Method). |
| `stav_v_legende` | boolean | The class's legend row has a swatch for this state (Method). |
| `blok` | string or null | The regulation block of Tabuľka č. 1 of the binding part (`b1`, `b2 b2*`, …), from the class. |
| `lokalita` | string or null | The development locality's number (`14.2`) when it holds at least half of the part. |
| `vymera_m2` | integer | The part's area in S-JTSK, m². |
| `presnost_m` | number | The fit's 90th percentile residual, m: how far a line may be from where the sheet means it. |
| `lat`, `lon` | number | A point inside the part, WGS84. |
| `geometry` | object | GeoJSON `Polygon`, WGS84, 6 decimals. In the CSV, `wkt`. |
| `source_url` | string | The sheet's PDF. |
| `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.
