Giter VIP home page Giter VIP logo

gursaddressesforosm's Introduction

Prepare addresses of Slovenia for import into OpenStreetMap

See Slovenia Address Import project description in OpenStreetMap wiki. Do NOT import anything until the process is defined and approved by community!

golangci-lint Go Report Card codebeat badge Maintainability

Steps

  1. Register as user at https://egp.gu.gov.si/egp/, wait for the email with the password, login
  2. Run GNU make in this folder (requires wget and go (>1.10))
  3. When prompted enter your credentials (they can be saved for later reuse)
  4. Wait a minute or two for processing to finish.

To manually download the data you should

  1. Register as user at https://egp.gu.gov.si/egp/, wait for the email with the password, login
  2. Expand section "2. Register prostorskih enot" / "2. Register of Spatial Units"
  3. Download the data "Prostorske enote" / "Spatial units" -> RPE_PE.ZIP and put it in the data/downloaded folder
  4. Download the data "Ulice" / "Streets" -> RPE_PUL.ZIP and put it in the data/downloaded folder
  5. Download the data "Hišne številke" / "House numbers" -> RPE_PE.ZIP and put it in the data/downloaded folder

Technical info

Encoding in source shapefiles is Windows-1250 (CP1250 in iconv), result is UTF8

Source shapefile structure is described in RPE_struktura.docx (only in Slovenian so far)

Dataset source

Data can be obtained from Geodetska uprava Republike Slovenije - https://egp.gu.gov.si/egp/ under CreativeCommons attribution license - CC-BY 4.0, attribution details in General_terms.pdf (or slovene preberi_me.pdf).

Dependancies

  1. GNU Make, bash, wget... (normal linux stuff)
  2. GoLang 1.10 or later (program is optimized as a Go learning exercise)

Similar import projects

TODO

  • Split into smaller files by areas (municipalities/občine, cities/naselja)
  • add golang gometalinter golangci-lint DONE
  • use OSM conflator source code to prepare .osc files
  • create taginfo.json
  • add taginfo.json to taginfo-projects - PR#65 - DONE
  • Find & expand abbreviated names (eg "Moravci v Slov. goricah", "Pristava pri Polh. Gradcu"). Done, see overrides folder. (Q: Add a tag with original, shortened value, like short_name?)
  • Convert bilingual postcode names "Piran - Pirano" -> "Piran / Pirano", keeping "Šmarje - Sap", "Ljubljana - Šmartno"...

gursaddressesforosm's People

Contributors

davidkarlas avatar dependabot-preview[bot] avatar dependabot[bot] avatar stefanb avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

stefanb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.