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 tags of an object in one go? #122

Open
thibaultmol opened this issue Dec 21, 2024 · 1 comment
Open

Copy tags of an object in one go? #122

thibaultmol opened this issue Dec 21, 2024 · 1 comment
Labels

Comments

@thibaultmol
Copy link

Feel free to close it if you think it's not a good addition.
But I find myself sometimes on osm org wanting to copy all the tags of an object.

But if you just select and CLTR C this:
image

you get:

[amenity](https://wiki.openstreetmap.org/wiki/Key:amenity?uselang=en)
  	[recycling](https://wiki.openstreetmap.org/wiki/Tag:amenity=recycling?uselang=en)


  check_date:recycling
  	2024-02-02


  [operator](https://wiki.openstreetmap.org/wiki/Key:operator?uselang=en)
  	Veolia


  [operator:wikidata](https://wiki.openstreetmap.org/wiki/Key:operator:wikidata?uselang=en)
  	[Q1632461](https://www.wikidata.org/entity/Q1632461?uselang=en)


  [panoramax](https://wiki.openstreetmap.org/wiki/Key:panoramax?uselang=en)
  	[9a52a13a-d871-4eb2-b71c-57e5d1b4b63e](https://api.panoramax.xyz/#focus=pic&pic=9a52a13a-d871-4eb2-b71c-57e5d1b4b63e)


  recycling:paper
  	yes


  [recycling_type](https://wiki.openstreetmap.org/wiki/Key:recycling%20type?uselang=en)
  	[container](https://wiki.openstreetmap.org/wiki/Tag:recycling%20type=container?uselang=en)


  [source](https://wiki.openstreetmap.org/wiki/Key:source?uselang=en)
  	survey+bing


  [survey:date](https://wiki.openstreetmap.org/wiki/Key:survey:date?uselang=en)
  	2024-11-26

While i want the id/josm style of:

amenity=recycling
check_date:recycling=2024-02-02
operator=Veolia
operator:wikidata=Q1632461
panoramax=9a52a13a-d871-4eb2-b71c-57e5d1b4b63e
recycling:paper=yes
recycling_type=container
source=survey+bing
survey:date=2024-11-26
@deevroman
Copy link
Owner

There is a solution, but it's not ideal. In Firefox, you can select table cells while holding ctrl/cmd.

At the output you will get the key/value separated by tabs:

amenity	recycling
check_date:recycling	2024-02-02

JOSM supports this format. But iD and OSM Tags Editor are not.


I can figure out how to implement this in all browsers and with a = separator, but I don't know how long it will take.

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

No branches or pull requests

2 participants