St. Maarten/Roof type import
Goal
The goal is to import roof types (ie. Key:roof:shape tag) and roof materials (ie. Key:roof:material) of existing buildings affected by Hurricane Irma in St. Maarten.
Status | Notes | |
---|---|---|
Step 1 - Prerequisites | [Complete] | Prerequisites reviewed. |
Step 2 - Community Buy-in | [Complete] | OSM mailing list request. |
Step 3 - License Approval | [Complete] | Data is licenced as public domain. |
Step 4 - Documentation | [Complete] | This Wiki Page and https://github.com/rodekruis/osm_rooftypes_sxm |
Step 5 - Import Review | [Complete] | Feedback OSM mailing list incorporated |
Step 6 - Uploading | [Complete] | Uploaded 12/06/2018 in chunks of 100 objects (134 server requests) |
Context
This dataset was collected by 510; the humanitarian data initiative of the Netherlands Red Cross by using the latest aerial photography provided by IGN Photography date: February 2017. Actual mapping was conducted on the basis of a orthophotomosaic..
This manual mapping was done as part of the Netherlands Red Cross response to the hurricane Irma.
Schedule
The import will be launched in 06-2018
The dedicated OSM username used for this upload is: StMaarten_Roofimports
Import Data
Background
Data source site: https://github.com/rodekruis/osm_rooftypes_sxm
Data license: http://www.opendatacommons.org/licenses/odbl/summary/%20
Type of license: ODbL.
OSM Data Files
https://github.com/rodekruis/osm_rooftypes_sxm
File | Description |
---|---|
buildings_sxm_input.osm | The xml data obtained from Overpass API |
buildings_sxm_output.osm | The xml file with the corresponding tags added to the buildings after running the python scripts |
roof_types_sxm.csv | CSV file containing the roof:type and roof:shape tags |
roof_types_sxm_clean.csv | CSV file after cleaning using csv_cleanup.py |
csv_cleanup.py | This script removes all unusable data and converts the usable data into the values used in OSM |
add_rooftypes.py | This script adds the rooftypes and roofshapes to roof_types_sxm_clean.csv |
overpass_turbo_query.txt | This is the query used to obtain buildings_sxm_input.osm from Overpass API |
Import Type
The import is designed to be launched one-time (although it can be relaunched many times)
The upload will be done in chunks of 100 (134 server requests)
Data Preparation
Data Reduction & Simplification
Tagging Plans
On each created changeset there are 2 tags :
- source: 510/IGN
- comment: Automatic import of roof shape and roof material in St. Maarten.
Changeset Tags
One changeset will be created for the total import.
Data Transformation
The only data transformations are to add a new roof:shape tag and a roof:material tag to the buildings. When a corresponding tag already exists, the addition will be skipped.
Data Merge Workflow
Workflow