Modify

Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#2417 closed enhancement (wontfix)

Add search presets

Reported by: anonymous Owned by: team
Priority: major Component: Core
Version: latest Keywords: search, presets
Cc: singularita@…

Description

It would be nice to be able to have search presets. Since search support regular expression, I use some search strings to find out data that potentially contain some errors. The expressions are too complicated to retype again, so I keep them in separate text file (for example expression to search for names that are likely to have incorrect capitalisation:

name:" [a-zěščřžýáíéúůďťňó]" highway -name:"^(U|V|Na|Nad|Pod|Za|K|Ke) [A-ZĚŠČŘŽÝÁÍÉÚŮĎŤŇÓÜÖÄ]" -" (náměstí|nábřeží|most|trh|ulička|tunel|hradby|spojka)"

It would be nice to have feature, that allow adding such search string to some presets and invoking them later, it would be much simpler than having to copy search strings from separate file each time I need to use it.

Attachments (0)

Change History (7)

comment:1 Changed 4 years ago by singularita@…

  • Cc singularita@… added

comment:2 Changed 3 years ago by avar

  • Keywords search presets added

comment:3 Changed 3 years ago by anonymous

  • Resolution set to duplicate
  • Status changed from new to closed

comment:4 Changed 3 years ago by anonymous

Closed as duplicate of #4546.

comment:5 Changed 3 years ago by avar

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Not really a dupe of #4546. Presets != toolbar buttons.

comment:6 follow-up: Changed 3 years ago by stoecker

  • Resolution set to wontfix
  • Status changed from reopened to closed

Well, then wontfix. Searches are individual, they are nothing for presets. I would accept a ini-style config extension like regedit for windows does. This is another ticket. so no need to keep this one opened.

comment:7 in reply to: ↑ 6 Changed 3 years ago by avar

Replying to stoecker:

Well, then wontfix. Searches are individual, they are nothing for presets. I would accept a ini-style config extension like regedit for windows does. This is another ticket. so no need to keep this one opened.

Searches aren't always individual. Here's one example where I wished I could have distributed search presets.

The search engine is now powerful enough that it can be used for powerful editing commands. Search presets would enable spreading useful search queries beyond a single JOSM instance.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.