# adresy-senec: Register adries address points, Senec

One record per address point (*adresný bod*) in the municipality of Senec (LAU2 `SK0108508217`), from the state address register (Register adries, Ministerstvo vnútra SR). 6494 rows. Built by `scripts/fetch_register_adries.py`.

## Provenance

- Addresses: <https://rageo.minv.sk/opendata/dataset/address_by_lau2_SK0108508217.geojson>: GeoJSON, CRS `urn:ogc:def:crs:OGC:1.3:CRS84` (WGS84 lon/lat, no reprojection), 6494 features, fetched 2026-10-30. NKOD dataset *Adresy v obci Senec*, updated daily.
- Building attributes: <https://rageo.minv.sk/opendata/dataset/building_by_lau2_SK0108508217.geojson>: 6186 buildings, no geometry, fetched 2026-10-30. Joined on `propertyregistrationnumber` (súpisné číslo), which is unique across the building file; 6494/6494 addresses matched.
- Licence: published on data.slovensko.sk (NKOD) as open data by MV SR; attribute *Register adries, MV SR*.
- The 10 Oct 2026 sources audit (`research/sources-audit-2026-10-10.md`, §3) counted ~6,485 features; the file fetched 2026-10-30 has 6494. The register changes daily, so expect drift.

### NKOD datasets for Senec

Query: SPARQL `https://data.slovensko.sk/api/sparql`, datasets whose title contains "senec" (run 2026-10-30; raw response cached as `raw/register-adries/nkod-senec-datasets.json`).

| dataset (NKOD record) | download | publisher | modified | frequency |
|---|---|---|---|---|
| [Adresy v obci Senec](https://data.gov.sk/set/2de63b3695f6f80998d2aaced8ffd1b2) | https://rageo.minv.sk/opendata/dataset/address_by_lau2_SK0108508217.geojson | Ministerstvo vnútra SR | 2026-10-29 | DAILY |
| [Adresy v okrese Senec](https://data.gov.sk/set/4839d849b489b751fff5cb0e0dbf86ac) | https://rageo.minv.sk/opendata/dataset/address_by_lau1_SK0108.geojson | Ministerstvo vnútra SR | 2026-10-29 | DAILY |
| [Budovy v obci Senec](https://data.gov.sk/set/0152f5cdcdc9dcb130f7ad473cfafcef) | https://rageo.minv.sk/opendata/dataset/building_by_lau2_SK0108508217.geojson | Ministerstvo vnútra SR | 2026-10-29 | DAILY |
| [Ulice v obci Senec](https://data.gov.sk/set/d9874f28654df99f54a1eb69e68f1615) | https://rageo.minv.sk/opendata/dataset/street_by_lau2_SK0108508217.geojson | Ministerstvo vnútra SR | 2026-10-29 | DAILY |
| [Ulice v okrese Senec](https://data.gov.sk/set/baed22075a24aaa34447107c68fb3933) | https://rageo.minv.sk/opendata/dataset/street_by_lau1_SK0108.geojson | Ministerstvo vnútra SR | 2026-10-29 | DAILY |

Only the two `lau2` files are used here. The `lau1` files cover the whole okres Senec; the street file has no geometry (its `geometry_text` is a WKT placeholder).

## Fields

| field | meaning |
|---|---|
| `identifier` | Address-point id in Register adries (stable; use as the slug). |
| `uri_identifier` | Linked-data URI of the address point (`data.gov.sk/id/physical-address/…`). |
| `objectid` | Row id in the publisher's database, as given. |
| `fulladdress` | `street,súpisné/orientačné,town,PSČ` as given. |
| `streetname` | Street name as registered (abbreviations kept, e.g. `Mierové nám.`). Null for addresses with no street. |
| `street_id` | Register adries street id. Null when no street. |
| `propertyregistrationnumber` | Súpisné číslo (building number, unique in the town; shared by all entrances of a building). |
| `orientationnumber` | Orientačné číslo (house number on the street, may carry a letter, e.g. `2A`). Null when no street. |
| `postalcode` | PSČ. |
| `district_name`, `district_id` | Časť obce (part of town): `Senec` or `Svätý Martin`. |
| `validfrom` | Date the address point became valid, as given (`1000-01-01` is the register's placeholder for unknown). |
| `lat`, `lon` | WGS84 coordinates of the address point, as given. Null for addresses without geometry. |
| `building_identifier` | Building id from the building file (joined on súpisné číslo). |
| `buildingpurposecode` | `residentialBuilding` / `nonResidentialBuilding` (building file). |
| `buildingtypecode`, `buildingtypecodename` | Building type code and Slovak name (e.g. `Rodinný dom`, `Bytový dom`, `Samostatne stojaca garáž`). |
| `source_url` | The address GeoJSON. |
| `building_source_url` | The building GeoJSON (null if no building matched). |
| `retrieved_at` | The day the register's file was downloaded for this build. |
| `last_update` | The day this record last changed in this dataset, kept from build to build while the address is the same (since 4 Nov 2026; until then the download's date on every record). |

## Method

- One record per GeoJSON feature; property values copied unchanged. Coordinates are taken from the GeoJSON geometry (identical to the `geometry_text` WKT, which is dropped).
- Dropped as constant across the file: `issuingcountry`='Slovenská republika', `lau2_name`='Senec', `lau2_id`='SK0108508217', `lau1_name`='Senec', `lau1_id`='SK0108', `nuts3_name`='Bratislavský', `nuts3_id`='SK010', `publisher`='Ministerstvo vnútra Slovenskej republiky', `ico`='00151866'. Dropped as redundant: `annotation` (= `súpisné/orientačné` on 6494/6494 rows), `geometry_text`.
- From the building file only the id, purpose code and type are kept. `buildingpurposename` is double-encoded in the source (`BytovĂˇ budova`) and is left out; `buildingpurposecode` carries the same information.
- Sorted by street (diacritics-insensitive), orientačné číslo, súpisné číslo.

## Caveats

- **1982 addresses (30.5 %) have no street**, only a súpisné číslo (`Senec 6530`). 111 of all addresses are in Svätý Martin, which has no street names. In Senec proper the street-less addresses are mostly non-residential: Samostatne stojaca garáž 704, Budova pre šport a na rekreačné účely 510, Iná budova 462, Budova technickej vybavenosti sídla 83, Priemyselná budova 42, Budova obchodu a služieb 23, type null 13, Rodinný dom 12, Budova zdravotníckeho a sociálneho zariadenia 6, Administratívna budova 5, Budova na vykonávanie náboženských aktivít, krematóriá a domy smútku 4, Budova pre kultúru a na verejnú zábavu 2, Budova pre školstvo, na vzdelávanie a výskum 2, Poľnohospodárska budova 2, Iná dopravná a telekomunikačná budova 1. 1465 of the 1982 carry the same `validfrom` (2021-02-09), i.e. one bulk registration.
- **42 addresses have no coordinates** (`lat`/`lon` null; 7 of them have a street, so they are still assigned to an okrsok). `validfrom` years: 2017 14, 2021 1, 2025 12, 2026 15.
- `validfrom` = `1000-01-01` on 672 rows (register placeholder, kept as given).
- PSČ other than 90301: Borievková,5977/9,Senec,90043.
- An address point is an entrance, not a dwelling: a block of flats with several entrances has several points sharing one súpisné číslo; a family house has one. Do not read point counts as households.
- There is no building id in the address file itself; `building_identifier` comes from the join.

## Rebuild

```bash
python scripts/fetch_register_adries.py --refresh   # from the repo root; needs httpx
```

Raw files go to `data/atlas/raw/register-adries/` (not committed).

## 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.
