Slovenia Address Import

From OpenStreetMap Wiki
Jump to: navigation, search

DRAFT!

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

Source

GURS publishes the address points as ShapeFile under CC-BY 2.5 SI license at http://egp.gu.gov.si/egp/ (English: http://egp.gu.gov.si/egp/?lang=en)

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: http://results.openaddresses.io/sources/si/countrywide, where it is already processed for OpenAddresses and served as CSV.

Example rows:

lon;lat;number;street;city;commune;region;postcode;id
13.917641089428125;45.926208653275097;64;Otlica;Otlica;Ajdovščina;Goriška;5270;11070205
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).

License

CC-BY 2.5 SI - https://creativecommons.org/licenses/by/2.5/si/legalcode

Terms details:

It seems that this CC-BY data will need additional waiver signed: https://blog.openstreetmap.org/2017/03/17/use-of-cc-by-data/

Tagging

  • 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
    • ...
  • Source / attribution tags:

Tools

Process

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)

People

See also