Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

AI for tag completion #1373

Open
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Open

AI for tag completion #1373

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: ColinMarquardt
[Submitted to the original trac issue database at 6.08pm, Tuesday, 2nd December 2008]

(Ok, this is about polishing a rather well-working feature, so has low priority. Some of the suggestions would likely need further tweaking based on user response.)

I imagine the tag completion in the tag editor could be improved if a match was selected from several "buckets" of different priority. If a match is found in more than one bucket, the one with the highest priority would win. (A shortcut would cycle through the matches.)

Priorities could be (from highest to lowest): strings from loaded GPX waypoints; tags that I typed in in this session (prefer the match I typed in most recently over other ones in this session); tags that were downloaded from OSM.

For ways, prefer tags that are on other ways; for nodes, prefer tags that are on other nodes. This would be beneficial to my editing habits even if nothing else was implemented.

For values, complete values that have the same key first, but also match values from other keys (with very low priority though).

Another possibility would be a spatial awareness, i.e. prefer tags that are used close by.

Or... Save all tags that I ever type in myself (cumulated over all editing sessions), and select from this pool. This alone could also be a big improvement (especially if we filter out the name key, as that tends to be unique).

What I'm missing most right now is that Merkaartor seems to only do completion on downloaded tags, but not on my own edits in this session. As a first step, could these be dynamically added to the list of possible matches as I edit along?

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 9.22pm, Wednesday, 3rd December 2008]

Oh, and a match that should be suppressed: don't complete to keys that are already set on the current item (values however can be completed thus).

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 1.19pm, Thursday, 4th December 2008]

I'll see what can be done.

OTOH, you realize that you can pretty much customize your tagging experience the way you want with the Tag Templates, do you?

@openstreetmap-trac
Copy link
Author

Author: ColinMarquardt
[Added to the original trac issue at 11.29pm, Thursday, 4th December 2008]

Replying to [comment:2 koying]:

OTOH, you realize that you can pretty much customize your tagging experience the way you want with the Tag Templates, do you?

Yes, but I guess old habits just die hard :)

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

No branches or pull requests

1 participant