iD

The easy-to-use OpenStreetMap editor in JavaScript.

Github星跟踪图

iD - friendly JavaScript editor for OpenStreetMap

Build Status
Greenkeeper badge

:warning: The master branch is undergoing significant breaking changes for v3 over the next few months. 2.x is considerably more stable and is currently the recommended branch for downstream development.

Watch the video from our talk at State of the Map US 2019 to learn more about the current status of iD and our goals for v3.

Basics

  • 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 all popular modern desktop browsers: Chrome, Firefox, Safari,
    Opera, Edge, and IE11.
  • iD is not yet designed for mobile browsers, but this is something we hope to add!
  • Data is rendered with d3.js.

Participate!

Come on in, the water's lovely. More help? Ping bhousel or quincylvania on:

Prerequisites

  • Node.js version 10 or newer
  • git for your platform
    • Note for Windows users:
      • Edit $HOME\.gitconfig:
        Add these lines to avoid checking in files with CRLF newlines
        [core]
        autocrlf = input

Installation

Note: Windows users should run these steps in a shell started with "Run as administrator".
This is only necessary the first time so that the build process can create symbolic links.

To run the current development version of iD on your own computer:

Cloning the repository

The repository is reasonably large, and it's unlikely that you need the full history (~200 MB). If you are happy to wait for it all to download, run:

git clone https://github.com/openstreetmap/iD.git

To clone only the most recent version, instead use a 'shallow clone':

git clone --depth=1 https://github.com/openstreetmap/iD.git

If you want to add in the full history later on, perhaps to run git blame or git log, run git fetch --depth=1000000

Building iD

  1. cd into the newly cloned project folder
  2. Run npm install
  3. Run npm run all
  4. Run npm start
  5. Open http://localhost:8080/ in a web browser

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

License

iD is available under the ISC License.
See the LICENSE.md file for more details.

iD also bundles portions of the following open source software.

Thank you

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

主要指标

概览
名称与所有者openstreetmap/iD
主编程语言JavaScript
编程语言CSS (语言数: 5)
平台
许可证ISC License
所有者活动
创建于2012-07-11 13:20:04
推送于2025-07-14 11:24:24
最后一次提交
发布数161
最新版本名称v2.35.1 (发布于 2025-07-14 10:09:12)
第一版名称v0.0.0alpha0 (发布于 )
用户参与
星数3.6k
关注者数166
派生数1.3k
提交数16.3k
已启用问题?
问题数7588
打开的问题数1131
拉请求数2276
打开的拉请求数108
关闭的拉请求数981
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?