Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The easy-to-use OpenStreetMap editor in JavaScript.
JavaScript CSS HTML Makefile

don't try to label if centroid is undefined

updates fix from 09642b1 to updated d3 path.centroid return value structure (see mbostock/d3@492215a#diff-fa5fbee10216651a004363cf56fb3602L43)

fixes #2757
refs #1180
latest commit 6707063a53
@tyrasd tyrasd authored
Failed to load latest commit information.
css Replace 'X' with Cancel button on save panel (closes #2378)
data Add recycling:glass_bottles, recycling:plastic (closes #2730)
dist Add recycling:glass_bottles, recycling:plastic (closes #2730)
docs Updated screenshot of editing modes buttons.
js don't try to label if centroid is undefined
svg cleanup mapillary UI
test Add styling for ephemeral tags (closes #2740)
.eslintignore switch jshint to eslint (closes #2733)
.eslintrc switch jshint to eslint (closes #2733)
.gitignore Write presets and imagery to standalone files
.travis.yml Better Travis configuration 1.7.0 Updated the documentation wrt the 3 modes toolbar element. 1.7.3 Remove unnecessary PhantomJS install step Can I use iD with my own OSM server?
LICENSE Adjust license copyright (fixes #1398)
Makefile Add make rule to npm install maki Make note of userLanguage switch jshint to eslint (closes #2733) A few more details about updating openstreetmap-website
build.js Add actual tag values as comments for Transifex in presets.yaml
index.html Refactor validations
land.html Create a dist directory
package.json switch jshint to eslint (closes #2733)

iD - friendly JavaScript editor for OpenStreetMap

Build Status


  • iD is a JavaScript OpenStreetMap editor.
  • It's intentionally simple. It lets you do the most basic tasks while not breaking other people's data.
  • It supports modern browsers. Data is rendered with d3.


translation chart


To run the current development version, fork this project, run make, and serve it locally. If you have Python handy, just cd into the project root directory and run

 python -m SimpleHTTPServer

Or, with a Mac, you can enable Web Sharing and clone iD into your website directory.

Come on in, the water's lovely. More help? Ping tmcw, jfire, or bhousel on IRC (, in #osm-dev or #osm) or on the OSM mailing lists.

For guidance on building a packaged version, running tests, and contributing to development, see


iD is available under the WTFPL, though obviously, if you want to dual-license any contributions that's cool. It includes d3js, which BSD-licensed.

Thank you

Initial development of iD was made possible by a grant of the Knight Foundation.

Something went wrong with that request. Please try again.