From OpenStreetMap Wiki
Jump to navigation Jump to search

exclamation mark

Adding buildings or roads or any other objects through RapiD without properly reviewing every single one is considered an import and therefore must follow the import guidelines.
RapiD screenshot.png
Authors: iD developers, Facebook inc.
License: ISC
Platform: Web
Status: Active
Version: 1.1.9 releases (2022-05-03)
Language: multiple languages
Website: https://mapwith.ai/rapid
Source code: Font Awesome 5 brands github.svg facebookincubator/RapiD
Programming language: JavaScript

Modification of iD to add AI-detected roads to OSM

RapiD is a modified version of the popular OSM editing tool, iD editor, developed by Facebook as a way to add and edit map features generated by AI predictions. RapiD was initially designed as a tool to add roads, and has subsequently been used to add buildings as well. RapiD includes validation checks (in addition to checks within iD) to detect potential errors.

How to edit with RapiD

RapiD suggests features, allowing the mapper to decide which features to add to the map. Suggested features are displayed with a magenta color to differentiate them from other map features. A mapper can select a suggested feature, then click “Use This Feature” to add it to the map. From there, it is like any other newly-digitized feature: the geometry and tags can be modified and then uploaded to OSM. Only features that are accepted by a mapper are uploaded to OSM.

For more RapiD editing guidance and tips, please refer to the RapiD Self Service Training Document.

Code contribution

RapiD is a fork of iD Editor. It has been open sourced. You can find its source code at the GitHub page.

AI-Generated Roads

RapiD incorporates road features generated through an artificial intelligence (AI) process. This process was developed by Facebook using a deep neural net model and Maxar imagery to predict road features. The roads are now available for most regions of the world. This page maintains the up-to-date list of countries with AI-generated roads available. Users can submit a request for road features to be generated in a new region or have data refreshed.

AI-generated roads are supported in most countries. It checks the up-to-date openstreetmap data, and only generates missing roads.

More information on Facebook’s AI-Assisted Road Tracing can be found on the project wiki.


Building footprints are supported in most countries (see https://github.com/microsoft/GlobalMLBuildingFootprints#faq for a complete list).

Beware, these building footprints most likely will not terrace buildings properly. Please check the mapwithai buildings before uploading them. This dataset has quality that requires reviewing every single building before potential use.

Esri ArcGIS

The Esri integration of ArcGIS with mapwithai/RapiD means that open datasets released by the governments of local areas can be added to the map using mapwithai/RapiD.

This means that users can now quickly use local authoritative information provided by governments to assist in the evaluating accuracy of the current OSM features, along with other assistive data such as reference imagery layers and other mapwithai datasets mentioned above. Then users can quickly add, edit or supplement features with building outlines or house numbers and other address information using RapiD.

Read more about the available ArcGIS datasets and Esri's process through its Community Maps program for selecting, evaluating and processing those datasets prior to making them available for assistive editing within RapiD.

JOSM Plugin

A JOSM plugin is also available. The mapwithai JOSM plugin has similar functionality to RapiD.


Further reading