This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Given a node/way OSM id, is there a website link to edit that object?

0

Hi,

The scenario is that some OSM objects are fetched via overpass. I'd like to provide a link to directly edit that object in case something is missing/wrong. The object's tag could be "amenity", "office", "shop" etc. iD editor doesn't seem support this feature.

Thanks!

asked 25 Apr '21, 13:18

strongwillow's gravatar image

strongwillow
657813
accept rate: 0%

edited 25 Apr '21, 15:14


2 Answers:

2

I don't know where or if the feature is documented but OSM Inspector appears to successfully link to specific elements within iD. Once an element is selected in the map pane the link appears as an icon (iD edit icon) on the right sidebar.

If your goal is to create a standalone, feature specific editor MapComplete might provide a suitable starting point.

answered 25 Apr '21, 15:32

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

Indeed there is a working link in OSM Inspector! Thanks

(25 Apr '21, 16:05) strongwillow

2

To edit that object, url is
https://www.openstreetmap.org/edit?editor=id&node=node id
https://www.openstreetmap.org/edit?editor=id&way=way id
https://www.openstreetmap.org/edit?editor=id&relation=relation id

Of course, this applies to whatever object. "amenity", "office", "shop" filter should be done upstream.

For edits that don't require visual feedback, I'd suggest Level0 editor.

answered 26 Apr '21, 11:26

Cascafico's gravatar image

Cascafico
283202329
accept rate: 0%

edited 26 Apr '21, 11:27

Source code available on GitHub .