# ulice-okolie: places within 500 m of each street

For each of the 148 streets of Senec, the places of the `mapa` dataset that lie within 500 m in a straight
line of at least one of the street's address points: 21219 street-place pairs. Of the 880 candidate places
(`mapa` without the polling stations and the events, which are time-bound, and without the bike racks), 871 lie within 500 m of at least
one street. It feeds „V okolí
do 500 m“ on the street pages, which list the places alphabetically by category and never by distance.

- Streets and their address points: Register adries (https://rageo.minv.sk/opendata/dataset/address_by_lau2_SK0108508217.geojson).
- Places: `data/mapa.json`; each place's own source is in that dataset.
- Built by `scripts/build_ulice_okolie.py`, after `build_mapa.py`.

Straight-line distance is not a walking route: a railway or a fence can make a place 500 m away a long walk.

## Fields

| Field | Type | Meaning |
| --- | --- | --- |
| `street_id`, `slug`, `name` | string | The street, as in `ulice`. |
| `address_points` | number | How many Register adries points the street has. |
| `places` | list | `record_id` and `category` of each place within 500 m (`mapa`), and `distance_m`, the straight-line distance to the nearest address point of the street, rounded to 10 m. |
| `source_url` | string | Register adries, the source of the address points. |
| `last_update` | date | The day this street's list of places last changed (since 2 Nov 2026; until then the newest date among the street and every place on the map). |

The CSV has one row per street and place.

## License

Published by Som Senec under the Open Database License 1.0 (ODbL 1.0): https://opendatacommons.org/licenses/odbl/1-0/. It contains data from OpenStreetMap, © OpenStreetMap contributors, which the ODbL requires to stay under the ODbL. Credit "© OpenStreetMap contributors" and "Som Senec, somsenec.sk", and publish an adapted version under the ODbL. The source documents that each record links to keep their own terms.
