Croatia/Import DGU borders

From OpenStreetMap Wiki
Jump to navigation Jump to search

Importing DGU borders is an import of Državna geodetska uprava[1] administrative border dataset. The import is currently at the planning stage.

Goals

Import administrative borders of Sisak-Moslavina County to OSM.

Schedule

The import should go through in January 2021.

Import Data

Background

Link to permission: https://web.archive.org/web/20210108192018/https://potresinfo.gov.hr/drzavna-geodetska-uprava/120
OSM attribution (if required): https://wiki.openstreetmap.org/wiki/Contributors#State_geodetic_administration
ODbL Compliance verified: yes

Import Type

This is a semi-automated import that uses Ogr2osm and a script that converts polygons to relations, and adds tags [2] made by User:Stalker. That is a modified script from michigantownships twptranslation.py [3]. The whole command is: python3 ../ogr2osm/ogr2osm.py -t smz-translation.py -f --split-ways=1 -o smz.osm naselja.shp

Data Preparation

Tagging Plans

Tags that will be put on boundary relations:

name=* < NA_IME from the DGU geojson

ref:hr:maticni_broj=* < NA_MB from the DGU geojson

boundary=administrative

admin_level=8

type=boundary

source=DGU

source:date=2021-01-01

Tags that will be put on boundary ways:

boundary=administrative

admin_level=8

Changeset Tags

comment=Import DGU borders

source=Državna geodetska uprava Republike Hrvatske

Data Merge Workflow

Team Approach

The data is pretty straightforward, so Janko Mihelić will do the manual part of the import.

Dedicated user account

The user under which the import will be done is called Import DGU borders.

Workflow

The fore mentioned tools will make the .osm file to be imported. Importing will be done manually, way by way. During this, history of old borders will be preserved by copying them to some of the smaller borders.


See also

The email to the Imports mailing list was sent on 2021-01-26 and can be found in the archives of the mailing list at https://lists.openstreetmap.org/pipermail/talk-hr/2021-January/002822.html