Opened 10 years ago

Last modified 10 years ago

#1373 assigned enhancement

AI for tag completion

Reported by: ColinMarquardt Owned by: koying
Priority: minor Milestone:
Component: merkaartor Version:
Keywords: Cc:

Description

(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?

Change History (3)

comment:1 Changed 10 years ago by ColinMarquardt

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

comment:2 follow-up: Changed 10 years ago by koying

  • Status changed from new to assigned

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?

comment:3 in reply to: ↑ 2 Changed 10 years ago by ColinMarquardt

Replying to 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 :)

Note: See TracTickets for help on using tickets.