From OpenStreetMap Wiki
Jump to navigation Jump to search
RapiD screenshot.png
Authors: iD developers, Facebook inc.
License: ISC
Platform: Web
Status: Active
Version: 1.0.12 (2020-09-11)
Language: multiple languages
Website: https://mapwith.ai/rapid
Source code: Blacktocat.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 only supported in countries where Microsoft released their building footprints[1]. Currently, this is only USA[2], Canada,[3] Tanzania&Uganda, [4] and Australia[5].

Buildings footprints are not available (as of November 2020) in other countries.

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 GIS integration 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 more accurate building outlines or housenumbers can be added using mapwithAI.

JOSM Plugin

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


Further reading