Slovenia Address Import

From OpenStreetMap Wiki
Jump to: navigation, search


Government publishes address data which would improve the OpenStreetMap data in Slovenia.

Ideally the address changes would also be imported regularly (not a one-time import).


GURS publishes the address points as ShapeFile under CC-BY 2.5 SI license at (English:

Data structure is described in:

Download by:

  1. Navigating to section "9. Register of spatial units", then
  2. Selecting either "Spatial units" (Prostorske enote) or "Streets" (Ulice) or "House numbers" (Hišne številke) radio button, then
  3. Clicking the button "Download" (Prevzem podatkov)

Source data is in "Slovenia D48" national grid and must be reprojected to WGS84 for use with OpenStreetMap.

Encoding in shapefiles is Windows-1250 and should be converted to UTF-8 for use with OpenStreetMap.

Alternatively it can be downloaded from OpenAddresses source:, where it is already processed for OpenAddresses and served as CSV.

Example rows:

15.169655972061838;46.263715322463341;35Č;Ložnica pri Žalcu;Ložnica pri Žalcu;Žalec;Savinjska;3310;15683449
14.57639278370271;46.165850720478034;19;Slamnikarska ulica;Mengeš;Mengeš;Osrednjeslovenska;1234;11493645
13.607346733337508;45.511001309631837;30A;Ulica Božidarja Jakca / Via Božidar Jakac;Lucija / Lucia;Piran;Obalno-kraška;6320;14039660
16.433489695626083;46.553235835670421;77;Glavna ulica / Fő utca;Dolnji Lakoš / Alsólakos;Lendava;Pomurska;9220;12592361

but this source has no separate columns for alternative names (yet, but can be added if needed).


CC-BY 2.5 SI -

Terms details:

Generally CC-BY data would need additional waiver signed ( defining how the attribution should be performed, but GURS has it already in theit terms:

The data user shall indicate the data source in every publication of data or products. Such indications shall include the following data: "Surveying and Mapping Authority of the Republic of Slovenia, the type of data and the time to which the data refer and/or the date of the database."

which is stated on and details on


  • addr=* tags :
    • addr:housenumber=*, eg "5" or "12A" or "35Č", source column LABELA Question: Should the addendum be lowercased as it is usually on house number plates?
    • addr:street=*- street name from UL.UL_UIME , joined via UL_MID source column + " / " (separator) + name in alternative bilingual language (Italian / Hungarian) from (UL.UL_DJ column) (eg: "Otlica" or "Glavna ulica / Fő utca" or "Ulica Božidarja Jakca / Via Božidar Jakac")
      • addr:street:sl=* - street name from UL.UL_UIME , joined via UL_MID source column (eg: "Otlica" or "Glavna ulica" or "Ulica Božidarja Jakca")
      • addr:street:hu=* OR addr:street:it=* - street name from UL.UL_DJ , joined via UL_MID source column (eg "Fő utca" or "Via Božidar Jakac")
    • addr:postcode=* numerical, 4-digit post code (eg 1000, 1234, 2000...)
    • addr:place=* applicable in places (villages, hamlets) with no street system, instead of addr:street=* ???
    • ...
  • Source / attribution tags:
  • Intentionally skipped tags:
    • addr:country=SI Not required if administrative borders are complete
    • addr:city=* Not required if administrative borders are complete



Data preparation stage (description, links to github, prepared data...)

Import stage (instructions for the importers)

Mandatory: dedicated user accounts with current_username + "_import" postfix, eg "username_import" (easy email alias eg: ime@gmail -> ime+osmimport@gmail)


See also