# Štetje prometa na državnih cestah 2025 (DRSI)

Traffic counting on Slovenian state roads in 2025, by the Direkcija Republike Slovenije za infrastrukturo (DRSI). `stevna_mesta`: the 1,025 counting sites (automatic counters, occasional counts, bicycle counters) as points in D96/TM, with road, section, stationing and counter type. `pldp`: one row per traffic section of the state road network with its annual average daily traffic (PLDP) in total and by vehicle class, and the daily number of equivalent standard axle loads; rows with a counting site link to `stevna_mesta` by `stevno_mesto`. Rows with `tip_stetja` P are traffic DRSI assumed or estimated.

| | |
|---|---|
| Collection | `drsi_stetje_prometa` |
| Release | `stm2025.csv 2026-10-13T10:53:00Z "1791888780.16-58022"; pldp2025noo.csv 2026-12-01T08:33:40Z "1796114020.43-129049"`, data as of 2026-12-01 |
| Producer | [Direkcija Republike Slovenije za infrastrukturo](https://www.gov.si/drzavni-organi/organi-v-sestavi/direkcija-za-infrastrukturo/) |
| License | CC-BY-4.0 |
| Attribution | Direkcija Republike Slovenije za infrastrukturo, Štetje prometa na državnih cestah 2025 (DRSI), 2026-12-01 |
| Source | [OPSI: Števna mesta na državnih cestah](https://podatki.gov.si/dataset/pldp-stevna-mesta), [OPSI: Prometne obremenitve od leta 1997 dalje](https://podatki.gov.si/dataset/pldp-karte-prometnih-obremenitev) |
| Host | OSGeo Slovenija, klemen@lovenjak.si |
| Updated | 2026-12-05T10:39:13Z |

## License and attribution

The data is licensed CC-BY-4.0 by Direkcija Republike Slovenije za infrastrukturo. Credit the producer wherever the data or anything made from it is published, with this line:

```
Direkcija Republike Slovenije za infrastrukturo, Štetje prometa na državnih cestah 2025 (DRSI), 2026-12-01
```

## Provenance

This collection is a mirror: Direkcija Republike Slovenije za infrastrukturo publishes the data at [OPSI: Števna mesta na državnih cestah](https://podatki.gov.si/dataset/pldp-stevna-mesta), [OPSI: Prometne obremenitve od leta 1997 dalje](https://podatki.gov.si/dataset/pldp-karte-prometnih-obremenitev). This is release `stm2025.csv 2026-10-13T10:53:00Z "1791888780.16-58022"; pldp2025noo.csv 2026-12-01T08:33:40Z "1796114020.43-129049"` (data as of 2026-12-01). The osgeo-si ETL downloaded it, converted every layer from CSV to GeoParquet 2.0 (tables without geometry to plain Parquet) as described under Conversion, and published it only after the catalog passed rashid 0.5.1 (Portolan v0.3.0). There is no release history: the catalog always points to the latest release. Data file names carry a hash of their bytes, so a changed file gets a new name and a file is never replaced while someone reads it; follow the links in `collection.json` instead of keeping a file name. A file the catalog no longer points to is removed after a day. A file's `created` (First published under Files) is when those bytes were first published; `updated` (2026-12-05T10:39:13Z) is the last time the ETL checked the source, also when nothing had changed.

## Conversion

- Columns: only those listed under Columns, in that order (the spec's order, which can differ from the source file's). Column names are the source names in lower case, except `dnevni_noo` (`Dnevni NOO`), `e` (`Koordinata E`), `ime_stevnega_mesta` (`Ime števnega mesta`), `kategorija_ceste` (`Kat. ceste`), `lahka_tovorna` (`Lah. tov.  < 3,5t`), `leto_stetja` (`Leto roč. (avt.) štetja`), `n` (`Koordinata N`), `osebna_vozila` (`Osebna vozila`), `prometni_odsek` (`Prometni odsek`), `srednja_tovorna` (`Sr. tov.  3,5-7t`), `stacionaza_konca` (`Stac. konca`), `stacionaza_zacetka` (`Stac. začetka`), `steje_se_ena_smer` (`Šteje se ena smer`), `stevilka_ceste` (`Štev. ceste`), `stevilka_ceste` (`Številka ceste`), `stevilka_odseka` (`Štev. odseka`), `stevilka_odseka` (`Številka odseka`), `stevna_tocka` (`Števna točka`), `stevno_mesto` (`Števno mesto`), `tezka_tovorna` (`Tež. tov. nad 7t`), `tip_izracuna` (`Tip`), `tip_stetja` (`Tip   štetja`), `tip_stetja` (`Tip štetja`), `tovorna_s_prikolico` (`Tov. s prik.`), `vlacilci` (`Vlačilci`) and `vsa_vozila` (`Vsa vozila (PLDP)`).
- `geom` of `stevna_mesta` is not in the source: a point (EPSG:3794) built from `e` and `n`, which are written as numbers (`float64`); a row with either one empty has a null geometry.
- In `stevna_mesta`, integers in the source carry `.` between groups of three digits (`26.156`); they are written as plain integers (26156).
- In `stevna_mesta`, the table ends at the first row with an empty `Števno mesto`: that row and everything below it in the source file (notes, legends) are left out.
- In `pldp`, integers in the source carry `.` between groups of three digits (`26.156`); they are written as plain integers (26156).
- In `pldp`, the table ends at the first row with an empty `Štev. ceste`: that row and everything below it in the source file (notes, legends) are left out.
- Rows of a table with geometry are sorted along a Hilbert curve of their bounding-box centres (null geometries last), so their order is not the source's. Tables without geometry keep the source order.
- `hilbert` (after the geometry column) is not in the source and not part of GeoParquet: the Hilbert key the rows are sorted on, for page-level spatial pruning. A reader that knows it compares the page minimum and maximum in the Parquet column index with the keys of an area; others can ignore it. Data pages hold at most 1,000 rows.
- Values are otherwise as in the source. Nulls: in a CSV, an empty field is null.
- Geometries have the type listed under Columns: a single part is written as a multi geometry of one part (a one-part multi as a single part where the type is single). A null shape is a null geometry.

## Files

| Layer | Rows | Geometry | Size | File | First published |
|---|---:|---|---:|---|---|
| `stevna_mesta` | 1,025 | Point, EPSG:3794 | 40.1 kB | [`stevna_mesta/stevna_mesta.c8bb5fa74d0060d7.parquet`](stevna_mesta/stevna_mesta.c8bb5fa74d0060d7.parquet) | 2026-12-05T10:39:13Z |
| `pldp` | 1,226 | none (table) | 51.8 kB | [`pldp/pldp.64cb3b9f53f76c91.parquet`](pldp/pldp.64cb3b9f53f76c91.parquet) | 2026-12-05T10:39:13Z |

## Columns

### `stevna_mesta`

| Column | Type | Source column | Description |
|---|---|---|---|
| `geom` | geometry(Point, EPSG:3794) | built from `e`, `n` |  |
| `hilbert` | int64 | none (see Conversion) | Hilbert sort key (see Conversion). |
| `stevno_mesto` | int32 | `Števno mesto` | Counting site id (Oznaka števnega mesta), the key of `pldp.stevno_mesto`. |
| `stevilka_ceste` | utf8 | `Številka ceste` | Road number (A1, H4, 208, ...); bicycle counters give roads such as D6/D1. |
| `stevilka_odseka` | utf8 | `Številka odseka` | Road section number, as text: leading zeros (0231), some with an N (N1431). |
| `stevna_tocka` | int32 | `Števna točka` | Stationing of the site along its road section (Stacionaža števnega mesta). |
| `ime_stevnega_mesta` | utf8 | `Ime števnega mesta` | Site name. |
| `tip_stetja` | utf8 | `Tip štetja` | Counter type: QLTC8 and QLTC10 tell 10 vehicle classes, QLTC44 counts all vehicles, MWTC1 occasional counts, CIMATIC D2 bicycle counters, Prazno an empty site. |
| `steje_se_ena_smer` | utf8 | `Šteje se ena smer` | For a counter of one direction, the direction counted (Smer 1, Smer 2). |
| `leto_stetja` | utf8 | `Leto roč. (avt.) štetja` | Year and days of the last occasional count with an automatic counter (2024_14); empty or a single space in the source where there is none. |
| `e` | float64 | `Koordinata E` | Easting, D96/TM (EPSG:3794). |
| `n` | float64 | `Koordinata N` | Northing, D96/TM (EPSG:3794). |

### `pldp`

| Column | Type | Source column | Description |
|---|---|---|---|
| `kategorija_ceste` | utf8 | `Kat. ceste` | Road category: AC, HC, G1, G2, R1, R2, R3, RT; with -NK (G1-NK, ...) a section in traffic but not yet categorised (wiki/sources/gurs.md, Roads). |
| `stevilka_ceste` | utf8 | `Štev. ceste` | Road number. |
| `stevilka_odseka` | utf8 | `Štev. odseka` | Road section number, as in `stevna_mesta`. |
| `prometni_odsek` | utf8 | `Prometni odsek` | The traffic section, from - to. |
| `stacionaza_zacetka` | int32 | `Stac. začetka` | Stationing of the start of the traffic section. |
| `stacionaza_konca` | int32 | `Stac. konca` | Stationing of the end of the traffic section. |
| `stevno_mesto` | int32 | `Števno mesto` | Counting site id (`stevna_mesta.stevno_mesto`); empty where the volume is not counted. |
| `ime_stevnega_mesta` | utf8 | `Ime števnega mesta` | Site name. |
| `tip_stetja` | utf8 | `Tip   štetja` | Counter type as in `stevna_mesta`; P: traffic assumed or estimated, ROČNO: manual count. |
| `vsa_vozila` | int32 | `Vsa vozila (PLDP)` | PLDP: annual average daily traffic of all motor vehicles. |
| `motorji` | int32 | `Motorji` | Motorcycles (MO). |
| `osebna_vozila` | int32 | `Osebna vozila` | Cars (OA). |
| `avtobusi` | int32 | `Avtobusi` | Buses (BUS). |
| `lahka_tovorna` | int32 | `Lah. tov.  < 3,5t` | Light goods vehicles up to 3.5 t (LT). |
| `srednja_tovorna` | int32 | `Sr. tov.  3,5-7t` | Medium goods vehicles 3.5 to 7 t (ST). |
| `tezka_tovorna` | int32 | `Tež. tov. nad 7t` | Heavy goods vehicles over 7 t (TT). |
| `tovorna_s_prikolico` | int32 | `Tov. s prik.` | Goods vehicles with a trailer (TP). |
| `vlacilci` | int32 | `Vlačilci` | Tractor units (TPP). |
| `dnevni_noo` | int32 | `Dnevni NOO` | Average daily number of equivalent standard axle loads (povprečni dnevni nivo). |
| `tip_izracuna` | utf8 | `Tip` | How `dnevni_noo` was computed: WIM from weigh-in-motion on the section, DIST from the WIM distribution of neighbouring sections, PLDP from counts and equivalence factors (TSC 06.511:2009). |

## Quick start

With DuckDB and its spatial extension, from this directory:

```sql
INSTALL spatial; LOAD spatial;
SELECT * FROM 'stevna_mesta/stevna_mesta.c8bb5fa74d0060d7.parquet' LIMIT 10;
```

Coordinates are in EPSG:3794 (Slovenia 1996 / Slovene National Grid), in metres; the extent in `collection.json` is WGS84. The geometry is Parquet's native `GEOMETRY` type (GeoParquet 2.0): readers that only know GeoParquet 1.x cannot read it.

## Limitations

- This is a copy. For anything with legal weight use Direkcija Republike Slovenije za infrastrukturo's own data and terms.
- The data is as Direkcija Republike Slovenije za infrastrukturo released it, including its known quirks.
- No public URL yet: links are relative to this catalog.
