Import/Catalogue/DAE Emilia-Romagna

From OpenStreetMap Wiki
Jump to navigation Jump to search

a pen and a ruler laying across each other

This page is a work in progress! The content is likely incomplete, inaccurate or empty.

Import DAE Emilia-Romagna is an import of the Registro Regionale Unico dei Defibrillatori ("Single Regional Defibrillator Registry") dataset of the Italian region Emilia-Romagna. "DAE" is the italian translation of AED and is used as synonym of Defibrillator. The import is currently (as of 2025-12-16) at the planning stage.

Goals

This dataset is the official list of defibrillators gathered by the regional emergency response authority (118 Emilia-Romagna). It official visualization is available on https://www.118er.it/dae/dae .

As of 2025-12-16 this dataset contains 5'834 nodes, while OSM contains only 675 of them in the same region:

try it yourself in overpass-turbo
try it yourself in overpass-turbo
[out:xml][timeout:25];
{{geocodeArea:Emilia-Romagna}}->.searchArea;
node["emergency"="defibrillator"](area.searchArea);
(._;>;); out meta;

It appears that almost 200 of the elements on OSM were manually imported from this dataset in 2020 (a questionable legal choice given that the dataset is in CC-BY-4.0 and the waiver has been requested and received only now):

try it yourself in overpass-turbo
try it yourself in overpass-turbo
[out:xml][timeout:25];
{{geocodeArea:Emilia-Romagna}}->.searchArea;
node["emergency"="defibrillator"]["website"="https://www.118er.it/dae/dae.asp"](area.searchArea);
(._;>;); out meta;

This import was born in the context of december 2025 italian project of the month and aims to raise the completeness level of defibrillator mapping in the Emilia-Romagna region on OSM by integrating the official data.

Schedule

  • 2025-12-07: Waiver request sent
  • 2025-12-12: Positive informal response received for import in OSM, with promise to send signed waiver ASAP
  • 2025-12-16: This page is created
  • 2025-12-23: QA uMap shared in the Emilia-Romagna's OSM community channels
  • =====> WAITING FOR THE WAIVER <=====

Import Data

Background

Data source site: https://opendata.comune.bologna.it/explore/dataset/progetto-dae/information/
Data license: https://creativecommons.org/licenses/by/4.0/
Type of license: CC-BY-4.0
Link to permission (required): =====> WAITING FOR THE WAIVER <=====
OSM attribution (required): "Contains data from Comune di Bologna - Ufficio Dati e Open Data released under CC-BY-4.0 license with an additional explicit permission." to be added in Contributors#Emilia-Romagna
ODbL Compliance verified: yes

OSM Data Files

See #Data_Transformation_Results

Import Type

This is a one-time import. The data updates regularly so in the future we could think at a recurring import, but for now only a one-time import will be done. Transformation and conflation will be done using manual scripts, upload will be done manually with JOSM.

Data Preparation

Data Reduction & Simplification

Most of the 5'834 features in this dataset have a very good precision, however there are exceptions, with some feature being very far from the expected place. To remove these errors in the data transformation phase described below the following features were discarded:

  • features whose location says that the defibrillator is aboard a vehicle
  • features for which neither the operator nor the address could not be geocoded with Nominatim
  • features whose coordinates are too far from the coordinates geocoded from its address (the distance threshold above which the feature is discarded has been fine-tuned to 0.003 degrees)
  • duplicate features with the same geometry
  • features whose name is part of a blacklist to be used for opt-out after feedback by other mappers

Existing defibrillators in Emilia-Romagna can be found with the query above. They will be merged in the conflation phase described below.

Tagging Plans

Source key OSM key
emergency=defibrillator
indirizzo addr:street=*, addr:housenumber=*
citta addr:city=*
quartiere addr:suburb=*
nome operator=* or defibrillator:location=* depending on the content
ubicazione defibrillator:location=*
note note=*
ubicazione & note indoor=*
orari & note opening_hours=*
telefono contact:phone=*
zona_di_prossimita ignored
area_statistica ignored

Changeset Tags

Key Value
comment Import defibrillators from Emilia-Romagna regional registry
import yes
source Registro Regionale Unico dei Defibrillatori
source:url https://opendata.comune.bologna.it/explore/dataset/progetto-dae/information/
source:date =====> TODO <=====
import:page https://wiki.openstreetmap.org/wiki/Import/Catalogue/DAE_Emilia-Romagna
source:license CC-BY-4.0

Data Transformation

ogr2osm will be used to filter and translate the original dataset into a ready-to-import OSM XML dataset. In order to filter the items to discard items with wrong coordinates, a local instance of Nominatim will be used.

  1. Download the dataset (progetto-dae.geojson) from this URL
  2. Start the Nominatim server with docker run -it -e PBF_URL=https://osmit-estratti.wmcloud.org/output/pbf/regioni/08_Emilia-Romagna.osm.pbf -p 8080:8080 --name nominatim mediagis/nominatim:5.2
  3. Run the ogr2osm translation with ogr2osm -t translation.py -f progetto-dae.geojson using Import/Catalogue/DAE Emilia-Romagna/translation.py

Data Transformation Results

Data Merge Workflow

Team Approach

The import has been coordinated by Danysan95/User:Danysan and data will be uploaded with the account Danysan95_Import.

Workflow

Planned workflow (per municipality):

  1. Download, filter and convert the data to OSM XML as described above.
  2. Download the current OSM data in JOSM using the query above.
  3. Use the JOSM Conflation plugin to match defibrillators from the dataset and OSM.
  4. Manually review each match and decide whether to:
    • update tags and/or position of the existing OSM defibrillator,
    • add a new defibrillator,
    • or ignore/remove duplicates or incorrect ones.
  5. Upload changes with one changeset
  6. If any issue is detected after upload, use standard revert tools.

Conflation

Existing defibrillators on OSM and features from the dataset will be conflated manually using the JOSM Conflation plugin:

  • Match defibrillators from the dataset and OSM based mainly on spatial proximity.
  • Review each match manually to avoid errors.
  • Preserve existing manually surveyed data where it is clearly correct and preserve history.
  • Add new defibrillators only where there is no existing equivalent element.

QA

The uMap cited above showing defibrillators from OSM (in green), valid features to be imported (in blue) and features to be discarded (in red) has been shared with the community of Emilia-Romagna on 2025-12-23 asking for feedback on the features planned to be imported.

Discussion

=====> WAITING FOR THE WAIVER <=====