Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy object ID for a selected object into the clipboard #2640

Open
H--W opened this issue Aug 2, 2024 · 0 comments
Open

Copy object ID for a selected object into the clipboard #2640

H--W opened this issue Aug 2, 2024 · 0 comments

Comments

@H--W
Copy link

H--W commented Aug 2, 2024

On command copy the object ID of a selected object into the clipboard.

The object ID clipboard format should have the form:

node:<number>
way:<number>
relation:<number>

Where <number> is a string of decimal digits that is the object ID of the selected object.

Whitespace and punctuation should be ignored.

Whenever a single object: node, way or relation is selected or has its properties being edited, it should be possible to copy its object ID into the clipboard. The ID copy command could be added to the three dot menu, or the info popup menu, and/or the three dot menu of the "Properties Tab" of the property editor or any other appropriate location.

It would be especially useful to be able to be able to copy the object ID for a selected relation or relation member into the clipboard from the "Members Tab" and "Relations Tab" of the Property Editor for a selected object.

Note: The "Search for objects" function should be extended to be able to download and search for an object using the ID copied to the clipboard without additional editing. Using search and the clipboard would provide an easy to use workaround to select, locate and edit relation members listed on the "Members Tab" of the "Property editor" without the need to provide a recursive edit function. This is a badly needed capability.

Workaround: Currently I have to write the ID number on a piece of paper then type it into the "Search for object" function.

Being able to copy an object ID into the clipboard would provide an essential part of a generic and (eventually) widely used mechanism to locate, view or edit that object in other OSM applications. (Although this might require additional workarounds until this feature becomes widely supported.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant