Montréal/Imports/Bornes d'incendie

From OpenStreetMap Wiki
Jump to navigation Jump to search

Montreal open data fire hydrants is an import of the City of Montreal's Bornes d'incendie dataset.

Goals

The goal is to import nodes for the above feature in cases where they are missing in the existing OSM data for the territory of the Urban agglomeration of Montreal. This amounts to 29 828 fire hydrants.

Import Data

Background

Data source sites: Bornes d'incendie
Data license: Licence d’utilisation des données ouvertes de la Ville de Montréal (note the section "Utilisation des données par OpenStreetMap").
Type of license: CC-BY-4.0.
Link to permission: Montréal/Imports/Ville de Montréal.
OSM attribution: Contributors (see "Montréal").
ODbL Compliance verified: yes.

Import Type

This is a one-time import that will be added to the OSM database via JOSM.

Data Preparation

Tagging Plans

All imported fire hydrants will bear the emergency=fire_hydrant tag and no other tags.

The date-related information in the dataset cannot be verified nor are they likely to be updated regularly once imported, so they will not be imported. Address-related information contained within the dataset may cause unnecessary conflicts in Nominatim, so this data will also not be included in the import. The type of fire hydrant is not specified in the import dataset, so the fire_hydrant:type=* tag will not be added.

Changeset Tags

Key Value
comment Import of fire hydrants from the City of Montreal's dataset, with additional steps to avoid duplicating existing OSM data.
import yes
source Ville de Montréal
source:url https://donnees.montreal.ca/dataset/geolocalisation-des-bornes-fontaines
source:date 2024
import:page https://wiki.openstreetmap.org/wiki/Montréal/Imports/Bornes_d'incendie
source:license CC-BY-4.0

Data Transformation

The data will not be transformed in any way, other than setting the emergency=fire_hydrant tag.

Data Merge Workflow

Workflow

Step by step instructions

  1. Import emergency=fire_hydrant for the relevant extent into QGIS using the QuickOSM plugin.
  2. Save as a file using the EPSG:32188 (MTM 8) to allow for accurate buffering.
  3. Buffer the above layer 14 meters.
  4. Delete the 6 features from the import dataset that are marked as “OUI” (yes) for the “ABANDONNE_R” (abandoned) field to avoid importing these abandoned features.
  5. Select all features from the import dataset that intersect with the buffered layer. Invert selection and export as a geojson using EPSG:4326 (WGS 84). Do not export any of the existing fields.
  6. Create a string field with a length of 0 with the name “emergency” and set all fields to “fire_hydrant”.
  7. Open in JOSM. Save as an OSM XML and then close the application. (This is to be safe).
  8. Open the newly-created OSM XML in JOSM. Validate and upload.

Changeset size policy

In JOSM, upload objects in chunks of size: 9000.

Revert plans

If ever something goes wrong, the JOSM/Plugins/Reverter plugin will be used.

Conflation

Existing OSM fire hydrants will be imported into QGIS via the QuickOSM plugin (emergency=fire_hydrant for the relevant extent). Any fire hydrants from the dataset that are within 14 meters of an existing OSM fire hydrant will not be imported.

QA

To ensure that it was not necessary to correct any offset with the data, the nodes were verified using Bing imagery (offset: 0.6, -1.54).

See also

A related post, about a more complex import from the same source, was sent to the community forum on 2024-01-29 and can be found here.