Croatian Railways Station Codes
Hello, I am proposing to add ref:HZ identifier codes to Croatian railway location nodes in OpenStreetMap, sourced from HŽ Infrastruktura via the Croatian government open data portal and the HŽ Network Statement 2026 (Izvjesce o mrezi, Annex 2.13).
The ref:HZ code is a unique station identifier from the EU Register of Infrastructure (RINF). Adding these codes bridges OSM with official railway operational data used for routing, delay tracking, and data exchange.
Documentation
Wiki page: Import/Croatian Railways Station Codes - OpenStreetMap Wiki
Source dataset (RINF): Registar infrastrukture - Skup podataka - CKAN
All prepared files and map preview: HŽ Railway Stations
License
Published under Croatia’s National Open Data License (Otvorena dozvola / OD) on data.gov.hr. Compatible with ODbL.
Abstract
Dataset: 591 railway locations across Croatia (457 passenger stops, 75 stations, 36 freight terminals, 17 border points, 7 junctions). Sources: RINF registry (primary, verified coordinates) and HŽ Network Statement 2026 Annex 2.13 (secondary, km-marker positions).
Changes to OSM:
- 499 existing OSM nodes: add ref:HZ tag, correct coordinates to RINF positions
- 83 new nodes: created at RINF-verified coordinates where no OSM node exists
- 9 new nodes: created from km-marker interpolation with OSM track geometry snap
Tags on all objects:
ref:HZ = 5-digit code
operator = HŽ Infrastruktura
operator:wikidata = Q6519835
network = HZ
railway = station|halt|yard|junction
name = official name
border = yes (border points only)
public_transport = station|stop_position
Method: stations matched to existing OSM railway nodes by name and proximity (4-pass matching: exact name, proximity within 200m, old osm_id fallback, proximity within 100m). For matched nodes, ref:HZ tag added and coordinates corrected. Unmatched stations created as new nodes. Upload via OSM API, single-node changesets.
Conflation: name and proximity-based. Where an OSM node matches, only tags and coordinates change. No duplicate nodes created.
Quality assurance: coordinates verified against RINF registry (2026-04-15). Interpolated stations snapped to OSM track geometry within 500m. Full dataset on interactive map with live OSM overlay for visual verification. Border points verified against OSM Croatia border geometry.
Import account: Digital39999
Script: hzpp-uploader (Python), source on wiki page
Changeset size: 1 node per changeset
Revert plan: individual changesets can be reverted