osmeditor4android icon indicating copy to clipboard operation
osmeditor4android copied to clipboard

Copy object ID for a selected object into the clipboard

Open H--W opened this issue 6 months ago • 0 comments

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.)

H--W avatar Aug 02 '24 05:08 H--W